|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AQByteFactory
This interface provides manipulation and validation functionality for Byte
data type.
An instance of this interface is available via aqua.type.getByte(). (For technical reasons, aqua.type.byte is not available).
Method Summary | |
---|---|
boolean |
isEqual(Object a,
Object b)
Checks if two bytes are equal. |
boolean |
isGreater(Object a,
Object b)
Checks if the parameter value a is greater then the
parameter value b . |
boolean |
isGreaterOrEqual(Object a,
Object b)
Checks if the parameter value a is greater or equal to the
parameter value b . |
boolean |
isInRange(Object value,
Object min,
Object max)
Checks if the value is within a specified range, inclusive. |
boolean |
isLess(Object a,
Object b)
Checks if the parameter value a is less then the
parameter value b . |
boolean |
isLessOrEqual(Object a,
Object b)
Checks if the parameter value a is less or equal to the
parameter value b . |
boolean |
isValid(String value)
Interprets a specified value as a byte (using default platform locale). |
Byte |
parse(Object value)
Creates a Byte instance assuming default platform locale. |
Byte |
parse(String value,
String pattern)
Creates a Byte instance using a specified pattern and locale. |
Byte |
parse(String value,
String pattern,
String locale)
Interprets a specified value as a Byte using a specified pattern and locale. |
Method Detail |
---|
Byte parse(Object value)
value
- The value to be converted.
Exception
- If the parameter is invalid.Byte parse(String value, String pattern)
value
- The value to be converted.pattern
- The pattern used to validate the value against or null to
use the default for the Locale. Please see DecimalFormatSymbols
Exception
- If the parameter is invalid.Byte parse(String value, String pattern, String locale)
value
- The value to be converted.pattern
- The pattern used to validate the value against or null to
use the default for the Locale. Please see DecimalFormatSymbols
locale
- The locale to use for the format, system default if null. Please see Locale
.
Exception
- If the parameter is invalid.boolean isInRange(Object value, Object min, Object max)
value
- The value specified.min
- The start of the range.max
- The end of the range.
Exception
- If any of parameters cannot be converted to a byte.boolean isLess(Object a, Object b)
a
is less then the
parameter value b
.
a
- The specified value.b
- The value to be compared.
a
is less,
and not inclusive of the parameter value of b
.
Exception
- If any of parameters cannot be converted to byte.boolean isLessOrEqual(Object a, Object b)
a
is less or equal to the
parameter value b
.
a
- The specified value.b
- The value to be compared.
a
is less or equal to
the parameter value of b
.
Exception
- If any of parameters cannot be converted to byte.boolean isGreater(Object a, Object b)
a
is greater then the
parameter value b
.
a
- The specified value.b
- The value to be compared.
a
is greater,
and not inclusive of the parameter value of b
.
Exception
- If any of parameters cannot be converted to a byte.boolean isGreaterOrEqual(Object a, Object b)
a
is greater or equal to the
parameter value b
.
a
- The specified value.b
- The value to be compared.
a
is greater or equal to
the parameter value of b
.
Exception
- If any of parameters cannot be converted to a byte.boolean isEqual(Object a, Object b)
b
- The value to be compared.
a
is equal to the
parameter value of b
.
Exception
- If any of the parameters cannot be converted to byte.boolean isValid(String value)
value
- The specified value.
|
OpenAPI 1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |