Package io.deephaven.util.datastructures
Interface LongRangeConsumer
- All Known Subinterfaces:
OrderedLongSet.BuilderRandom
,OrderedLongSet.BuilderSequential
,RowSetBuilderSequential
- All Known Implementing Classes:
AdaptiveOrderedLongSetBuilderRandom
,BasicRowSetBuilderSequential
,MixedBuilderRandom
,OrderedLongSetBuilderSequential
,RspBitmap.BuilderRandom
,RspBitmapBuilderSequential
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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.
-