final class ParamMap extends Serializable
- Alphabetic
- By Inheritance
- ParamMap
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ParamMap()
Creates an empty param map.
Creates an empty param map.
- Annotations
- @Since( "1.2.0" )
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(other: ParamMap): ParamMap
Returns a new param map that contains parameters in this map and the given map, where the latter overwrites this if there exist conflicts.
Returns a new param map that contains parameters in this map and the given map, where the latter overwrites this if there exist conflicts.
- Annotations
- @Since( "1.2.0" )
-
def
++=(other: ParamMap): ParamMap.this.type
Adds all parameters from the input param map into this param map.
Adds all parameters from the input param map into this param map.
- Annotations
- @Since( "1.2.0" )
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[T](param: Param[T]): T
Gets the value of the input param or its default value if it does not exist.
Gets the value of the input param or its default value if it does not exist. Raises a NoSuchElementException if there is no value associated with the input param.
- Annotations
- @Since( "1.2.0" )
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
contains(param: Param[_]): Boolean
Checks whether a parameter is explicitly specified.
Checks whether a parameter is explicitly specified.
- Annotations
- @Since( "1.2.0" )
-
def
copy: ParamMap
Creates a copy of this param map.
Creates a copy of this param map.
- Annotations
- @Since( "1.2.0" )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filter(parent: Params): ParamMap
Filters this param map for the given parent.
Filters this param map for the given parent.
- Annotations
- @Since( "1.2.0" )
-
def
get[T](param: Param[T]): Option[T]
Optionally returns the value associated with a param.
Optionally returns the value associated with a param.
- Annotations
- @Since( "1.2.0" )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
getOrElse[T](param: Param[T], default: T): T
Returns the value associated with a param or a default value.
Returns the value associated with a param or a default value.
- Annotations
- @Since( "1.4.0" )
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
put(paramPairs: ParamPair[_]*): ParamMap.this.type
Puts a list of param pairs (overwrites if the input params exists).
Puts a list of param pairs (overwrites if the input params exists).
- Annotations
- @varargs() @Since( "1.2.0" )
-
def
put[T](param: Param[T], value: T): ParamMap.this.type
Puts a (param, value) pair (overwrites if the input param exists).
Puts a (param, value) pair (overwrites if the input param exists).
- Annotations
- @Since( "1.2.0" )
-
def
remove[T](param: Param[T]): Option[T]
Removes a key from this map and returns its value associated previously as an option.
Removes a key from this map and returns its value associated previously as an option.
- Annotations
- @Since( "1.4.0" )
-
def
size: Int
Number of param pairs in this map.
Number of param pairs in this map.
- Annotations
- @Since( "1.3.0" )
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSeq: Seq[ParamPair[_]]
Converts this param map to a sequence of param pairs.
Converts this param map to a sequence of param pairs.
- Annotations
- @Since( "1.2.0" )
-
def
toString(): String
- Definition Classes
- ParamMap → AnyRef → Any
- Annotations
- @Since( "1.2.0" )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated