Package org.jacop.jasat.utils
Class OptParse.OptHandler<E>
- java.lang.Object
-
- org.jacop.jasat.utils.OptParse.OptHandler<E>
-
-
Constructor Summary
Constructors Constructor Description OptHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract E
handle(OptParse<E> parser, E e, java.lang.String arg)
handler for the option
-
-
-
Method Detail
-
handle
public abstract E handle(OptParse<E> parser, E e, java.lang.String arg)
handler for the option- Parameters:
parser
- the parser object that called this handlere
- the object to modify according to the optionarg
- the (optional) argument to the option- Returns:
- a value of the good type (not necessarily the given one)
-
-