in scala.collection.immutable.ListMap
class Node

protected class Node
extends scala.collection.immutable.ListMap[A,B]
with scala.ScalaObject

Constructor Summary
def this ( key : A , value : B )



Def Summary
override def - ( k : A ) : scala.collection.immutable.ListMap[A,B]
This creates a new mapping without the given key. If the map does not contain a mapping for the given key, the method returns the same map.
override def apply ( k : A ) : B
Retrieve the value which is associated with the given key. This method throws an exception if there is no mapping from the given key to a value.
override def get ( k : A ) : scala.Option[B]
Check if this map maps key to a value and return the value if it exists.
override def hashCode : scala.Int

override def isEmpty : scala.Boolean
Is this an empty map?
override def size : scala.Int
Returns the number of mappings in this map.
override def toList : scala.List[scala.Tuple2[A,B]]
This return a list of key-value pairs.
override def update ( k : A , v : B ) : scala.collection.immutable.ListMap[A,B]
This method allows one to create a new map with an additional mapping from key to value. If the map contains already a mapping for key, it will be overridden by this function.


Constructor Detail
def this ( key : A , value : B )

Def Detail
override def - ( k : A ) : scala.collection.immutable.ListMap[A,B]
This creates a new mapping without the given key. If the map does not contain a mapping for the given key, the method returns the same map.

override def apply ( k : A ) : B
Retrieve the value which is associated with the given key. This method throws an exception if there is no mapping from the given key to a value.
param:
key the key
return:
the value associated with the given key.

override def get ( k : A ) : scala.Option[B]
Check if this map maps key to a value and return the value if it exists.
param:
key the key of the mapping of interest
return:
the value of the mapping, if it exists

override def hashCode : scala.Int

override def isEmpty : scala.Boolean
Is this an empty map?
return:
true, iff the map is empty.

override def size : scala.Int
Returns the number of mappings in this map.
return:
number of mappings.

override def toList : scala.List[scala.Tuple2[A,B]]
This return a list of key-value pairs.

override def update ( k : A , v : B ) : scala.collection.immutable.ListMap[A,B]
This method allows one to create a new map with an additional mapping from key to value. If the map contains already a mapping for key, it will be overridden by this function.