Class CuckooObjectMap.Keys<K>

  • All Implemented Interfaces:
    java.lang.Iterable<K>, java.util.Iterator<K>
    Enclosing class:
    CuckooObjectMap<K,​V>

    public static class CuckooObjectMap.Keys<K>
    extends java.lang.Object
    implements java.lang.Iterable<K>, java.util.Iterator<K>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.util.Iterator<K> iterator()  
      K next()  
      java.util.ArrayList<K> toArray()
      Returns a new array containing the remaining keys.
      • Methods inherited from class java.lang.Object

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

        forEach, spliterator
      • Methods inherited from interface java.util.Iterator

        forEachRemaining, remove
    • Method Detail

      • hasNext

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

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

        public java.util.Iterator<K> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<K>
      • toArray

        public java.util.ArrayList<K> toArray()
        Returns a new array containing the remaining keys.