T
- the component typepublic class StringComponentNameProvider<T> extends Object implements ComponentNameProvider<T>
Object.toString()
on them. This assumes that the object's
Object.toString()
method returns a unique string representation.Constructor and Description |
---|
StringComponentNameProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getName(T component)
Returns the string representation of a component.
|
public String getName(T component)
getName
in interface ComponentNameProvider<T>
component
- the componentCopyright © 2017. All rights reserved.