Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mortbay.http
Class PathMap.Entry  view PathMap.Entry download PathMap.Entry.java

java.lang.Object
  extended byorg.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


Field Summary
private  java.lang.Object key
           
private  java.lang.String string
           
private  java.lang.Object value
           
 
Constructor Summary
(package private) PathMap.Entry(java.lang.Object key, java.lang.Object value)
           
 
Method Summary
 java.lang.Object getKey()
          Get the key corresponding to this entry.
 java.lang.Object getValue()
          Get the value corresponding to this entry.
 java.lang.Object setValue(java.lang.Object o)
          Replaces the value with the specified object (optional operation).
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map.Entry
equals, hashCode
 

Field Detail

key

private java.lang.Object key

value

private java.lang.Object value

string

private transient java.lang.String string
Constructor Detail

PathMap.Entry

PathMap.Entry(java.lang.Object key,
              java.lang.Object value)
Method Detail

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()).