TDoubleArrayList implements Externalizable, Cloneable { public double set(int offset, double val) { return delegate.set(offset, val); } TDoubleArrayList();  TDoubleArrayList(gnu.trove.list.array.TDoubleArrayList delegate);  TDoubleArrayList(int capacity);  TDoubleArrayList(double[] values); double[] toNativeArray(); @Override @SuppressWarnings("squid:S2975") // Must override clone TDoubleArrayList clone(); boolean add(double val); void add(double[] vals, int offset, int length); void add(double[] vals); boolean addAll(Collection<? extends Double> arg0); boolean addAll(double[] arg0); boolean addAll(TDoubleCollection arg0); int binarySearch(double arg0, int arg1, int arg2); int binarySearch(double value); void clear(); void clear(int capacity); boolean contains(double value); boolean containsAll(Collection<?> arg0); boolean containsAll(double[] arg0); boolean containsAll(TDoubleCollection arg0); void ensureCapacity(int arg0); @Override boolean equals(Object arg0); void fill(double val); void fill(int fromIndex, int toIndex, double val); boolean forEach(TDoubleProcedure arg0); boolean forEachDescending(TDoubleProcedure arg0); double get(int offset); double getNoEntryValue(); double getQuick(int offset); TDoubleList grep(TDoubleProcedure arg0); @Override int hashCode(); int indexOf(double value); int indexOf(int arg0, double arg1); void insert(int offset, double value); void insert(int offset, double[] values, int valOffset, int len); void insert(int offset, double[] values); TDoubleList inverseGrep(TDoubleProcedure arg0); boolean isEmpty(); TDoubleIterator iterator(); int lastIndexOf(double value); int lastIndexOf(int arg0, double arg1); double max(); double min(); @Override void readExternal(ObjectInput arg0); boolean remove(double arg0); void remove(int offset, int length); boolean removeAll(Collection<?> arg0); boolean removeAll(double[] arg0); boolean removeAll(TDoubleCollection arg0); double removeAt(int offset); double replace(int offset, double val); void reset(); void resetQuick(); boolean retainAll(Collection<?> collection); boolean retainAll(double[] arg0); boolean retainAll(TDoubleCollection collection); void reverse(); void reverse(int arg0, int arg1); double set(int offset, double val); void set(int offset, double[] values, int valOffset, int length); void set(int offset, double[] values); void setQuick(int offset, double val); void shuffle(Random arg0); int size(); void sort(); void sort(int fromIndex, int toIndex); TDoubleList subList(int arg0, int arg1); double sum(); double[] toArray(); double[] toArray(double[] dest, int sourcePos, int destPos, int len); double[] toArray(double[] dest, int offset, int len); double[] toArray(double[] dest); double[] toArray(int offset, int len); @Override String toString(); void transformValues(TDoubleFunction arg0); void trimToSize(); @Override void writeExternal(ObjectOutput arg0);  }
@Test public void testSet() { tDoubleArrayList.add(0.0); tDoubleArrayList.set(0, 1.0); verify(delegate).set(0, 1.0); }