Class IntConsumerRelativeRangeAdapter

  • All Implemented Interfaces:
    RelativeRangeConsumer

    public class IntConsumerRelativeRangeAdapter
    extends java.lang.Object
    implements RelativeRangeConsumer
    Wrapper to use an IntConsumer where a RelativeRangeConsumer is expected.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void acceptAbsent​(int relativePos)
      Consume a single absent value at relativePos.
      void acceptAllAbsent​(int relativeFrom, int relativeTo)
      Consume consecutive absent values in the range [relativeFrom, relativeTo).
      void acceptAllPresent​(int relativeFrom, int relativeTo)
      Consume consecutive present values in the range [relativeFrom, relativeTo).
      void acceptPresent​(int relativePos)
      Consume a single present value at relativePos.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait