Interface CheckedContainer<E>
- Type Parameters:
E- the base type of elements in the container.
- All Known Implementing Classes:
CheckedArrayList, CheckedHashSet, CodeListSet, EPSGParameterDomain, IdentifiedObjectSet, MeasurementRange, NumberRange, PointTree, Range, RangeSet, TableColumn, UnmodifiableArrayList, WeakHashSet
public interface CheckedContainer<E>
A container that ensures that all elements are assignable to a given base type.
Checked containers are usually
Collection, but not always.
Constraint
If a class implements bothCheckedContainer and Collection,
then the parameterized type shall be the same type. Example:
- Since:
- 0.3
- Version:
- 0.3
- Author:
- Martin Desruisseaux (IRD, Geomatys)
-
Method Summary
Modifier and TypeMethodDescriptionReturns the base type of all elements in this container.
-
Method Details
-
getElementType
-