Top Description Constructors Methods
org.jparsec.internal.util

public final Class Objects

extends Object
Class Inheritance

Utility functions for any object.
Author
Ben Yu

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
equals(Object o1, Object o2)

Compares o1 and o2 for equality.

public static int
hashCode(Object obj)

Gets the has hcode for obj.

public static boolean
in(Object obj, Object... array)

Checks whether obj is one of the elements of array.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Objectsback to summary
public Objects()

Method Detail

equalsback to summary
public static boolean equals(Object o1, Object o2)

Compares o1 and o2 for equality. Returns true if both are null or o1.equals(o2).

hashCodeback to summary
public static int hashCode(Object obj)

Gets the has hcode for obj. 0 is returned if obj is null.

inback to summary
public static boolean in(Object obj, Object... array)

Checks whether obj is one of the elements of array.