| Method from org.apache.commons.collections.primitives.adapters.AbstractCollectionFloatCollection Detail: |
public boolean add(float element) {
return getCollection().add(new Float(element));
}
|
public boolean addAll(FloatCollection c) {
return getCollection().addAll(FloatCollectionCollection.wrap(c));
}
|
public void clear() {
getCollection().clear();
}
|
public boolean contains(float element) {
return getCollection().contains(new Float(element));
}
|
public boolean containsAll(FloatCollection c) {
return getCollection().containsAll(FloatCollectionCollection.wrap(c));
}
|
abstract protected Collection getCollection()
|
public boolean isEmpty() {
return getCollection().isEmpty();
}
|
public FloatIterator iterator() {
return IteratorFloatIterator.wrap(getCollection().iterator());
}
|
public boolean removeAll(FloatCollection c) {
return getCollection().removeAll(FloatCollectionCollection.wrap(c));
}
|
public boolean removeElement(float element) {
return getCollection().remove(new Float(element));
}
|
public boolean retainAll(FloatCollection c) {
return getCollection().retainAll(FloatCollectionCollection.wrap(c));
}
|
public int size() {
return getCollection().size();
}
|
public float[] toArray() {
Object[] src = getCollection().toArray();
float[] dest = new float[src.length];
for(int i=0;i< src.length;i++) {
dest[i] = ((Number)(src[i])).floatValue();
}
return dest;
}
|
public float[] toArray(float[] dest) {
Object[] src = getCollection().toArray();
if(dest.length < src.length) {
dest = new float[src.length];
}
for(int i=0;i< src.length;i++) {
dest[i] = ((Number)(src[i])).floatValue();
}
return dest;
}
|
public String toString() {
return getCollection().toString();
}
|