@Incubating
public class NamedValue<T>
extends Object
implements Serializable
Represents a value with name
T - the value type| Constructor and description |
|---|
NamedValue(String name, T val)Creates a named value pair. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
equals(Object o){@inheritDoc} |
|
public String |
getName()Returns the name. |
|
public T |
getVal()Returns the value. |
|
public int |
hashCode(){@inheritDoc} |
|
public String |
toString(){@inheritDoc} |
|
public String |
toString(Map<String, Object> options)Returns the formatted name=value representation using the supplied formatting options. |
Creates a named value pair.
name - the nameval - the valueCopyright © 2003-2026 The Apache Software Foundation. All rights reserved.