Search in sources :

Example 6 with ObjectArrayList

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;
}
Also used : ObjectArrayList(cern.colt.list.ObjectArrayList)

Example 7 with ObjectArrayList

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;
}
Also used : ObjectArrayList(cern.colt.list.ObjectArrayList)

Aggregations

ObjectArrayList (cern.colt.list.ObjectArrayList)7 ByteArrayList (cern.colt.list.ByteArrayList)2 NumberFormat (java.text.NumberFormat)1 StopWatch (org.apache.commons.lang3.time.StopWatch)1 Link (ubic.basecode.dataStructure.Link)1 CoexpressionAnalysis (ubic.gemma.model.analysis.expression.coexpression.CoexpressionAnalysis)1 CompositeSequence (ubic.gemma.model.expression.designElement.CompositeSequence)1 Gene (ubic.gemma.model.genome.Gene)1