com.scudata.expression.fn.gather.RankArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
package com.scudata.expression.fn.gather;
import java.util.Comparator;
import com.scudata.array.ObjectArray;
class RankArray {
private ObjectArray valueArray;
private final int count;
private int curCount = 0;
private boolean isDistinct; // ?Ƿ?ȥ?ط?ʽ??????
public RankArray(int count, boolean isDistinct) {
this.valueArray = new ObjectArray(count * 2);
this.count = count;
this.isDistinct = isDistinct;
}
public ObjectArray getValueArray() {
return valueArray;
}
public void add(Object obj, Comparator
© 2015 - 2024 Weber Informatics LLC | Privacy Policy