public class IntConsumerRelativeRangeAdapter extends java.lang.Object implements RelativeRangeConsumer
| 构造器和说明 |
|---|
IntConsumerRelativeRangeAdapter(int start,
IntConsumer lc) |
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
public IntConsumerRelativeRangeAdapter(int start,
IntConsumer lc)
public void acceptPresent(int relativePos)
RelativeRangeConsumeracceptPresent 在接口中 RelativeRangeConsumerpublic void acceptAbsent(int relativePos)
RelativeRangeConsumeracceptAbsent 在接口中 RelativeRangeConsumerpublic void acceptAllPresent(int relativeFrom,
int relativeTo)
RelativeRangeConsumeracceptAllPresent 在接口中 RelativeRangeConsumerpublic void acceptAllAbsent(int relativeFrom,
int relativeTo)
RelativeRangeConsumeracceptAllAbsent 在接口中 RelativeRangeConsumer