|
scalacheck 1.6 API
|
|
org/scalacheck/util/FreqMap.scala]
trait
FreqMap[T]
extends AnyRef| Value Summary | |
abstract val
|
total : Int |
protected abstract val
|
underlying : scala.collection.immutable.Map[T, Int] |
| Method Summary | |
def
|
+ (t : T) : FreqMap[T] |
def
|
++ (fm : FreqMap[T]) : FreqMap[T] |
def
|
- (t : T) : FreqMap[T] |
def
|
-- (fm : FreqMap[T]) : FreqMap[T] |
def
|
getCount (t : T) : scala.Option[Int] |
def
|
getCounts : scala.List[(T, Int)] |
def
|
getRatio (t : T) : scala.Option[Float] |
def
|
getRatios : scala.List[(T, Float)] |
override def
|
toString
: java.lang.String
Returns a string representation of the object.
|
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Value Details |
| Method Details |
def
getCount(t : T) : scala.Option[Int]
def
getCounts : scala.List[(T, Int)]
def
getRatio(t : T) : scala.Option[Float]
def
getRatios : scala.List[(T, Float)]
override
def
toString : java.lang.String
The default representation is platform dependent.
|
scalacheck 1.6 API
|
|