- java.lang.Object
-
- swim.uri.UriMapper<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description long
childCount()
Iterator<UriPart>
childIterator()
void
clear()
boolean
containsKey(Object key)
abstract boolean
containsValue(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()
T
get(Object key)
T
get(String uri)
abstract T
get(Uri uri)
UriMapper<T>
getSuffix(String uri)
abstract UriMapper<T>
getSuffix(Uri uri)
abstract boolean
isEmpty()
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)
T
put(Uri pattern, T value)
void
putAll(Map<? extends Uri,? extends T> map)
T
remove(Object key)
UriMapper<T>
removed(String pattern)
abstract UriMapper<T>
removed(Uri pattern)
UriMapper<T>
removed(UriPattern pattern)
abstract int
size()
String
toString()
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:
containsKey
in interfaceMap<Uri,T>
-
containsValue
public abstract boolean containsValue(Object value)
- Specified by:
containsValue
in 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:Debug
Writes 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)
-
-