Instance Constructors
-
new
TopN(maxLength: Int, contents: Array[Double])
-
new
TopN(maxLength: Int, contents: Array[Double], categories: Seq[A])
-
new
TopN(maxLength: Int, contents: DoubleSeq)
-
new
TopN(maxLength: Int, contents: DoubleSeq, categories: Seq[A])
-
new
TopN(maxLength: Int)
Type Members
-
type
Self = Seq[TopEntry[A]]
-
class
WithFilter extends FilterMonadic[A, Repr]
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
def
++[B >: TopEntry[A], That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
++:[B >: TopEntry[A], That](that: Traversable[B])(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
++:[B >: TopEntry[A], That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
+:[B >: TopEntry[A], That](elem: B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
+=(index: Int, pr: Double, category: A = null.asInstanceOf[A]): Unit
-
def
/:[B](z: B)(op: (B, TopEntry[A]) ⇒ B): B
-
def
:+[B >: TopEntry[A], That](elem: B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
:\[B](z: B)(op: (TopEntry[A], B) ⇒ B): B
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
-
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate[B](z: B)(seqop: (B, TopEntry[A]) ⇒ B, combop: (B, B) ⇒ B): B
-
def
andThen[C](k: (TopEntry[A]) ⇒ C): PartialFunction[Int, C]
-
def
apply(i: Int): TopEntry[A]
-
def
applyOrElse[A1 <: Int, B1 >: TopEntry[A]](x: A1, default: (A1) ⇒ B1): B1
-
final
def
asInstanceOf[T0]: T0
-
def
canEqual(that: Any): Boolean
-
def
clone(): AnyRef
-
def
collect[B, That](pf: PartialFunction[TopEntry[A], B])(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
collectFirst[B](pf: PartialFunction[TopEntry[A], B]): Option[B]
-
def
combinations(n: Int): Iterator[Seq[TopEntry[A]]]
-
def
companion: GenericCompanion[Seq]
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ TopEntry[A]
-
def
contains(elem: Any): Boolean
-
def
containsSlice[B](that: GenSeq[B]): Boolean
-
def
copyToArray[B >: TopEntry[A]](xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray[B >: TopEntry[A]](xs: Array[B]): Unit
-
def
copyToArray[B >: TopEntry[A]](xs: Array[B], start: Int): Unit
-
def
copyToBuffer[B >: TopEntry[A]](dest: Buffer[B]): Unit
-
def
corresponds[B](that: GenSeq[B])(p: (TopEntry[A], B) ⇒ Boolean): Boolean
-
def
count(p: (TopEntry[A]) ⇒ Boolean): Int
-
def
diff[B >: TopEntry[A]](that: GenSeq[B]): Seq[TopEntry[A]]
-
def
distinct: Seq[TopEntry[A]]
-
def
drop(n: Int): Seq[TopEntry[A]]
-
def
dropRight(n: Int): Seq[TopEntry[A]]
-
def
dropWhile(p: (TopEntry[A]) ⇒ Boolean): Seq[TopEntry[A]]
-
def
endsWith[B](that: GenSeq[B]): Boolean
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(that: Any): Boolean
-
def
exists(p: (TopEntry[A]) ⇒ Boolean): Boolean
-
def
filter(p: (TopEntry[A]) ⇒ Boolean): Seq[TopEntry[A]]
-
def
filterNot(p: (TopEntry[A]) ⇒ Boolean): Seq[TopEntry[A]]
-
def
finalize(): Unit
-
def
find(p: (TopEntry[A]) ⇒ Boolean): Option[TopEntry[A]]
-
def
flatMap[B, That](f: (TopEntry[A]) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
flatten[B](implicit asTraversable: (TopEntry[A]) ⇒ GenTraversableOnce[B]): Seq[B]
-
def
fold[A1 >: TopEntry[A]](z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft[B](z: B)(op: (B, TopEntry[A]) ⇒ B): B
-
def
foldRight[B](z: B)(op: (TopEntry[A], B) ⇒ B): B
-
def
forall(p: (TopEntry[A]) ⇒ Boolean): Boolean
-
def
foreach[U](f: (TopEntry[A]) ⇒ U): Unit
-
def
genericBuilder[B]: Builder[B, Seq[B]]
-
final
def
getClass(): Class[_]
-
def
groupBy[K](f: (TopEntry[A]) ⇒ K): Map[K, Seq[TopEntry[A]]]
-
def
grouped(size: Int): Iterator[Seq[TopEntry[A]]]
-
def
hasDefiniteSize: Boolean
-
def
hashCode(): Int
-
-
def
headOption: Option[TopEntry[A]]
-
def
indexOf[B >: TopEntry[A]](elem: B, from: Int): Int
-
def
indexOf[B >: TopEntry[A]](elem: B): Int
-
def
indexOfSlice[B >: TopEntry[A]](that: GenSeq[B], from: Int): Int
-
def
indexOfSlice[B >: TopEntry[A]](that: GenSeq[B]): Int
-
def
indexWhere(p: (TopEntry[A]) ⇒ Boolean, from: Int): Int
-
def
indexWhere(p: (TopEntry[A]) ⇒ Boolean): Int
-
def
indices: Range
-
def
init: Seq[TopEntry[A]]
-
def
inits: Iterator[Seq[TopEntry[A]]]
-
def
intersect[B >: TopEntry[A]](that: GenSeq[B]): Seq[TopEntry[A]]
-
def
isDefinedAt(idx: Int): Boolean
-
def
isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
isTraversableAgain: Boolean
-
-
-
def
lastIndexOf[B >: TopEntry[A]](elem: B, end: Int): Int
-
def
lastIndexOf[B >: TopEntry[A]](elem: B): Int
-
def
lastIndexOfSlice[B >: TopEntry[A]](that: GenSeq[B], end: Int): Int
-
def
lastIndexOfSlice[B >: TopEntry[A]](that: GenSeq[B]): Int
-
def
lastIndexWhere(p: (TopEntry[A]) ⇒ Boolean, end: Int): Int
-
def
lastIndexWhere(p: (TopEntry[A]) ⇒ Boolean): Int
-
def
lastOption: Option[TopEntry[A]]
-
def
length: Int
-
def
lengthCompare(len: Int): Int
-
def
lift: (Int) ⇒ Option[TopEntry[A]]
-
def
map[B, That](f: (TopEntry[A]) ⇒ B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
-
def
maxBy[B](f: (TopEntry[A]) ⇒ B)(implicit cmp: Ordering[B]): TopEntry[A]
-
-
def
minBy[B](f: (TopEntry[A]) ⇒ B)(implicit cmp: Ordering[B]): TopEntry[A]
-
def
mkString: String
-
def
mkString(sep: String): String
-
def
mkString(start: String, sep: String, end: String): String
-
final
def
ne(arg0: AnyRef): Boolean
-
def
newBuilder: Builder[TopEntry[A], Seq[TopEntry[A]]]
-
def
nonEmpty: Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
orElse[A1 <: Int, B1 >: TopEntry[A]](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
-
def
padTo[B >: TopEntry[A], That](len: Int, elem: B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
par: ParSeq[TopEntry[A]]
-
def
parCombiner: Combiner[TopEntry[A], ParSeq[TopEntry[A]]]
-
def
partition(p: (TopEntry[A]) ⇒ Boolean): (Seq[TopEntry[A]], Seq[TopEntry[A]])
-
def
patch[B >: TopEntry[A], That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
permutations: Iterator[Seq[TopEntry[A]]]
-
def
prefixLength(p: (TopEntry[A]) ⇒ Boolean): Int
-
def
product[B >: TopEntry[A]](implicit num: Numeric[B]): B
-
def
reduce[A1 >: TopEntry[A]](op: (A1, A1) ⇒ A1): A1
-
def
reduceLeft[B >: TopEntry[A]](op: (B, TopEntry[A]) ⇒ B): B
-
def
reduceLeftOption[B >: TopEntry[A]](op: (B, TopEntry[A]) ⇒ B): Option[B]
-
def
reduceOption[A1 >: TopEntry[A]](op: (A1, A1) ⇒ A1): Option[A1]
-
def
reduceRight[B >: TopEntry[A]](op: (TopEntry[A], B) ⇒ B): B
-
def
reduceRightOption[B >: TopEntry[A]](op: (TopEntry[A], B) ⇒ B): Option[B]
-
def
repr: Seq[TopEntry[A]]
-
def
reverse: Seq[TopEntry[A]]
-
def
reverseIterator: Iterator[TopEntry[A]]
-
def
reverseMap[B, That](f: (TopEntry[A]) ⇒ B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
-
def
runWith[U](action: (TopEntry[A]) ⇒ U): (Int) ⇒ Boolean
-
def
sameElements[B >: TopEntry[A]](that: GenIterable[B]): Boolean
-
def
scan[B >: TopEntry[A], That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
scanLeft[B, That](z: B)(op: (B, TopEntry[A]) ⇒ B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
scanRight[B, That](z: B)(op: (TopEntry[A], B) ⇒ B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
segmentLength(p: (TopEntry[A]) ⇒ Boolean, from: Int): Int
-
def
seq: Seq[TopEntry[A]]
-
def
size: Int
-
def
slice(from: Int, until: Int): Seq[TopEntry[A]]
-
def
sliding(size: Int, step: Int): Iterator[Seq[TopEntry[A]]]
-
def
sliding(size: Int): Iterator[Seq[TopEntry[A]]]
-
def
sortBy[B](f: (TopEntry[A]) ⇒ B)(implicit ord: Ordering[B]): Seq[TopEntry[A]]
-
-
def
sorted[B >: TopEntry[A]](implicit ord: Ordering[B]): Seq[TopEntry[A]]
-
def
span(p: (TopEntry[A]) ⇒ Boolean): (Seq[TopEntry[A]], Seq[TopEntry[A]])
-
def
splitAt(n: Int): (Seq[TopEntry[A]], Seq[TopEntry[A]])
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
-
def
startsWith[B](that: GenSeq[B]): Boolean
-
def
stringPrefix: String
-
def
sum[B >: TopEntry[A]](implicit num: Numeric[B]): B
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
tail: Seq[TopEntry[A]]
-
def
tails: Iterator[Seq[TopEntry[A]]]
-
def
take(n: Int): Seq[TopEntry[A]]
-
def
takeRight(n: Int): Seq[TopEntry[A]]
-
def
takeWhile(p: (TopEntry[A]) ⇒ Boolean): Seq[TopEntry[A]]
-
def
thisCollection: Seq[TopEntry[A]]
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, TopEntry[A], Col[TopEntry[A]]]): Col[TopEntry[A]]
-
def
toArray[B >: TopEntry[A]](implicit arg0: ClassTag[B]): Array[B]
-
def
toBuffer[B >: TopEntry[A]]: Buffer[B]
-
def
toCollection(repr: Seq[TopEntry[A]]): Seq[TopEntry[A]]
-
def
toIndexedSeq: IndexedSeq[TopEntry[A]]
-
def
toIterable: Iterable[TopEntry[A]]
-
def
toIterator: Iterator[TopEntry[A]]
-
-
def
toMap[T, U](implicit ev: <:<[TopEntry[A], (T, U)]): Map[T, U]
-
def
toSeq: Seq[TopEntry[A]]
-
def
toSet[B >: TopEntry[A]]: Set[B]
-
def
toStream: Stream[TopEntry[A]]
-
def
toString(): String
-
def
toTraversable: Traversable[TopEntry[A]]
-
-
def
transpose[B](implicit asTraversable: (TopEntry[A]) ⇒ GenTraversableOnce[B]): Seq[Seq[B]]
-
def
union[B >: TopEntry[A], That](that: GenSeq[B])(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
unzip[A1, A2](implicit asPair: (TopEntry[A]) ⇒ (A1, A2)): (Seq[A1], Seq[A2])
-
def
unzip3[A1, A2, A3](implicit asTriple: (TopEntry[A]) ⇒ (A1, A2, A3)): (Seq[A1], Seq[A2], Seq[A3])
-
def
updated[B >: TopEntry[A], That](index: Int, elem: B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], B, That]): That
-
def
view(from: Int, until: Int): SeqView[TopEntry[A], Seq[TopEntry[A]]]
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
def
withFilter(p: (TopEntry[A]) ⇒ Boolean): FilterMonadic[TopEntry[A], Seq[TopEntry[A]]]
-
def
zip[A1 >: TopEntry[A], B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Seq[TopEntry[A]], (A1, B), That]): That
-
def
zipAll[B, A1 >: TopEntry[A], That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Seq[TopEntry[A]], (A1, B), That]): That
-
def
zipWithIndex[A1 >: TopEntry[A], That](implicit bf: CanBuildFrom[Seq[TopEntry[A]], (A1, Int), That]): That
Deprecated Value Members
-
def
/:\[A1 >: TopEntry[A]](z: A1)(op: (A1, A1) ⇒ A1): A1
Inherited from Equals
Inherited from GenTraversable[TopEntry[A]]
Inherited from GenericTraversableTemplate[TopEntry[A], Seq]
Inherited from TraversableOnce[TopEntry[A]]
Inherited from GenTraversableOnce[TopEntry[A]]
Inherited from PartialFunction[Int, TopEntry[A]]
Inherited from Any
For gathering a sorted list of at most N indexed entries, sorted by a floating-point score.