接口的使用
org.apache.pulsar.common.util.collections.LongPairRangeSet.RangeProcessor
程序包
说明
Set of different collections working in the concurrent environment.
-
org.apache.pulsar.common.util.collections中LongPairRangeSet.RangeProcessor的使用
修饰符和类型方法说明voidConcurrentOpenLongPairRangeSet.forEach(LongPairRangeSet.RangeProcessor<T> action) voidConcurrentOpenLongPairRangeSet.forEach(LongPairRangeSet.RangeProcessor<T> action, LongPairRangeSet.LongPairConsumer<? extends T> consumerParam) voidLongPairRangeSet.DefaultRangeSet.forEach(LongPairRangeSet.RangeProcessor<T> action) voidLongPairRangeSet.DefaultRangeSet.forEach(LongPairRangeSet.RangeProcessor<T> action, LongPairRangeSet.LongPairConsumer<? extends T> outerConsumer) voidLongPairRangeSet.forEach(LongPairRangeSet.RangeProcessor<T> action) Performs the given action for each entry in this map until all entries have been processed or action returns "false".voidLongPairRangeSet.forEach(LongPairRangeSet.RangeProcessor<T> action, LongPairRangeSet.LongPairConsumer<? extends T> consumer) Performs the given action for each entry in this map until all entries have been processed or action returns "false".