public interface Value
| Modifier and Type | Method and Description |
|---|---|
long |
asInt()
Return value as a (long) int if possible, otherwise ModalException
|
boolean |
empty()
Return true unless the value is null or an empty string
|
String |
getLexical()
Original lexical form for the value
|
Object |
getValue()
Return the value unconverted.
|
boolean |
isInt()
Test if the value can be treated as a (long) int
|
boolean |
notEmpty()
Return true if the value is non-null and not an empty string
|
String |
str()
Original lexical form for the value, Ruby-friendly alias
|
String getLexical()
String str()
boolean notEmpty()
boolean empty()
Object getValue()
long asInt()
boolean isInt()
Copyright © 2017. All rights reserved.