项目:ExtraUtilities
文件:GLHelper.java
public static void pushGLState() {
++GLHelper.state_level;
if (GLHelper.maps[GLHelper.state_level] == null) {
GLHelper.maps[GLHelper.state_level] = new TIntByteHashMap();
}
else {
GLHelper.maps[GLHelper.state_level].clear();
}
}
项目:monsoon
文件:MetricTable.java
public MetricTable(int timestampsSize) {
this.timestampsSize = timestampsSize;
this.t_bool = new TIntByteHashMap(timestampsSize,1,-1,(byte) -1);
this.t_16bit = new TIntShortHashMap(timestampsSize,(short) -1);
this.t_32bit = new TIntIntHashMap(timestampsSize,-1);
this.t_64bit = new TIntLongHashMap(timestampsSize,-1);
this.t_dbl = new TIntDoubleHashMap(timestampsSize,-1);
this.t_str = new TIntIntHashMap(timestampsSize,-1);
this.t_hist = new TIntObjectHashMap<>(timestampsSize,-1);
this.t_empty = new TIntHashSet(timestampsSize,-1);
this.t_other = new TIntObjectHashMap<>(timestampsSize,-1);
}
项目:ExtraUtilities
文件:Matcher.java
public MatcherOreDic(final String prefix) {
super("OreDic" + titleCase(prefix));
this.map = new TIntByteHashMap();
this.prefix = prefix;
}
项目:ExtraUtilities
文件:Matcher.java
public MatcherOreDicPair(final String prefix,final String prefix2) {
super("OrePair" + titleCase(prefix) + titleCase(prefix2));
this.map = new TIntByteHashMap();
this.prefix = prefix;
this.prefix2 = prefix2;
}
项目:pre-cu
文件:AutoDeltaIntBoolMap.java
public AutoDeltaIntBoolMap() {
this.changes = new ArrayList<>(5);
this.container = new TIntByteHashMap();
this.baselineCommandCount = 0;
}
项目:pre-cu
文件:AutoDeltaIntByteMap.java
public AutoDeltaIntByteMap() {
this.changes = new ArrayList<>(5);
this.container = new TIntByteHashMap();
this.baselineCommandCount = 0;
}