Package org.jgrapht.io
Interface ComponentNameProvider<T>
-
- Type Parameters:
T- the type of the component
- All Known Implementing Classes:
IntegerComponentNameProvider,StringComponentNameProvider
@Deprecated public interface ComponentNameProvider<T>Deprecated.In favor of using lambdas.Provides a name for a component.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetName(T component)Deprecated.Returns a unique name.
-
-
-
Method Detail
-
getName
java.lang.String getName(T component)
Deprecated.Returns a unique name. This is useful when exporting a graph, as it ensures that all vertices/edges are assigned simple, consistent names.- Parameters:
component- the component to be named- Returns:
- the name of the component
-
-