- java.lang.Object
-
- swim.uri.UriMapper<T>
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object key)
abstract boolean
containsValue(Object value)
void
debug(Output<?> output)
Writes a developer readable, debug-formatted string representation of this object tooutput
.static <T> UriMapper<T>
empty()
Set<Map.Entry<Uri,T>>
entrySet()
static <T> UriMapper<T>
from(String uriString, T value)
static <T> UriMapper<T>
from(UriPattern pattern, T value)
static <T> UriMapper<T>
from(Uri pattern, T value)
T
get(Object key)
T
get(String uri)
abstract T
get(Uri uri)
abstract boolean
isEmpty()
abstract Iterator<Map.Entry<Uri,T>>
iterator()
abstract Iterator<Uri>
keyIterator()
Set<Uri>
keySet()
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)
-
debug
public void debug(Output<?> 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()
-
from
public static <T> UriMapper<T> from(UriPattern pattern, T value)
-
-