Add Javadoc to Iterators.any/all/indexOf and Spliterators.forEachMatching
Undeprecate the JDK primitive overloads of any/all/indexOf. Now the overhead is documented as an @implNote to conform to the other similar methods in fastutil.
Make an overload of Spliterators.forEachMatching that accept the JDK primitive operators.
Make List.replaceAll(JDK_PRIMITIVE_UNARY_OPERATOR) forward to List.replaceAll(KEY_UNARY_OPERATOR) if possible, because, for example, ByteUnaryOperator is a subinterface of java.util.function.IntUnaryOperator.
Convert iterator accepting methods of Iterators that don't need the fastutil specific methods to use STD_KEY_ITERATOR, which allows the regular java.util.Iterator to be accepted for the ObjectIterators class.
Convert spliterator accepting methods of Spliterators that don't need to fastutil specific methods to use the new STD_KEY_SPLITERATOR, which allows the regular java.util.Spliterator to be accepted for the ObjectSpliterators class.
Minor touchups.
@implNote
to conform to the other similar methods in fastutil.Spliterators.forEachMatching
that accept the JDK primitive operators.List.replaceAll(JDK_PRIMITIVE_UNARY_OPERATOR)
forward toList.replaceAll(KEY_UNARY_OPERATOR)
if possible, because, for example,ByteUnaryOperator
is a subinterface ofjava.util.function.IntUnaryOperator
.Iterators
that don't need the fastutil specific methods to useSTD_KEY_ITERATOR
, which allows the regularjava.util.Iterator
to be accepted for theObjectIterators
class.Spliterators
that don't need to fastutil specific methods to use the newSTD_KEY_SPLITERATOR
, which allows the regularjava.util.Spliterator
to be accepted for theObjectSpliterators
class.