Class FastCursorLoops.OneCursorLoop<A>

  • All Implemented Interfaces:
    java.util.function.LongConsumer
    Enclosing class:
    FastCursorLoops

    public static class FastCursorLoops.OneCursorLoop<A>
    extends java.lang.Object
    implements java.util.function.LongConsumer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.function.Consumer<A> action  
      private Cursor<A> cursorA  
    • Constructor Summary

      Constructors 
      Constructor Description
      OneCursorLoop​(java.util.function.Consumer<A> action, Cursor<A> cursorA)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(long n)  
      • 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.LongConsumer

        andThen
    • Field Detail

      • action

        private final java.util.function.Consumer<A> action
      • cursorA

        private final Cursor<A> cursorA
    • Constructor Detail

      • OneCursorLoop

        public OneCursorLoop​(java.util.function.Consumer<A> action,
                             Cursor<A> cursorA)
    • Method Detail

      • accept

        public void accept​(long n)
        Specified by:
        accept in interface java.util.function.LongConsumer