I
- type of the itemsF
- type of the featuresV
- type of the information about item-feature pairspublic interface FeatureData<I,F,V> extends ItemIndex<I>, FeatureIndex<F>
Modifier and Type | Method and Description |
---|---|
Stream<org.jooq.lambda.tuple.Tuple2<I,V>> |
getFeatureItems(F f)
Returns a stream of items with the feature.
|
Stream<F> |
getFeaturesWithItems()
Returns a stream of features with items.
|
Stream<org.jooq.lambda.tuple.Tuple2<F,V>> |
getItemFeatures(I i)
Returns a stream of features of the item.
|
Stream<I> |
getItemsWithFeatures()
Returns a stream of items with features.
|
int |
numFeatures(I i)
Returns the number of features of the item.
|
int |
numFeaturesWithItems()
Returns the number of features with items.
|
int |
numItems(F f)
Returns the number of items with the feature.
|
int |
numItemsWithFeatures()
Returns the number of items with features.
|
containsItem, getAllItems, numItems
containsFeature, getAllFeatures, numFeatures
int numItemsWithFeatures()
int numFeaturesWithItems()
Stream<I> getItemsWithFeatures()
Stream<F> getFeaturesWithItems()
Stream<org.jooq.lambda.tuple.Tuple2<I,V>> getFeatureItems(F f)
f
- featureStream<org.jooq.lambda.tuple.Tuple2<F,V>> getItemFeatures(I i)
i
- itemint numFeatures(I i)
i
- itemint numItems(F f)
f
- featureCopyright © 2016. All rights reserved.