SizeCompareOps

final class SizeCompareOps extends AnyVal

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

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

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

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.

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.

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.

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.

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.

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.

Concrete fields

val it: IterableOps[_, AnyConstr, _]