Interface CollectionAccessor<B>
- Type Parameters:
B-
- All Known Implementing Classes:
CollectionAccessorFromCollection, CollectionAccessorFromCollectionValue, CollectionAccessorFromConverter, CollectionAccessorFromSingleValuedAccessor, CollectionAccessorSingleton
public interface CollectionAccessor<B>
Not sure if this this should really inherit from single valued accessor
-> Maybe rename to BasicAccessor or SimpleAccessor
- Author:
- raven May 2, 2018
-
Method Summary
Modifier and TypeMethodDescriptiondefault <F> CollectionAccessor<F> get()com.google.common.collect.Range<Long> Returns the multiplicity of the underlying collection This is the minimum and maximum number of items this collection may hold.
-
Method Details
-
getMultiplicity
com.google.common.collect.Range<Long> getMultiplicity()Returns the multiplicity of the underlying collection This is the minimum and maximum number of items this collection may hold. If a minimum exists, it is assumed that the collection's iterator yields those immutable entries first.- Returns:
-
get
Collection<B> get() -
convert
-