File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
gdsc-core/src/main/java/uk/ac/sussex/gdsc/core/match Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2828
2929package uk .ac .sussex .gdsc .core .match ;
3030
31+ import it .unimi .dsi .fastutil .ints .Int2IntOpenHashMap ;
3132import java .util .Arrays ;
3233import java .util .function .IntUnaryOperator ;
3334import uk .ac .sussex .gdsc .core .utils .MathUtils ;
34- import uk .ac .sussex .gdsc .core .utils .OpenHashMaps .CustomInt2IntOpenHashMap ;
3535import uk .ac .sussex .gdsc .core .utils .ValidationUtils ;
3636import uk .ac .sussex .gdsc .core .utils .function .IntIntConsumer ;
3737
@@ -215,15 +215,15 @@ protected int getOffset() {
215215 */
216216 private static class DynamicIntMap implements IntMap {
217217 /** The set of observed values. */
218- final CustomInt2IntOpenHashMap observed ;
218+ final Int2IntOpenHashMap observed ;
219219
220220 /**
221221 * Instantiates a new dynamic int set.
222222 *
223223 * @param size the size
224224 */
225225 DynamicIntMap (int size ) {
226- observed = new CustomInt2IntOpenHashMap (size );
226+ observed = new Int2IntOpenHashMap (size );
227227 observed .defaultReturnValue (NO_ENTRY );
228228 }
229229
@@ -245,7 +245,7 @@ public boolean resetForRange(int min, long range) {
245245
246246 @ Override
247247 public void forEach (IntIntConsumer action ) {
248- observed .forEach (action );
248+ observed .forEach (action :: accept );
249249 }
250250 }
251251
You can’t perform that action at this time.
0 commit comments