Class ObjectUtils

java.lang.Object
org.graylog2.utilities.ObjectUtils

public class ObjectUtils extends Object
  • Method Details

    • objectId

      public static String objectId(Object object)
      Short hand for getting the object identity which is useful to distinguish between instances that override Object.toString() and/or Object.hashCode(), especially in log statements.
      Parameters:
      object - any POJO
      Returns:
      the hex string portion of Object.toString()