com.fulcrumgenomics.sopt.parsing
(Changed in version 2.8.0) collect
has changed. The previous behavior can be reproduced with toSeq
.
True if there is another value, false otherwise.
True if there is another value, false otherwise.
Gets the next token wrapped in a Try.
Gets the next token wrapped in a Try. A failure is returned if the provided ArgTokenizer returned a failure or if we could not find an option name (ArgOption or ArgOptionAndValue before finding an option value (ArgValue). Once a failure is encountered, no more tokens are returned.
(argTokenCollator: MonadOps[Try[ArgOptionAndValues]]).filter(p)
(argTokenCollator: MonadOps[Try[ArgOptionAndValues]]).flatMap(f)
(argTokenCollator: MonadOps[Try[ArgOptionAndValues]]).map(f)
(argTokenCollator: MonadOps[Try[ArgOptionAndValues]]).withFilter(p)
Collates Tokens into name and values, such that there is no value without an associated option name.