Selections.exactlyOne
The single match, or a failure naming which way the count was wrong.
Source and package
- Qualified name
-
io.github .libtmux .query .Selections. exactly One - Package
- io.github.libtmux.query
- Declared in
Selections- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/query/Selections.java
-
- Type parameters
- Parameters
- Raises
-
-
Cardinality
Exception – if nothing matched.No Match -
Cardinality
Exception – if more than one did; the scan stops at the second match, so its count is two.Multiple Matches
-
Guides#
Pages that discuss exactlyOne.