Class ListConsumer<T,​R>

  • All Implemented Interfaces:
    ISeqConsumer<T>, java.util.function.Consumer<T>

    public class ListConsumer<T,​R>
    extends java.lang.Object
    implements ISeqConsumer<T>
    • Constructor Summary

      Constructors 
      Constructor Description
      ListConsumer​(java.util.function.Function<T,​R> convert)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(T t)  
      java.util.List<R> getResult()  
      void init​(int count)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Constructor Detail

      • ListConsumer

        public ListConsumer​(java.util.function.Function<T,​R> convert)
    • Method Detail

      • init

        public void init​(int count)
        Specified by:
        init in interface ISeqConsumer<T>
      • accept

        public void accept​(T t)
        Specified by:
        accept in interface java.util.function.Consumer<T>
      • getResult

        public java.util.List<R> getResult()