class
Counter[A, B] extends AnyRef
Instance Constructors
-
new
Counter(counter: Map[A, B])(implicit arg0: Numeric[B])
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
*(by: B): Counter[A, B]
-
def
+(key: A)(implicit num: Numeric[B]): Counter[A, B]
-
def
++(other: Counter[A, B]): Counter[A, B]
-
def
-(key: A)(implicit num: Numeric[B]): Counter[A, B]
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
apply(key: A)(implicit num: Numeric[B]): B
-
final
def
asInstanceOf[T0]: T0
-
def
change(key: A, by: B): Counter[A, B]
-
def
clone(): AnyRef
-
def
empty(): Counter[A, B]
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(other: Any): Boolean
-
def
finalize(): Unit
-
def
get(key: A): Option[B]
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
def
iterator(): Iterator[(A, B)]
-
def
mapValues[Num](fun: (B) ⇒ Num)(implicit arg0: Numeric[Num], num: Numeric[Num]): Counter[A, Num]
-
def
max: A
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
size: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toCounter[Num](implicit arg0: Numeric[Num], ev: (B) ⇒ Num): Counter[A, Num]
-
def
toList(): List[(A, B)]
-
def
toMap(): Map[A, B]
-
def
toSeq(): Seq[(A, B)]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any