Selections.oneOrEmpty
The single match if there is one, empty if there is none — but still a failure for several.
Source and package
- Qualified name
-
io.github .libtmux .query .Selections. one Or Empty - Package
- io.github.libtmux.query
- Declared in
Selections- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/query/Selections.java
-
Description#
Returning the first of many would make a caller's ambiguous query look answered.