Package com.helger.commons.type
Class ObjectType
java.lang.Object
com.helger.commons.type.ObjectType
- All Implemented Interfaces:
IComparable<ObjectType>,IHasName,Comparable<ObjectType>
This class encapsulates an internal object type.
Note: it is not based on an interface, because this may lead to difficulties comparing different object type implementations of the same interface. By not using an interface, implementers are forced to use exactly this implementation class.
Note: it is not based on an interface, because this may lead to difficulties comparing different object type implementations of the same interface. By not using an interface, implementers are forced to use exactly this implementation class.
- Author:
- Philip Helger
-
Constructor Details
-
ObjectType
-
-
Method Details
-
getName
-
compareTo
- Specified by:
compareToin interfaceComparable<ObjectType>
-
equals
-
hashCode
public int hashCode() -
toString
-