public abstract class AbstractCommandArg<V> extends Object implements CommandArg<V>
Constructor and Description |
---|
AbstractCommandArg(String string) |
Modifier and Type | Method and Description |
---|---|
V |
valueOr(V def)
Returns the parsed value or the given default if the
argument is omitted.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
value
public AbstractCommandArg(String string)
public V valueOr(V def)
CommandArg
valueOr
in interface CommandArg<V>
Copyright © 2012. All Rights Reserved.