Uses of Class
de.s42.base.functional.Pair

Packages that use Pair
Package
Description
 
 
  • Uses of Pair in de.s42.base.files

    Methods in de.s42.base.files that return Pair
    Modifier and Type
    Method
    Description
    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 Pair
    Modifier and Type
    Method
    Description
    static <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 null
    static <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