public class DefaultStringBridge extends Object implements StringBridge
toString method or return null if the object is null.| Modifier and Type | Field and Description |
|---|---|
static DefaultStringBridge |
INSTANCE |
| Constructor and Description |
|---|
DefaultStringBridge() |
| Modifier and Type | Method and Description |
|---|---|
DefaultStringBridge |
getInstance() |
String |
objectToString(Object object)
Converts the object representation to a string.
|
public static final DefaultStringBridge INSTANCE
public String objectToString(Object object)
StringBridgeobjectToString in interface StringBridgeobject - The object to transform into a string representation.null. It can be empty though.@Factory public DefaultStringBridge getInstance()
Copyright © 2006-2019 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.