接口的使用
org.apache.pulsar.common.util.collections.ConcurrentLongPairSet.LongPairConsumer
程序包
说明
Set of different collections working in the concurrent environment.
-
org.apache.pulsar.common.util.collections中ConcurrentLongPairSet.LongPairConsumer的使用
修饰符和类型方法说明voidConcurrentLongPairSet.forEach(ConcurrentLongPairSet.LongPairConsumer processor) Iterate over all the elements in the set and apply the provided function.voidConcurrentSortedLongPairSet.forEach(ConcurrentLongPairSet.LongPairConsumer processor) voidLongPairSet.forEach(ConcurrentLongPairSet.LongPairConsumer processor) ExecuteConcurrentLongPairSet.LongPairConsumerprocessor for each entry in the set.