Interface CheckedContainer<E>

Type Parameters:
E - the base type of elements in the container.
All Known Implementing Classes:
ArrayVector, ArrayVector.ASCII, ArrayVector.Bytes, ArrayVector.Decimal, ArrayVector.Doubles, ArrayVector.Floats, ArrayVector.Integers, ArrayVector.Longs, ArrayVector.Raw, ArrayVector.Shorts, ArrayVector.UnsignedBytes, ArrayVector.UnsignedIntegers, ArrayVector.UnsignedLongs, ArrayVector.UnsignedShorts, CheckedArrayList, CheckedHashSet, CodeListSet, Column, ConvertedRange, CoordinateOperationSet, DefaultEvaluationMethod.Dates, DefaultParameterDescriptorGroup.AsList, DefaultTreeTable.Node.Children, DerivedSet, DerivedSet.Bijective, DerivedSet.Invertible, DomainRange, EPSGParameterDomain, IdentifiedObjectSet, InstantList, MeasurementRange, NumberRange, PackedVector, PointTree, PropertyInformation, Range, RangeSet, RangeSet.Numeric, TableColumn, TableColumn.Constant, TreeNodeList, UnmodifiableArrayList, UnmodifiableArrayList.SubList, 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 both CheckedContainer and Collection, then the parameterized type shall be the same type. Example:
Since:
0.3
Version:
0.3
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the base type of all elements in this container.
  • Method Details

    • getElementType

      Class<E> getElementType()
      Returns the base type of all elements in this container.
      Returns:
      the element type.