(long aBoundValue)
| 1566 | public static short bindShort(long aBoundValue) {return (short)Math.max(Short.MIN_VALUE, Math.min(Short.MAX_VALUE, aBoundValue));} |
| 1567 | public static byte bindByte (long aBoundValue) {return (byte) Math.max(Byte.MIN_VALUE, Math.min(Byte.MAX_VALUE, aBoundValue));} |
| 1568 | public static byte bindStack(long aBoundValue) {return (byte) Math.max(1, Math.min(64, aBoundValue));} |
| 1569 | |
| 1570 | public static short[] bindRGBa(short[] aColors) { |
| 1571 | if (aColors == null) return new short[] {255,255,255,255}; |
no outgoing calls
no test coverage detected