List of usage examples for java.lang Byte compareTo
public int compareTo(Byte anotherByte)
From source file:Main.java
public static void main(String[] args) { Byte byte1 = new Byte("1"); Byte byte2 = new Byte("2"); System.out.println(byte1.compareTo(byte2)); }