| Method from org.apache.commons.collections.primitives.adapters.AbstractFloatListList Detail: |
public void add(int index,
Object element) {
getFloatList().add(index,((Number)element).floatValue());
}
|
public boolean addAll(int index,
Collection c) {
return getFloatList().addAll(index,CollectionFloatCollection.wrap(c));
}
|
public boolean equals(Object obj) {
if(obj instanceof List) {
List that = (List)obj;
if(this == that) {
return true;
} else if(this.size() != that.size()) {
return false;
} else {
Iterator thisiter = iterator();
Iterator thatiter = that.iterator();
while(thisiter.hasNext()) {
Object thiselt = thisiter.next();
Object thatelt = thatiter.next();
if(null == thiselt ? null != thatelt : !(thiselt.equals(thatelt))) {
return false;
}
}
return true;
}
} else {
return false;
}
}
|
public Object get(int index) {
return new Float(getFloatList().get(index));
}
|
protected final FloatCollection getFloatCollection() {
return getFloatList();
}
|
abstract protected FloatList getFloatList()
|
public int hashCode() {
return getFloatList().hashCode();
}
|
public int indexOf(Object element) {
return getFloatList().indexOf(((Number)element).floatValue());
}
|
public int lastIndexOf(Object element) {
return getFloatList().lastIndexOf(((Number)element).floatValue());
}
|
public ListIterator listIterator() {
return FloatListIteratorListIterator.wrap(getFloatList().listIterator());
}
|
public ListIterator listIterator(int index) {
return FloatListIteratorListIterator.wrap(getFloatList().listIterator(index));
}
|
public Object remove(int index) {
return new Float(getFloatList().removeElementAt(index));
}
|
public Object set(int index,
Object element) {
return new Float(getFloatList().set(index, ((Number)element).floatValue() ));
}
|
public List subList(int fromIndex,
int toIndex) {
return FloatListList.wrap(getFloatList().subList(fromIndex,toIndex));
}
|