Package bpntojava.model.stafftable

Examples of bpntojava.model.stafftable.Usable


     *
     * @param i Usablenummer
     * @return String-Array
     */
    private String[] fillBoxes(int i) {
        Usable usable = usables.get(i);
        String[] toReturn;
        toReturn = new String[usable.size()];
        for (int j = 0; j < usable.size(); j++) {
            toReturn[j] = usable.get(j);
        }
        return toReturn;
    }
View Full Code Here


    /**
     * Artikel auf reduzieren auf ein paar bestimmte.
     */
    private void reduceArticle() {
        Usable article = stafftable.getUsables().get(2);
        LinkedList<String> toAdd = new LinkedList();
        LinkedList<String> articleList = this.getArticleList();
        for (int i = 0; i < article.size(); i++) {
            for (String firstcheck : articleList) {
                String toCheck = firstcheck.split(" ")[0];
                if (article.get(i).startsWith(toCheck)) {
                    toAdd.add(firstcheck);
                }
            }
        }
        article.setNewList(toAdd);
    }
View Full Code Here

TOP

Related Classes of bpntojava.model.stafftable.Usable

Copyright © 2018 www.massapicom. 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.