Package dev.enola.data
Class RepositoryBuilder.RepositoryImpl<T>
java.lang.Object
dev.enola.data.RepositoryBuilder.RepositoryImpl<T>
- All Implemented Interfaces:
Provider<String,,T> ProviderFromIRI<T>,Repository<T>
- Enclosing class:
RepositoryBuilder<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable TGet.list()list() returns Ts directly (not just the IRIs, likeRepository.listIRI()).listIRI()toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface dev.enola.data.Repository
stream
-
Constructor Details
-
RepositoryImpl
-
-
Method Details
-
listIRI
- Specified by:
listIRIin interfaceRepository<T>
-
get
Description copied from interface:ProviderGet. -
list
Description copied from interface:Repositorylist() returns Ts directly (not just the IRIs, likeRepository.listIRI()).This default implementation here just combines
Repository.listIRI()andProviderFromIRI.get(String). Your subclass may be able to provide a more efficient and more "direct" implementation?- Specified by:
listin interfaceRepository<T>
-
toString
-