SizeBound

object SizeBound

Companion for SizeBound.

Companion
class
trait Product
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

Inherited from
Mirror

Value members

Methods

def atLeast(size: Long): SizeBound

Creates a bound with the specified lower bound and no upper bound.

def atMost(size: Long): SizeBound

Creates a bound with a lower bound of 0 and the specified upper bound.

def bounded(lower: Long, upper: Long): SizeBound

Creates a bound with the specified lower and upper bounds.

def choice(bounds: Iterable[SizeBound]): SizeBound

Returns the union of all of the specified bounds, or an exact 0 size if the specified collection is empty.

def exact(size: Long): SizeBound

Creates a bound for an exact size.

Fields

Bound that indicates nothing is known about the size of encoded vectors.