use of cern.colt.list.ObjectArrayList in project tdq-studio-se by Talend.
the class AbstractIntObjectMap method values.
/**
* Returns a list filled with all values contained in the receiver.
* The returned list has a size that equals <tt>this.size()</tt>.
* Iteration order is guaranteed to be <i>identical</i> to the order used by method {@link #forEachKey(IntProcedure)}.
* <p>
* This method can be used to iterate over the values of the receiver.
*
* @return the values.
*/
public ObjectArrayList values() {
ObjectArrayList list = new ObjectArrayList(size());
values(list);
return list;
}
use of cern.colt.list.ObjectArrayList in project tdq-studio-se by Talend.
the class DoubleQuantileEstimator method clone.
/**
* Returns a deep copy of the receiver.
*
* @return a deep copy of the receiver.
*/
public Object clone() {
DoubleQuantileEstimator copy = (DoubleQuantileEstimator) super.clone();
if (this.bufferSet != null) {
copy.bufferSet = (DoubleBufferSet) copy.bufferSet.clone();
if (this.currentBufferToFill != null) {
int index = new ObjectArrayList(this.bufferSet.buffers).indexOf(this.currentBufferToFill, true);
copy.currentBufferToFill = copy.bufferSet.buffers[index];
}
}
return copy;
}
Aggregations