Package org.graylog2.utilities
Class ObjectUtils
java.lang.Object
org.graylog2.utilities.ObjectUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Short hand for getting the object identity which is useful to distinguish between instances that overrideObject.toString()
and/orObject.hashCode()
, especially in log statements.
-
Method Details
-
objectId
Short hand for getting the object identity which is useful to distinguish between instances that overrideObject.toString()
and/orObject.hashCode()
, especially in log statements.- Parameters:
object
- any POJO- Returns:
- the hex string portion of
Object.toString()
-