Class IteratorPartition


  • public class IteratorPartition
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      IteratorPartition​(java.util.PrimitiveIterator.OfLong iterator, long length)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void consume​(java.util.function.LongConsumer consumer)  
      long length()  
      long[] materialize()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IteratorPartition

        public IteratorPartition​(java.util.PrimitiveIterator.OfLong iterator,
                                 long length)
    • Method Detail

      • length

        public long length()
      • consume

        public void consume​(java.util.function.LongConsumer consumer)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • materialize

        @TestOnly
        public long[] materialize()