org.jtoolkit.essence.utils
Interface Named.Source<T>
- All Superinterfaces:
- Named
- All Known Subinterfaces:
- Cluster, Container
- All Known Implementing Classes:
- ClusterComponentBuilder.ClusterCollectionData, ClusterEvent, DataValue, Event.StatusEvent, JvmMetrics, Named.ContextSource, Named.MapSource
- Enclosing interface:
- Named
public static interface Named.Source<T>
- extends Named
|
Method Summary |
java.util.Set<java.lang.String> |
getNames()
|
T |
getValue(java.lang.String name)
|
| Methods inherited from interface org.jtoolkit.essence.utils.Named |
getName |
EMPTY_SOURCE
static final Named.Source EMPTY_SOURCE
getNames
@NotNull
java.util.Set<java.lang.String> getNames()
- Returns:
- names available in this source.
getValue
@Nullable
T getValue(@NotNull
java.lang.String name)
- Parameters:
name - of the object.
- Returns:
- the object in source or null.
Copyright © Peter Lawrey. All Rights Reserved.