| Method from org.apache.commons.collections.primitives.adapters.AbstractDoubleListList Detail: |
public void add(int index,
Object element) {
getDoubleList().add(index,((Number)element).doubleValue());
}
|
public boolean addAll(int index,
Collection c) {
return getDoubleList().addAll(index,CollectionDoubleCollection.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 Double(getDoubleList().get(index));
}
|
protected final DoubleCollection getDoubleCollection() {
return getDoubleList();
}
|
abstract protected DoubleList getDoubleList()
|
public int hashCode() {
return getDoubleList().hashCode();
}
|
public int indexOf(Object element) {
return getDoubleList().indexOf(((Number)element).doubleValue());
}
|
public int lastIndexOf(Object element) {
return getDoubleList().lastIndexOf(((Number)element).doubleValue());
}
|
public ListIterator listIterator() {
return DoubleListIteratorListIterator.wrap(getDoubleList().listIterator());
}
|
public ListIterator listIterator(int index) {
return DoubleListIteratorListIterator.wrap(getDoubleList().listIterator(index));
}
|
public Object remove(int index) {
return new Double(getDoubleList().removeElementAt(index));
}
|
public Object set(int index,
Object element) {
return new Double(getDoubleList().set(index, ((Number)element).doubleValue() ));
}
|
public List subList(int fromIndex,
int toIndex) {
return DoubleListList.wrap(getDoubleList().subList(fromIndex,toIndex));
}
|