On this page
Class scala.collection.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)
.
Supertypes |
---|
Concrete methods
Source@inline
Tests if the size of the collection is not equal to some value.
Source@inline
Tests if the size of the collection is less than some value.
Source@inline
Tests if the size of the collection is less than or equal to some value.
Source@inline
Tests if the size of the collection is equal to some value.
Source@inline
Tests if the size of the collection is greater than some value.
Source@inline
Tests if the size of the collection is greater than or equal to some value.
Concrete fields
Source
val it: IterableOps[_, AnyConstr, _]
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/collection/IterableOps$$SizeCompareOps.html