Constructor and Description |
---|
ForestQueryMap() |
Modifier and Type | Method and Description |
---|---|
void |
addQuery(ForestQueryParameter query) |
void |
addQuery(String name,
Object value) |
void |
clear() |
void |
clearQueriesFromUrl()
清除所有源自URL的Query参数
|
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
List<ForestQueryParameter> |
getQueries(String name) |
ForestQueryParameter |
getQuery(String name) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
List<ForestQueryParameter> |
queryValues() |
Object |
remove(Object key) |
List<ForestQueryParameter> |
removeQueries(String name)
删除所有参数名为指定名称的Query参数
|
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
public ForestQueryParameter getQuery(String name)
public List<ForestQueryParameter> getQueries(String name)
public void addQuery(ForestQueryParameter query)
public List<ForestQueryParameter> removeQueries(String name)
name
- 参数名称public void clearQueriesFromUrl()
public List<ForestQueryParameter> queryValues()
Copyright © 2020. All rights reserved.