org.owasp.esapi.codecs
Class Trie.TrieProxy<T>
java.lang.Object
org.owasp.esapi.codecs.Trie.TrieProxy<T>
- All Implemented Interfaces:
- Map<CharSequence,T>, Trie<T>
- Direct Known Subclasses:
- Trie.Unmodifiable
- Enclosing interface:
- Trie<T>
public static class Trie.TrieProxy<T>
- extends Object
- implements Trie<T>
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
getWrapped
protected Trie<T> getWrapped()
getLongestMatch
public Map.Entry<CharSequence,T> getLongestMatch(CharSequence key)
- Specified by:
getLongestMatch
in interface Trie<T>
getLongestMatch
public Map.Entry<CharSequence,T> getLongestMatch(PushbackReader keyIn)
throws IOException
- Specified by:
getLongestMatch
in interface Trie<T>
- Throws:
IOException
getMaxKeyLength
public int getMaxKeyLength()
- Specified by:
getMaxKeyLength
in interface Trie<T>
size
public int size()
- Specified by:
size
in interface Map<CharSequence,T>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map<CharSequence,T>
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map<CharSequence,T>
containsValue
public boolean containsValue(Object val)
- Specified by:
containsValue
in interface Map<CharSequence,T>
get
public T get(Object key)
- Specified by:
get
in interface Map<CharSequence,T>
put
public T put(CharSequence key,
T value)
- Specified by:
put
in interface Map<CharSequence,T>
remove
public T remove(Object key)
- Specified by:
remove
in interface Map<CharSequence,T>
putAll
public void putAll(Map<? extends CharSequence,? extends T> t)
- Specified by:
putAll
in interface Map<CharSequence,T>
clear
public void clear()
- Specified by:
clear
in interface Map<CharSequence,T>
keySet
public Set<CharSequence> keySet()
- Specified by:
keySet
in interface Map<CharSequence,T>
values
public Collection<T> values()
- Specified by:
values
in interface Map<CharSequence,T>
entrySet
public Set<Map.Entry<CharSequence,T>> entrySet()
- Specified by:
entrySet
in interface Map<CharSequence,T>
equals
public boolean equals(Object other)
- Specified by:
equals
in interface Map<CharSequence,T>
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map<CharSequence,T>
- Overrides:
hashCode
in class Object
Copyright © 2013 The Open Web Application Security Project (OWASP). All Rights Reserved.