vigna / fastutil

fastutil extends the Java™ Collections Framework by providing type-specific maps, sets, lists and queues.
Apache License 2.0
1.81k stars 199 forks source link

overridden method is final #239

Closed cheblin closed 3 years ago

cheblin commented 3 years ago

java: mergeDouble(K,double,it.unimi.dsi.fastutil.doubles.DoubleBinaryOperator) in it.unimi.dsi.fastutil.objects.Object2DoubleLinkedOpenCustomHashMap cannot override mergeDouble(K,double,it.unimi.dsi.fastutil.doubles.DoubleBinaryOperator) in it.unimi.dsi.fastutil.objects.AbstractObject2DoubleMap overridden method is final

image

image image

java: mergeInt(K,int,it.unimi.dsi.fastutil.ints.IntBinaryOperator) in it.unimi.dsi.fastutil.objects.Object2IntLinkedOpenCustomHashMap cannot override mergeInt(K,int,it.unimi.dsi.fastutil.ints.IntBinaryOperator) in it.unimi.dsi.fastutil.objects.AbstractObject2IntMap overridden method is final

java: mergeLong(K,long,it.unimi.dsi.fastutil.longs.LongBinaryOperator) in it.unimi.dsi.fastutil.objects.Object2LongLinkedOpenCustomHashMap cannot override mergeLong(K,long,it.unimi.dsi.fastutil.longs.LongBinaryOperator) in it.unimi.dsi.fastutil.objects.AbstractObject2LongMap overridden method is final

problems in files:

Object2DoubleLinkedOpenCustomHashMap.java Object2DoubleLinkedOpenHashMap.java Object2DoubleOpenCustomHashMap.java Object2DoubleOpenHashMap.java Object2IntLinkedOpenCustomHashMap.java Object2IntLinkedOpenHashMap.java Object2IntOpenCustomHashMap.java Object2IntOpenHashMap.java Object2LongLinkedOpenCustomHashMap.java Object2LongLinkedOpenHashMap.java Object2LongOpenCustomHashMap.java Object2LongOpenHashMap.java Reference2DoubleLinkedOpenHashMap.java Reference2DoubleOpenCustomHashMap.java Reference2DoubleOpenHashMap.java Reference2IntLinkedOpenHashMap.java Reference2IntOpenCustomHashMap.java Reference2IntOpenHashMap.java Reference2LongLinkedOpenHashMap.java Reference2LongOpenCustomHashMap.java Reference2LongOpenHashMap.java

vigna commented 3 years ago

Please replicate under a sensible OS (Linux, Mac OS X).

vigna commented 3 years ago

BTW, there's no mergeDouble() method in that class...