T - the type parameterpublic class LabeledObject<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
T |
data
The Data.
|
String |
label
The Label.
|
| Constructor and Description |
|---|
LabeledObject(T img,
String name)
Instantiates a new Labeled object.
|
| Modifier and Type | Method and Description |
|---|---|
<U> LabeledObject<U> |
map(java.util.function.Function<T,U> f)
Map labeled object.
|
String |
toString() |
@Nonnull public <U> LabeledObject<U> map(@Nonnull java.util.function.Function<T,U> f)
U - the type parameterf - the fCopyright © 2018 SimiaCryptus Software. All rights reserved.