U
- type of the userspublic interface FastUserIndex<U> extends UserIndex<U>
Modifier and Type | Method and Description |
---|---|
default boolean |
containsUser(U u)
Checks whether the index contains a user.
|
default IntStream |
getAllUidx()
Gets all the indices of the users.
|
default Stream<U> |
getAllUsers()
Retrieves a stream of the indexed users.
|
U |
uidx2user(int uidx)
Returns the user represented with the index.
|
default Tuple2od<U> |
uidx2user(Tuple2id tuple)
Applies FastUserIndex::uidx2user to the first element of the tuple.
|
default <V> org.jooq.lambda.tuple.Tuple2<U,V> |
uidx2user(Tuple2io<V> tuple)
Applies FastUserIndex::uidx2user to the first element of the tuple.
|
default <V> Tuple2io<V> |
user2uidx(org.jooq.lambda.tuple.Tuple2<U,V> tuple)
Applies FastUserIndex::user2uidx to the first element of the tuple.
|
default Tuple2id |
user2uidx(Tuple2od<U> tuple)
Applies FastUserIndex::user2uidx to the first element of the tuple.
|
int |
user2uidx(U u)
Returns the index assigned to the user.
|
default boolean containsUser(U u)
UserIndex
containsUser
in interface UserIndex<U>
u
- userdefault Stream<U> getAllUsers()
UserIndex
getAllUsers
in interface UserIndex<U>
default IntStream getAllUidx()
int user2uidx(U u)
u
- userU uidx2user(int uidx)
uidx
- user indexdefault <V> Tuple2io<V> user2uidx(org.jooq.lambda.tuple.Tuple2<U,V> tuple)
V
- type of valuetuple
- user-value tupledefault <V> org.jooq.lambda.tuple.Tuple2<U,V> uidx2user(Tuple2io<V> tuple)
V
- type of valuetuple
- uidx-value tupledefault Tuple2id user2uidx(Tuple2od<U> tuple)
tuple
- user-double tupleCopyright © 2016. All rights reserved.