List of usage examples for java.lang Character compare
public static int compare(char x, char y)
From source file:termint.gui.vt.VTElement.java
public int compareTo(VTElement o) { int cmp = Character.compare(c, o.c); if (cmp != 0) return cmp; cmp = bg.compareTo(o.bg);/* w ww . ja v a 2 s. c om*/ if (cmp != 0) return cmp; cmp = fg.compareTo(o.fg); if (cmp != 0) return cmp; cmp = Boolean.compare(bold, o.bold); if (cmp != 0) return cmp; cmp = Boolean.compare(invert, o.invert); if (cmp != 0) return cmp; cmp = Boolean.compare(invisible, o.invisible); if (cmp != 0) return cmp; cmp = Boolean.compare(low, o.low); if (cmp != 0) return cmp; cmp = Boolean.compare(underline, o.underline); return cmp; }