Classes Files

Wombat::Containers::HashMap

Inherits from Wombat.Containers.Map, ICloneable

Public Functions

  Name
  HashMap(int initialCapacity, float loadFactor)
  HashMap(int initialCapacity)
  HashMap()
  HashMap(HashMap m)
int size()
bool isEmpty()
bool containsKey(object key)
bool containsValue(object value)
object valueOf(object key)
object put(object key, object value)
object remove(object key)
void putAll(Map m)
void clear()
Set keySet()
Collection values()
Set entrySet()
object Clone()
Creates a deep copy of this HashMap instance

Public Functions Documentation

function HashMap

HashMap(
    int initialCapacity,
    float loadFactor
)

function HashMap

HashMap(
    int initialCapacity
)

function HashMap

HashMap()

function HashMap

HashMap(
    HashMap m
)

function size

int size()

Reimplements: Wombat::Containers::Map::size

function isEmpty

bool isEmpty()

Reimplements: Wombat::Containers::Map::isEmpty

function containsKey

bool containsKey(
    object key
)

Reimplements: Wombat::Containers::Map::containsKey

function containsValue

bool containsValue(
    object value
)

Reimplements: Wombat::Containers::Map::containsValue

function valueOf

object valueOf(
    object key
)

Reimplements: Wombat::Containers::Map::valueOf

function put

object put(
    object key,
    object value
)

Reimplements: Wombat::Containers::Map::put

function remove

object remove(
    object key
)

Reimplements: Wombat::Containers::Map::remove

function putAll

void putAll(
    Map m
)

Reimplements: Wombat::Containers::Map::putAll

function clear

void clear()

Reimplements: Wombat::Containers::Map::clear

function keySet

Set keySet()

Reimplements: Wombat::Containers::Map::keySet

function values

Collection values()

Reimplements: Wombat::Containers::Map::values

function entrySet

Set entrySet()

Reimplements: Wombat::Containers::Map::entrySet

function Clone

object Clone()

Creates a deep copy of this HashMap instance

Return:


Updated on 2023-03-31 at 15:30:17 +0100