implicit final class KollFlitzRandomIndexedSeq[A, CC[~] <: IndexedSeq[~]] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- KollFlitzRandomIndexedSeq
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new KollFlitzRandomIndexedSeq(self: CC[A])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
choose()(implicit random: Random): A
Returns a randomly chosen element from the collection.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val self: CC[A]
-
def
shuffle[To]()(implicit random: Random, cbf: CanBuildFrom[CC[A], A, To]): To
Returns a new collection with the same contents as the input collection, but in random order.
-
def
toString(): String
- Definition Classes
- Any
- def toUrn(infinite: Boolean)(implicit random: Random): Iterator[A]
- def toUrn(implicit random: Random): Iterator[A]
Deprecated Value Members
-
def
scramble[To]()(implicit random: Random, cbf: CanBuildFrom[CC[A], A, To]): To
Alias for
shuffle.Alias for
shuffle.- Annotations
- @deprecated
- Deprecated
(Since version 0.2.2) Use 'shuffle' instead