boolean equals(Order other) { if (other.getKind() == Kind.ANY && kind == Kind.ANY) return true; if (kind != other.getKind()) return false; return attrNames.equals(other.getAttrNames()); }
public static void isEquals(String string1, String string2, String message, Object... args) { if (!Strings.equals(string1, string2)) { throw new IllegalArgumentException(Strings.format(message, args)); } }
public static void isEquals(String string1, String string2, String message) { if (!Strings.equals(string1, string2)) { throw new IllegalArgumentException(message); } }