T
- primitive-type stored in the collection, if necessary, in boxed form e.g. Integer,
Double etc.public interface PrimitiveBeanCollection<T> extends Iterable<T>
String
s.Modifier and Type | Method and Description |
---|---|
void |
add(T element)
Add an element to the collection.
|
boolean |
contains(T element)
Whether the collection contains a particular element?
|
boolean |
isEmpty()
Whether the collection is empty or not.
|
forEach, iterator, spliterator
void add(T element)
element
- the element to add.boolean contains(T element)
element
- the element to search forboolean isEmpty()
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.