Package com.volantis.shared.iteration

Examples of com.volantis.shared.iteration.ReadOnlyCollectionIterator


    private boolean categoriesInitialised;

    public Iterator categories() {
        if (!categoriesInitialised) {
            Iterator categories = new ReadOnlyCollectionIterator(
                    this.categories);
            while (categories.hasNext()) {
                Category category = (Category) categories.next();
                category.initalize();
            }
            categoriesInitialised = true;
        }

        return new ReadOnlyCollectionIterator(categories);
    }
View Full Code Here


    /**
     *
     * @return an iterator over a collection of {@link TypeDeclaration}s.
     */
    public Iterator types() {
        return new ReadOnlyCollectionIterator(types);
    }
View Full Code Here

public class Structure extends Type {

    private List fields;

    public Iterator fields() {
        return new ReadOnlyCollectionIterator(fields);
    }
View Full Code Here

    public String getDeviceName() {
        return deviceName;
    }

    public Iterator children() {
        return new ReadOnlyCollectionIterator(children);
    }
View Full Code Here

public class PolicySet {

    private List policies;

    public Iterator entries() {
         return new ReadOnlyCollectionIterator(policies);
    }
View Full Code Here

    public String getDeviceName() {
        return deviceName;
    }

    public Iterator numbers() {
        return new ReadOnlyCollectionIterator(numbers);
    }
View Full Code Here

    public String getInherit() {
        return inherit;
    }

    public Iterator values() {
        return new ReadOnlyCollectionIterator(values);
    }
View Full Code Here

    public Iterator values() {
        return new ReadOnlyCollectionIterator(values);
    }

    public Iterator fields() {
        return new ReadOnlyCollectionIterator(fields);
    }
View Full Code Here

    private Map deviceNameToEntryMap;

    public Iterator entries() {

        return new ReadOnlyCollectionIterator(entries);
    }
View Full Code Here

    private Map deviceNameToEntryMap;

    public Iterator entries() {

        return new ReadOnlyCollectionIterator(entries);
    }
View Full Code Here

TOP

Related Classes of com.volantis.shared.iteration.ReadOnlyCollectionIterator

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.