Class ReadOnlyIterableWrapper.ReadOnlyIteratorWrapper

java.lang.Object
com.gigaspaces.internal.utils.collections.ReadOnlyIterableWrapper.ReadOnlyIteratorWrapper
All Implemented Interfaces:
Iterator<T>
Enclosing class:
ReadOnlyIterableWrapper<T>

public class ReadOnlyIterableWrapper.ReadOnlyIteratorWrapper extends Object implements Iterator<T>
  • Constructor Details

    • ReadOnlyIteratorWrapper

      public ReadOnlyIteratorWrapper(Iterator<T> iterator)
  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>
    • remove

      public void remove()
      Specified by:
      remove in interface Iterator<T>