SixteenNibbles

dotty.tools.dotc.util.SixteenNibbles
See theSixteenNibbles companion object
final class SixteenNibbles(val bits: Long) extends AnyVal

An efficient implementation of sequences of 16 indexed elements with values 0..15 in a single Long.

Attributes

Companion:
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def apply(idx: Int): Int
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns:

a string representation of the object.

Definition Classes
Any
def updated(idx: Int, value: Int): SixteenNibbles

Concrete fields

val bits: Long