程序包 proguard.util
类 ObjectUtil
java.lang.Object
proguard.util.ObjectUtil
已过时。
This class contains utility methods operating on instances.
- 从以下版本开始:
- 9.3.3
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static intcompare(Comparable object1, Comparable object2) 已过时。Returns a comparison of the two given objects.static boolean已过时。Returns whether the given objects are the same.static int已过时。Returns the hash code of the given object, or 0 if it is null.
-
构造器详细资料
-
ObjectUtil
public ObjectUtil()已过时。
-
-
方法详细资料
-
equal
已过时。Returns whether the given objects are the same.- 参数:
object1- the first object, may be null.object2- the second object, may be null.- 返回:
- whether the objects are the same.
-
hashCode
已过时。Returns the hash code of the given object, or 0 if it is null.- 参数:
object- the object, may be null.- 返回:
- the hash code.
-
compare
已过时。Returns a comparison of the two given objects.- 参数:
object1- the first object, may be null.object2- the second object, may be null.- 返回:
- -1, 0, or 1.
- 另请参阅:
-
Objectsinstead.