Class Options.Entry
java.lang.Object
dev.goldmensch.fluava.function.Options.Entry
- Enclosing class:
Options
An entry that pairs a key and the associated value
-
Method Summary
-
Method Details
-
key
- Returns:
- the passed key
-
as
gets the argument associated with the given key- Parameters:
type
- the variables class to what it should be converted (via proteus)fallback
- the fallback value, that should be returned if this argument isn't provided by the caller- Returns:
- the provided value
- Throws:
FunctionException
-
as
gets the argument associated with the given key- Parameters:
type
- the variables class to what it should be converted (via proteus)- Returns:
- the provided value
- Throws:
FunctionException
- if there's no value associated with this key
-