public abstract class AbstractMatchingArg<V> extends AbstractCommandArg<V> implements MatchingArg<V>
string
Constructor and Description |
---|
AbstractMatchingArg(String string) |
Modifier and Type | Method and Description |
---|---|
List<V> |
matchOr(List<V> def)
Returns all values which match the argument or
the given default list if the argument is omitted.
|
List<V> |
matchOr(V def)
Returns all values which match the argument or
a list containing the given default if argument
is omitted.
|
valueOr
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
match
value
public AbstractMatchingArg(String string)
public List<V> matchOr(V def)
MatchingArg
matchOr
in interface MatchingArg<V>
public List<V> matchOr(List<V> def)
MatchingArg
matchOr
in interface MatchingArg<V>
Copyright © 2012. All Rights Reserved.