E
- the base type of elements in the container.public interface CheckedContainer<E>
Collection
, but not always.
Constraint:
if a class implements both CheckedContainer
and Collection
,
then the parameterized type shall be the same type. Example:
class MyList<E> extends AbstractList<E> implements CheckedContainer<E> { ... }
Defined in the sis-utility
module
Modifier and Type | Method and Description |
---|---|
Class<E> |
getElementType()
Returns the base type of all elements in this container.
|
Copyright © 2010–2017 The Apache Software Foundation. All rights reserved.