Package tigase.test.util
Class Params
- java.lang.Object
-
- tigase.test.util.Params
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Describeclearmethod here.booleancontainsKey(Object key)DescribecontainsKeymethod here.booleancontainsValue(Object object)DescribecontainsValuemethod here.static booleandecodeBoolean(String val)Set<Map.Entry<String,Object>>entrySet()DescribeentrySetmethod here.booleanequals(Object object)Describeequalsmethod here.Objectget(Object key)Describegetmethod here.booleanget(String key, boolean def)intget(String key, int def)longget(String key, long def)Stringget(String key, String def)Map<String,String>getMap()inthashCode()DescribehashCodemethod here.booleanisEmpty()DescribeisEmptymethod here.booleanisFalse(String key)Set<String>keySet()DescribekeySetmethod here.protected static Map<String,Object>parseParams(String[] args)Objectput(String key, Object value)Describeputmethod here.voidputAll(Map map)DescribeputAllmethod here.Objectremove(Object key)Describeremovemethod here.intsize()Describesizemethod here.StringtoString()Collection<Object>values()Describevaluesmethod here.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
hashCode
public int hashCode()
DescribehashCodemethod here.
-
clear
public void clear()
Describeclearmethod here.
-
equals
public boolean equals(Object object)
Describeequalsmethod here.
-
get
public int get(String key, int def)
-
get
public long get(String key, long def)
-
decodeBoolean
public static boolean decodeBoolean(String val)
-
isFalse
public boolean isFalse(String key)
-
get
public boolean get(String key, boolean def)
-
putAll
public void putAll(Map map)
DescribeputAllmethod here.
-
size
public int size()
Describesizemethod here.
-
values
public Collection<Object> values()
Describevaluesmethod here.
-
containsKey
public boolean containsKey(Object key)
DescribecontainsKeymethod here.- Specified by:
containsKeyin interfaceMap<String,Object>- Parameters:
object- anObjectvalue- Returns:
- a
booleanvalue
-
containsValue
public boolean containsValue(Object object)
DescribecontainsValuemethod here.- Specified by:
containsValuein interfaceMap<String,Object>- Parameters:
object- anObjectvalue- Returns:
- a
booleanvalue
-
isEmpty
public boolean isEmpty()
DescribeisEmptymethod here.
-
-