Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

oracle.ide.util
Class NameValuePair<T>

java.lang.Object
  extended by oracle.ide.util.NameValuePair<T>

public final class NameValuePair<T>
extends java.lang.Object

Parametrized name value pair class. Holds a named value of the specified T type.


Constructor Summary
NameValuePair(java.lang.String name, T value)
          Constructor.
 
Method Summary
 java.lang.String getName()
          Get the name identifying the value.
 T getValue()
          Get the value assoicated with the name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameValuePair

public NameValuePair(java.lang.String name,
                     T value)
Constructor.

Parameters:
name - a name identifying the specified value.
value - the value associated with the specified name.
Method Detail

getName

public java.lang.String getName()
Get the name identifying the value.

Returns:
the name identifying the value.

getValue

public T getValue()
Get the value assoicated with the name.

Returns:
the value assoicated with the name.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.4.0)

E13403-05

Copyright © 1997, 2011, Oracle. All rights reserved.