use of cern.colt.list.ByteArrayList in project tdq-studio-se by Talend.
the class OpenDoubleIntHashMap method clear.
/**
* Removes all (key,value) associations from the receiver.
* Implicitly calls <tt>trimToSize()</tt>.
*/
public void clear() {
new ByteArrayList(this.state).fillFromToWith(0, this.state.length - 1, FREE);
// new DoubleArrayList(values).fillFromToWith(0, state.length-1, 0); // delta
this.distinct = 0;
// delta
this.freeEntries = table.length;
trimToSize();
}
use of cern.colt.list.ByteArrayList in project tdq-studio-se by Talend.
the class OpenIntDoubleHashMap method clear.
/**
* Removes all (key,value) associations from the receiver.
* Implicitly calls <tt>trimToSize()</tt>.
*/
public void clear() {
new ByteArrayList(this.state).fillFromToWith(0, this.state.length - 1, FREE);
// new DoubleArrayList(values).fillFromToWith(0, state.length-1, 0); // delta
/*
if (debug) {
for (int i=table.length; --i >= 0; ) {
state[i] = FREE;
table[i]= Integer.MAX_VALUE;
values[i]= Double.NaN;
}
}
*/
this.distinct = 0;
// delta
this.freeEntries = table.length;
trimToSize();
}
use of cern.colt.list.ByteArrayList in project tdq-studio-se by Talend.
the class OpenIntIntHashMap method clear.
/**
* Removes all (key,value) associations from the receiver.
* Implicitly calls <tt>trimToSize()</tt>.
*/
public void clear() {
new ByteArrayList(this.state).fillFromToWith(0, this.state.length - 1, FREE);
// new IntArrayList(values).fillFromToWith(0, state.length-1, 0); // delta
this.distinct = 0;
// delta
this.freeEntries = table.length;
trimToSize();
}
use of cern.colt.list.ByteArrayList in project tdq-studio-se by Talend.
the class OpenLongObjectHashMap method clear.
/**
* Removes all (key,value) associations from the receiver.
* Implicitly calls <tt>trimToSize()</tt>.
*/
public void clear() {
new ByteArrayList(this.state).fillFromToWith(0, this.state.length - 1, FREE);
// delta
new ObjectArrayList(values).fillFromToWith(0, state.length - 1, null);
this.distinct = 0;
// delta
this.freeEntries = table.length;
trimToSize();
}
use of cern.colt.list.ByteArrayList in project tdq-studio-se by Talend.
the class OpenIntObjectHashMap method clear.
/**
* Removes all (key,value) associations from the receiver.
* Implicitly calls <tt>trimToSize()</tt>.
*/
public void clear() {
new ByteArrayList(this.state).fillFromToWith(0, this.state.length - 1, FREE);
// delta
new ObjectArrayList(values).fillFromToWith(0, state.length - 1, null);
this.distinct = 0;
// delta
this.freeEntries = table.length;
trimToSize();
}
Aggregations