Class UniformRandomProviderSupport.ProviderSpliterator

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long end
      The upper limit of the range.
      protected long position
      The current position in the range.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProviderSpliterator​(long start, long end)  
    • Field Detail

      • position

        protected long position
        The current position in the range.
      • end

        protected final long end
        The upper limit of the range.
    • Constructor Detail

      • ProviderSpliterator

        ProviderSpliterator​(long start,
                            long end)
        Parameters:
        start - Start position of the stream (inclusive).
        end - Upper limit of the stream (exclusive).
    • Method Detail

      • estimateSize

        public long estimateSize()
      • characteristics

        public int characteristics()