Package eu.flatworld.cstrader.data

Examples of eu.flatworld.cstrader.data.System.ordinal()


            lp.setLocation(system, sector, grd);
            locationsProperties.put(itemLine.getItem().getName(), lp);

            itemLine.setLocation(l);
            if (itemLine.isForSale()) {
                newpls[system.ordinal()].getForSale().add(itemLine);
            } else {
                newpls[system.ordinal()].getWanted().add(itemLine);
            }
        }
        return newpls;
View Full Code Here


            itemLine.setLocation(l);
            if (itemLine.isForSale()) {
                newpls[system.ordinal()].getForSale().add(itemLine);
            } else {
                newpls[system.ordinal()].getWanted().add(itemLine);
            }
        }
        return newpls;
    }
View Full Code Here

                continue;
            }
            Matcher m1 = pat1.matcher(row);
            if (m1.find()) {
                cursys = System.valueOf(m1.group(2));
                curpl = newpls[cursys.ordinal()];
            }
            if (row.toLowerCase().contains("for sale at")) {
                //if (!columns[0].toLowerCase().contains(galaxy.name().toLowerCase())) {
                //    throw new Exception("You have pasted a pricelist of a different galaxy.");
                //}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.