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

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

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

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

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

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

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

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

Concrete fields

val it: IterableOps[_, AnyConstr, _]