Java Code Examples for org.apache.commons.lang3.math.NumberUtils.toShort()

The following are Jave code examples for showing how to use toShort() of the org.apache.commons.lang3.math.NumberUtils class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: azeroth   File: RedisNumber.java   Source Code and License Vote up 4 votes
public Short getShort() {
    String value = super.get();
    return value == null ? null : NumberUtils.toShort(value);
}