IntByteBufferMap

final class IntByteBufferMap
class Object
trait Matchable
class Any

Value members

Concrete methods

final def apply(key: Int): ByteBuffer

Return the key's current value in the map, throwing an exception if the key is not found.

Return the key's current value in the map, throwing an exception if the key is not found.

On average, this is an O(1) operation; the (unlikely) worst-case is O(n).

def clear(): Unit
final def update(key: Int, value: ByteBuffer): Unit

This method stores associates value with key.

This method stores associates value with key.

If a previous value was associated with the key, it is overwritten.

This method is usually invoked as map(key) = value, but can also be invoked as map.update(key, value).

On average, this is an amortized O(1) operation; the worst-case is O(n), which will happen when the map needs to be resized.

Concrete fields

var buckets: Array[Byte]
var keys: Array[Int]
var len: Int
var limit: Int
var mask: Int
var used: Int
var vals: Array[ByteBuffer]