Java – Spliterators.AbstractSpliterator Class

Java Spliterators.AbstractSpliterator Class methods, constructors, variables available in Java 8 release are listed below. We will publish example program on each methods ASAP.

Constructors in Java Spliterators.AbstractSpliterator Class

S.No Constructor & Description
1 protected AbstractSpliterator(long est, int additionalCharacteristics)

Creates a spliterator reporting the given estimated size and additionalCharacteristics.

Methods in Java Spliterators.AbstractSpliterator Class

S.No Method & Description
1 int characteristics()

Returns a set of characteristics of this Spliterator and its elements.
2 long estimateSize()

Returns an estimate of the number of elements that would be encountered by a Spliterator.forEachRemaining(java.util.function.Consumer<? super T>) traversal, or returns Long.MAX_VALUE if infinite, unknown, or too expensive to compute.
3 Spliterator<T> trySplit()

If this spliterator can be partitioned, returns a Spliterator covering elements, that will, upon return from this method, not be covered by this Spliterator.

Ask your questions in eHowToNow Forum

Post your technical, non-technical doubts, questions in our site. Get answer as soon as possible, meanwhile you can help others by answering, unanswered questions.
To Ask new Question : Ask Question
Check our existing discussions : Questions & Answers

  1. Java – ThreadPoolExecutor.AbortPolicy Class
  2. Java – Formattable Interface
  3. Java – CopyOnWriteArraySet Class
  4. Java – AbstractCollection Class
  5. Java – Hashtable Class
  6. Java – Collection Interface
  7. java.util.concurrent.atomic Package
  8. Java – DoubleStream.Builder Interface
  9. java.util.concurrent.locks Package
  10. Java – ReentrantReadWriteLock.ReadLock Class
  11. Java – ConcurrentMap Interface
  12. Java – ForkJoinPool Class
  13. Java – PrimitiveIterator.OfDouble Interface
  14. Java – AbstractSet Class
  15. Java – Base64.Decoder Class

Be the first to comment

Leave a Reply