- java.lang.Object
-
- swim.uri.UriMapper<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description longchildCount()Iterator<UriPart>childIterator()voidclear()booleancontainsKey(Object key)abstract booleancontainsValue(Object value)<U> Output<U>debug(Output<U> output)Writes a developer readable, debug-formatted string representation of this object tooutput.static <T> UriMapper<T>empty()Set<Map.Entry<Uri,T>>entrySet()Tget(Object key)Tget(String uri)abstract Tget(Uri uri)UriMapper<T>getSuffix(String uri)abstract UriMapper<T>getSuffix(Uri uri)abstract booleanisEmpty()abstract Iterator<Map.Entry<Uri,T>>iterator()abstract Iterator<Uri>keyIterator()Set<Uri>keySet()static <T> UriMapper<T>mapping(String uriString, T value)static <T> UriMapper<T>mapping(UriPattern pattern, T value)static <T> UriMapper<T>mapping(Uri pattern, T value)abstract UriMapper<T>merged(UriMapper<T> that)Tput(Uri pattern, T value)voidputAll(Map<? extends Uri,? extends T> map)Tremove(Object key)UriMapper<T>removed(String pattern)abstract UriMapper<T>removed(Uri pattern)UriMapper<T>removed(UriPattern pattern)abstract intsize()StringtoString()abstract UriMapper<T>unmerged(UriMapper<T> that)UriMapper<T>updated(String pattern, T value)UriMapper<T>updated(UriPattern pattern, T value)UriMapper<T>updated(Uri pattern, T value)abstract Iterator<T>valueIterator()Collection<T>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<Uri,T>
-
containsValue
public abstract boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<Uri,T>
-
updated
public UriMapper<T> updated(UriPattern pattern, T value)
-
removed
public UriMapper<T> removed(UriPattern pattern)
-
childCount
public long childCount()
-
debug
public <U> Output<U> debug(Output<U> output)
Description copied from interface:DebugWrites a developer readable, debug-formatted string representation of this object tooutput.
-
empty
public static <T> UriMapper<T> empty()
-
mapping
public static <T> UriMapper<T> mapping(UriPattern pattern, T value)
-
-