Module java.base
Package java.util

Class Objects

java.lang.Object
java.util.Objects

public final class Objects extends Object
This class consists of static utility methods for operating on objects, or checking certain conditions before operation. These utilities include null-safe or null-tolerant methods for computing the hash code of an object, returning a string for an object, comparing two objects, and checking if indexes or sub-range values are out of bounds.
Since:
1.7