equals

public final Unit equals(Object obj)

Matches data which is equal to given object

Parameters

obj

Any object that needs to be matched