java.lang.Object
org.mortbay.http.PathMap.Entry
- All Implemented Interfaces:
- java.util.Map.Entry
- Enclosing class:
- PathMap
- private static class PathMap.Entry
- extends java.lang.Object
- implements java.util.Map.Entry
| Methods inherited from interface java.util.Map.Entry |
equals, hashCode |
key
private java.lang.Object key
value
private java.lang.Object value
string
private transient java.lang.String string
PathMap.Entry
PathMap.Entry(java.lang.Object key,
java.lang.Object value)
getKey
public java.lang.Object getKey()
- Description copied from interface:
java.util.Map.Entry
- Get the key corresponding to this entry.
- Specified by:
getKey in interface java.util.Map.Entry
getValue
public java.lang.Object getValue()
- Description copied from interface:
java.util.Map.Entry
- Get the value corresponding to this entry. If you already called
Iterator.remove(), this is undefined.
- Specified by:
getValue in interface java.util.Map.Entry
setValue
public java.lang.Object setValue(java.lang.Object o)
- Description copied from interface:
java.util.Map.Entry
- Replaces the value with the specified object (optional operation).
This writes through to the map, and is undefined if you already
called Iterator.remove().
- Specified by:
setValue in interface java.util.Map.Entry
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).