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

Type Parameters:
E - The base type of elements in the collection.
All Superinterfaces:
CheckedContainer<E>, Collection<E>, Iterable<E>
All Known Implementing Classes:
CheckedArrayList, CheckedHashSet, DerivedSet, RangeSet, UnmodifiableArrayList, Vector, WeakHashSet

Deprecated. Replaced by CheckedContainer.

@Deprecated
public interface CheckedCollection<E>
extends Collection<E>, CheckedContainer<E>

Collection that ensures that all elements are assignable to a given base type. The base type is usually specified at collection construction time.

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

Method Summary
 Class<? extends E> getElementType()
          Deprecated. Returns the base type of all elements in this collection.
 
Methods inherited from interface Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Method Detail

getElementType

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

Specified by:
getElementType in interface CheckedContainer<E>
Returns:
The element type.


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