int (ByteArrayWrapper o) { if(o == null) return -1; int n = Math.max(o.myData.length, myData.length); for(int i = 0; i<n; i++) { int d = myData[i] - o.myData[i]; if(d != 0) { return d; } } return myData.length - o.myData.length; }