Java Object.equals(java.lang.Object) checks the class of an attribute In the method equals is used to return whether the type of an attribute is a Long class or not. public final Boolean isLong() {     return this.type.equals(Long.class); } |