I - type of the itemspublic interface FastItemIndex<I> extends ItemIndex<I>
| Modifier and Type | Method and Description |
|---|---|
default boolean |
containsItem(I i)
Checks whether the index contains an item.
|
default IntStream |
getAllIidx()
Gets all the indices of the items.
|
default Stream<I> |
getAllItems()
Retrieves a stream of the indexed items.
|
I |
iidx2item(int iidx)
Returns the item represented with the index.
|
default Tuple2od<I> |
iidx2item(Tuple2id tuple)
Applies FastItemIndex::iidx2item to the first element of the tuple.
|
default <V> org.jooq.lambda.tuple.Tuple2<I,V> |
iidx2item(Tuple2io<V> tuple)
Applies FastItemIndex::iidx2item to the first element of the tuple.
|
int |
item2iidx(I i)
Returns the index assigned to the item.
|
default <V> Tuple2io<V> |
item2iidx(org.jooq.lambda.tuple.Tuple2<I,V> tuple)
Applies FastItemIndex::item2iidx to the first element of the tuple.
|
default Tuple2id |
item2iidx(Tuple2od<I> tuple)
Applies FastItemIndex::item2iidx to the first element of the tuple.
|
default boolean containsItem(I i)
ItemIndexcontainsItem in interface ItemIndex<I>i - itemdefault Stream<I> getAllItems()
ItemIndexgetAllItems in interface ItemIndex<I>default IntStream getAllIidx()
int item2iidx(I i)
i - itemI iidx2item(int iidx)
iidx - item indexdefault <V> Tuple2io<V> item2iidx(org.jooq.lambda.tuple.Tuple2<I,V> tuple)
V - type of valuetuple - item-value tupledefault <V> org.jooq.lambda.tuple.Tuple2<I,V> iidx2item(Tuple2io<V> tuple)
V - type of valuetuple - iidx-value tupledefault Tuple2id item2iidx(Tuple2od<I> tuple)
tuple - item-double tupleCopyright © 2016. All rights reserved.