org.geotoolkit.util.collection
Interface CheckedContainer<E>

Type Parameters:
E - The base type of elements in the container.
All Known Subinterfaces:
CheckedCollection<E>
All Known Implementing Classes:
CheckedArrayList, CheckedHashSet, DerivedSet, RangeSet, UnmodifiableArrayList, Vector, WeakHashSet

public interface CheckedContainer<E>

A container that ensures that all elements are assignable to a given base type. Checked containers are usually checked collections, but are not limited to collections.

Since:
3.20
Version:
3.20
Author:
Martin Desruisseaux (Geomatys)
Module:
utility/geotk-utility (download)    View source code for this class

Method Summary
 Class<? extends E> getElementType()
          Returns the base type of all elements in this container.
 

Method Detail

getElementType

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

Returns:
The element type.


Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.