oscp5
oscp5 copied to clipboard
OscArgument
Hello, I try to make a pullrequest but like usual I fail.
My suggestion is add method to the class OscArgument, to manipulate this one easily:
public Object get() {
return value;
}
public String getTypetag() {
if(value instanceof Integer) return "i" ;
else if(value instanceof Float) return "f";
else if(value instanceof Charracter) return "r";
else if(value instanceof String) return "S";
else if(value instanceof Double) return "d";
else if(value instanceof Long) return "l";
else if(value instanceof Boolean) return "b";
else if(value instanceof byte[]) return "byte array or blod value";
else return "Midi value";
}