Package com.illumon.iris.db.v2.utils
Interface LongRangeConsumer
- All Known Subinterfaces:
Index.SequentialBuilder
,TreeIndexImpl.RandomBuilder
,TreeIndexImpl.SequentialBuilder
- All Known Implementing Classes:
AbstractTreeIndexImplRandomBuilder
,AdaptiveBuilder
,MixedBuilder
,RspBitmap.RandomBuilder
,RspBitmapSequentialBuilder
,TreeIndexImplRandomBuilder
,TreeIndexImplSequentialBuilder
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LongRangeConsumer
-
Method Summary
Modifier and Type Method Description void
accept(long first, long last)
Provides a range to this consumer.
-
Method Details
-
accept
void accept(long first, long last)Provides a range to this consumer. As consecutive calls to accept are made, delivered ranges are assumed to be non overlapping and increasing in their first value; in particular, the first of a range has to be strictly greater than the last of the previous range.- Parameters:
first
- the range first value.last
- the range last value.
-