Class ZoneMembers

  • All Implemented Interfaces:
    java.io.Serializable, java.util.Iterator<AssetElement>

    public class ZoneMembers
    extends java.lang.Object
    implements java.util.Iterator<AssetElement>, java.io.Serializable
    An iterator to walk through the list of assets assigned to a zone.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ZoneMembers()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()
      The iterator can only be used once to step through the elements.
      AssetElement next()
      Return the next element in the iteration.
      void remove()
      Remove the current element in the iterator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • ZoneMembers

        public ZoneMembers()
    • Method Detail

      • hasNext

        public boolean hasNext()
        The iterator can only be used once to step through the elements. This method returns a boolean to indicate if it has got to the end of the list yet.
        Specified by:
        hasNext in interface java.util.Iterator<AssetElement>
        Returns:
        boolean indicating whether there are more elements.
      • next

        public AssetElement next()
        Return the next element in the iteration.
        Specified by:
        next in interface java.util.Iterator<AssetElement>
        Returns:
        next element object that has been cloned.
      • remove

        public void remove()
        Remove the current element in the iterator. (Null implementation since this iterator works off of cached elements from the property (metadata) server.)
        Specified by:
        remove in interface java.util.Iterator<AssetElement>