Class NonBlockingHashMap.SnapshotK

  • All Implemented Interfaces:
    java.util.Enumeration<TypeK>, java.util.Iterator<TypeK>
    Enclosing class:
    NonBlockingHashMap<TypeK,​TypeV>

    private class NonBlockingHashMap.SnapshotK
    extends java.lang.Object
    implements java.util.Iterator<TypeK>, java.util.Enumeration<TypeK>
    • Constructor Summary

      Constructors 
      Constructor Description
      SnapshotK()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasMoreElements()  
      boolean hasNext()  
      TypeK next()  
      TypeK nextElement()  
      void remove()  
      • Methods inherited from class java.lang.Object

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

        asIterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • SnapshotK

        public SnapshotK()
    • Method Detail

      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<TypeK>
      • next

        public TypeK next()
        Specified by:
        next in interface java.util.Iterator<TypeK>
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<TypeK>
      • nextElement

        public TypeK nextElement()
        Specified by:
        nextElement in interface java.util.Enumeration<TypeK>
      • hasMoreElements

        public boolean hasMoreElements()
        Specified by:
        hasMoreElements in interface java.util.Enumeration<TypeK>