org.mortbay.util
Class StringMap.Node

java.lang.Object
  extended by org.mortbay.util.StringMap.Node
All Implemented Interfaces:
Map.Entry
Enclosing class:
StringMap

private static class StringMap.Node
extends Object
implements Map.Entry


Field Summary
(package private)  char[] _char
           
(package private)  StringMap.Node[] _children
           
(package private)  String _key
           
(package private)  StringMap.Node _next
           
(package private)  char[] _ochar
           
(package private)  Object _value
           
 
Constructor Summary
StringMap.Node()
           
StringMap.Node(boolean ignoreCase, String s, int offset)
           
 
Method Summary
 Object getKey()
           
 Object getValue()
           
 Object setValue(Object o)
           
(package private)  StringMap.Node split(StringMap map, int offset)
           
 String toString()
           
private  void toString(StringBuffer buf)
           
 
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

_char

char[] _char

_ochar

char[] _ochar

_next

StringMap.Node _next

_children

StringMap.Node[] _children

_key

String _key

_value

Object _value
Constructor Detail

StringMap.Node

StringMap.Node()

StringMap.Node

StringMap.Node(boolean ignoreCase,
               String s,
               int offset)
Method Detail

split

StringMap.Node split(StringMap map,
                     int offset)

getKey

public Object getKey()
Specified by:
getKey in interface Map.Entry

getValue

public Object getValue()
Specified by:
getValue in interface Map.Entry

setValue

public Object setValue(Object o)
Specified by:
setValue in interface Map.Entry

toString

public String toString()
Overrides:
toString in class Object

toString

private void toString(StringBuffer buf)