Class PropertyIteratorAdapter

    • Constructor Detail

      • PropertyIteratorAdapter

        public PropertyIteratorAdapter​(RangeIterator iterator)
        Creates an adapter for the given RangeIterator.
        Parameters:
        iterator - iterator of Property instances
      • PropertyIteratorAdapter

        public PropertyIteratorAdapter​(java.util.Iterator iterator)
        Creates an adapter for the given Iterator.
        Parameters:
        iterator - iterator of Property instances
      • PropertyIteratorAdapter

        public PropertyIteratorAdapter​(java.util.Iterator iterator,
                                       long size)
      • PropertyIteratorAdapter

        public PropertyIteratorAdapter​(java.util.Collection collection)
        Creates an iterator for the given collection.
        Parameters:
        collection - collection of Property instances
    • Method Detail

      • nextProperty

        public Property nextProperty()
        Returns the next property.
        Specified by:
        nextProperty in interface PropertyIterator
        Returns:
        next property
        Throws:
        java.util.NoSuchElementException - if there is no next property