Package org.aksw.commons.rx.lookup
Class MapServiceFromListService<C,T,K,V>
java.lang.Object
org.aksw.commons.rx.lookup.MapServiceFromListService<C,T,K,V>
- All Implemented Interfaces:
ListService<C,,Map.Entry<K, V>> MapService<C,K, V>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMapServiceFromListService(ListService<C, T> listService, Function<? super T, ? extends K> itemToKey, Function<? super T, ? extends V> itemToValue) -
Method Summary
Modifier and TypeMethodDescriptionasLookupService(Function<? super Iterable<? extends K>, C> keysToFilter) createPaginator(C concept) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.aksw.commons.rx.lookup.ListService
streamDataMethods inherited from interface org.aksw.commons.rx.lookup.MapService
fetchCount, fetchCount, fetchData, fetchData, fetchData, transformValues
-
Field Details
-
listService
-
itemToKey
-
itemToValue
-
-
Constructor Details
-
MapServiceFromListService
-
-
Method Details
-
createPaginator
- Specified by:
createPaginatorin interfaceListService<C,T> - Specified by:
createPaginatorin interfaceMapService<C,T, K>
-
asLookupService
-