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).

Source
Iterable.scala
class AnyVal
trait Matchable
class Any

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.

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.

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.

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.

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.

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.

Source
Iterable.scala

Concrete fields