@Override public int applyAsInt(int operand) { if (operand==0) { return 0; } return hash.applyAsInt(operand) % operand; } }
@Override public int applyAsInt(int operand) { return operand + cycleRange.applyAsInt(operand); } }
@Override public int applyAsInt(int operand) { return operand + hashRange.applyAsInt(operand); } }
public AddHashRange(int minValue, int maxValue) { this.hashRange = new io.virtdata.basicsmappers.unary_int.HashRange(minValue, maxValue); }
public AddCycleRange(int minValue, int maxValue) { this.cycleRange = new CycleRange(minValue,maxValue); }
public List<DocCtorData> getCtors() { return new ArrayList<DocCtorData>() {{ add(new DocForFuncCtor("Div", "", new LinkedHashMap<String, String>() {{ put("divisor","int"); }}, new ArrayList<List<String>>() {{ }} )); }}; } }
public List<DocCtorData> getCtors() { return new ArrayList<DocCtorData>() {{ add(new DocForFuncCtor("Mul", "", new LinkedHashMap<String, String>() {{ put("addend","int"); }}, new ArrayList<List<String>>() {{ }} )); }}; } }
@Override public int applyAsInt(int operand) { if (operand==0) { return 0; } return hash.applyAsInt(operand) % operand; } }
@Override public int applyAsInt(int operand) { return operand + cycleRange.applyAsInt(operand); } }
@Override public int applyAsInt(int operand) { return operand + hashRange.applyAsInt(operand); } }
public AddHashRange(int minValue, int maxValue) { this.hashRange = new io.virtdata.basicsmappers.unary_int.HashRange(minValue, maxValue); }
public AddCycleRange(int minValue, int maxValue) { this.cycleRange = new CycleRange(minValue,maxValue); }
@Override public int applyAsInt(int operand) { if (operand==0) { return 0; } return hash.applyAsInt(operand) % operand; } }
@Override public int applyAsInt(int operand) { return operand + cycleRange.applyAsInt(operand); } }
@Override public int applyAsInt(int operand) { return operand + hashRange.applyAsInt(operand); } }
public AddHashRange(int minValue, int maxValue) { this.hashRange = new io.virtdata.basicsmappers.unary_int.HashRange(minValue, maxValue); }
public AddCycleRange(int minValue, int maxValue) { this.cycleRange = new CycleRange(minValue,maxValue); }
@Override public int applyAsInt(int operand) { return minValue + (hash.applyAsInt(operand) & width); } }
@Override public int applyAsInt(int operand) { return minValue + (hash.applyAsInt(operand) & width); } }
@Override public int applyAsInt(int operand) { return minValue + (hash.applyAsInt(operand) & width); } }