/** * Get bin value as boolean. */ public boolean getBoolean(String name) { // The server always returns booleans as longs, so get long and convert. return (getLong(name) != 0) ? true : false; }
/** * Get bin value as int. */ public int getInt(String name) { // The server always returns numbers as longs, so get long and cast. return (int)getLong(name); }
/** * Get bin value as short. */ public short getShort(String name) { // The server always returns numbers as longs, so get long and cast. return (short)getLong(name); }
/** * Get bin value as boolean. */ public boolean getBoolean(String name) { // The server always returns booleans as longs, so get long and convert. return (getLong(name) != 0) ? true : false; }
/** * Get bin value as byte. */ public byte getByte(String name) { // The server always returns numbers as longs, so get long and cast. return (byte)getLong(name); }
/** * Get bin value as short. */ public short getShort(String name) { // The server always returns numbers as longs, so get long and cast. return (short)getLong(name); }
/** * Get bin value as byte. */ public byte getByte(String name) { // The server always returns numbers as longs, so get long and cast. return (byte)getLong(name); }
/** * Get bin value as int. */ public int getInt(String name) { // The server always returns numbers as longs, so get long and cast. return (int)getLong(name); }