public class ObjectUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
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. |
public static String objectId(Object object)
Object.toString() and/or Object.hashCode(), especially in log statements.object - any POJOObject.toString()Copyright © 2012–2021 Graylog, Inc.. All rights reserved.