Class Stream<T>

  • Type Parameters:
    T -

    public class Stream<T>
    extends java.lang.Object
    Pre-Java-8-compatible facade for Java 8's java.util.stream.Stream class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.Class<?> CLASS  
      private java.lang.Object delegate  
      private static java.lang.reflect.Method METHOD_forEach  
    • Constructor Summary

      Constructors 
      Constructor Description
      Stream​(java.lang.Object delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void forEach​(Consumer<? super T> action)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CLASS

        private static final java.lang.Class<?> CLASS
      • METHOD_forEach

        private static final java.lang.reflect.Method METHOD_forEach
      • delegate

        private final java.lang.Object delegate
    • Constructor Detail

      • Stream

        public Stream​(java.lang.Object delegate)
    • Method Detail

      • forEach

        public void forEach​(Consumer<? super T> action)