Class EmptySequence

  • All Implemented Interfaces:
    Sequence<java.lang.Object>, java.lang.Iterable<java.lang.Object>

    public class EmptySequence
    extends AbstractSequence<java.lang.Object>
    An empty sequence
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private EmptySequence()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int hintSize()  
      java.util.Iterator<java.lang.Object> iterator()  
      Collector newCollector​(int size)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • EmptySequence

        private EmptySequence()
    • Method Detail

      • newCollector

        public Collector newCollector​(int size)
      • hintSize

        public int hintSize()
      • iterator

        public java.util.Iterator<java.lang.Object> iterator()