List of usage examples for com.google.gson JsonPrimitive equals
@Override public boolean equals(Object obj)
From source file:com.ls.util.internal.ObjectComparator.java
License:Open Source License
private static Object getDifferencesForPrimitives(JsonPrimitive origin, JsonPrimitive patched) { if (patched.equals(origin)) { return UNCHANGED; } else {//from ww w . ja va 2s .c om return patched.toString(); } }