public Invocation(Invocation parent, int serial) { this.parent = parent; this.methodSerialNumber = serial; this.children = new IntHashMap<Invocation>(); }
public Invocation(Invocation parent, int serial) { this.parent = parent; this.methodSerialNumber = serial; this.children = new IntHashMap<Invocation>(); }
public Invocation(Invocation parent, int serial) { this.parent = parent; this.methodSerialNumber = serial; this.children = new IntHashMap<Invocation>(); }
public Invocation(Invocation parent, int serial) { this.parent = parent; this.methodSerialNumber = serial; this.children = new IntHashMap<Invocation>(); }
/** * Internal helper to allocate a callable map to cache argument method matches. * @param <T> the callable type * @return cache usable with {@link CallableSelector} */ @Deprecated public static <T extends ParameterTypes> IntHashMap<T> newCallableCache() { return new IntHashMap<T>(8); }
/** * Internal helper to allocate a callable map to cache argument method matches. * @param <T> the callable type * @return cache usable with {@link CallableSelector} */ @Deprecated public static <T extends ParameterTypes> IntHashMap<T> newCallableCache() { return new IntHashMap<T>(8); }
public void addNativeSignature(int arity, MethodType signature) { if ( arity == -1 ) varSignature = signature; else { if ( signatures == null ) signatures = new IntHashMap<>(2); signatures.put(arity, signature); } }
public void addNativeSignature(int arity, MethodType signature) { if ( arity == -1 ) varSignature = signature; else { if ( signatures == null ) signatures = new IntHashMap<>(2); signatures.put(arity, signature); } }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
protected static IntHashMap<MethodData> methodData(Invocation top) { IntHashMap<MethodData> methods = new IntHashMap<MethodData>(); MethodData data = new MethodData(0); methods.put(0, data); data.invocations.add(top); methodData1(methods, top); return methods; }
@Override public Object clone() { IntHashMap<V> newMap = new IntHashMap<>(table.length, loadFactor); for (int i = 0; i < table.length; i++) { Entry<V> entry = table[i]; while (entry != null) { newMap.put(entry.getKey(), entry.getValue()); entry = entry.next; } } return newMap; }
@Override public Object clone() { IntHashMap<V> newMap = new IntHashMap<>(table.length, loadFactor); for (int i = 0; i < table.length; i++) { Entry<V> entry = table[i]; while (entry != null) { newMap.put(entry.getKey(), entry.getValue()); entry = entry.next; } } return newMap; }
callable = null; maxArity = -1; minArity = Integer.MAX_VALUE; IntHashMap<ArrayList<T>> arityMap = new IntHashMap<ArrayList<T>>(length, 1);
callable = null; maxArity = -1; minArity = Integer.MAX_VALUE; IntHashMap<ArrayList<T>> arityMap = new IntHashMap<ArrayList<T>>(length, 1);
if ( cflag ) { ptable = tables.noDel; table = ptable != null ? ptable : new IntHashMap<>(8); tables.noDel = table; table = new IntHashMap<>(8); ptable = tables.del; tables.del = table;
if ( cflag ) { ptable = tables.noDel; table = ptable != null ? ptable : new IntHashMap<>(8); tables.noDel = table; table = new IntHashMap<>(8); ptable = tables.del; tables.del = table;