Uses of Class
de.s42.base.functional.Pair
Packages that use Pair
-
Uses of Pair in de.s42.base.files
Methods in de.s42.base.files that return PairModifier and TypeMethodDescriptionstatic Pair<SingleFileChangeWatcher, Thread> SingleFileChangeWatcher.startWatching(Path file, Consumer<Path> handler) Creates and starts the watcher. -
Uses of Pair in de.s42.base.functional
Methods in de.s42.base.functional that return PairModifier and TypeMethodDescriptionstatic <FirstType, SecondType>
Pair<FirstType, SecondType> Pair.empty()Create an empty Pair with both of the given values being null.static <FirstType, SecondType>
Pair<FirstType, SecondType> Pair.of(FirstType first, SecondType second) Create a Pair with both of the given values being non null.static <FirstType, SecondType>
Pair<FirstType, SecondType> Pair.ofFirst(FirstType first) Create a Pair with first set and second being nullstatic <FirstType, SecondType>
Pair<FirstType, SecondType> Pair.ofNullable(FirstType first, SecondType second) Create a Pair with both of the given values being null or non null.static <FirstType, SecondType>
Pair<FirstType, SecondType> Pair.ofSecond(SecondType second) Create a Pair with second set and first being null