SizeCompareOps

scala.collection.IterableOps$.SizeCompareOps
final class SizeCompareOps extends AnyVal

Operations for comparing the size of a collection to a test value.

These operations are implemented in terms of sizeCompare(Int).

Attributes

Source:
Iterable.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def !=(size: Int): Boolean

Tests if the size of the collection is not equal to some value.

Tests if the size of the collection is not equal to some value.

Attributes

Source:
Iterable.scala
def <(size: Int): Boolean

Tests if the size of the collection is less than some value.

Tests if the size of the collection is less than some value.

Attributes

Source:
Iterable.scala
def <=(size: Int): Boolean

Tests if the size of the collection is less than or equal to some value.

Tests if the size of the collection is less than or equal to some value.

Attributes

Source:
Iterable.scala
def ==(size: Int): Boolean

Tests if the size of the collection is equal to some value.

Tests if the size of the collection is equal to some value.

Attributes

Source:
Iterable.scala
def >(size: Int): Boolean

Tests if the size of the collection is greater than some value.

Tests if the size of the collection is greater than some value.

Attributes

Source:
Iterable.scala
def >=(size: Int): Boolean

Tests if the size of the collection is greater than or equal to some value.

Tests if the size of the collection is greater than or equal to some value.

Attributes

Source:
Iterable.scala

Concrete fields

val it: IterableOps[_, AnyConstr, _]

Attributes

Source:
Iterable.scala