Class ConstSpliterator.OfRef<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private T value  
      • Fields inherited from interface java.util.Spliterator

        CONCURRENT, DISTINCT, IMMUTABLE, NONNULL, ORDERED, SIZED, SORTED, SUBSIZED
    • Constructor Summary

      Constructors 
      Constructor Description
      OfRef​(T value, long count, boolean ordered)  
    • Field Detail

      • value

        private final T value
    • Constructor Detail

      • OfRef

        OfRef​(T value,
              long count,
              boolean ordered)
    • Method Detail

      • tryAdvance

        public boolean tryAdvance​(java.util.function.Consumer<? super T> action)
      • forEachRemaining

        public void forEachRemaining​(java.util.function.Consumer<? super T> action)