Class RewindableIterator.Cache<A>

  • Enclosing class:
    RewindableIterator<A>

    private static class RewindableIterator.Cache<A>
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private A cache  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Cache()  
    • Field Detail

      • cache

        private A cache
    • Constructor Detail

      • Cache

        private Cache()
    • Method Detail

      • store

        public void store​(A a)
      • retrieve

        public A retrieve()
      • isEmpty

        public boolean isEmpty()
      • isNotEmpty

        public boolean isNotEmpty()