Uses of Interface
org.anchoranalysis.core.functional.checked.CheckedFunctionWithInt
Packages that use CheckedFunctionWithInt
Package
Description
Utilities and interfaces for applying functional-programming.
-
Uses of CheckedFunctionWithInt in org.anchoranalysis.core.functional
Methods in org.anchoranalysis.core.functional with parameters of type CheckedFunctionWithIntModifier and TypeMethodDescriptionFunctionalList.filterAndMapWithIndexToList
(List<S> list, Predicate<S> predicate, CheckedFunctionWithInt<S, T, E> mapFuncWithIndex) Creates a new collection by filtering a list and then mapping (with an index) to a list of another type.FunctionalList.mapToListOptionalWithIndex
(List<S> list, Class<? extends Exception> throwableClass, CheckedFunctionWithInt<S, Optional<T>, E> mapFunction) Maps a list to a new list with each element in the original collection maybe producing an element in the output.FunctionalList.mapToListWithIndex
(List<S> list, Class<? extends Exception> throwableClass, CheckedFunctionWithInt<S, T, E> mapFunction) Maps a collection to a list with each element derived from a corresponding element in the original collection - and also letting the map function use an index.