HashMap

Undocumented in source.

Members

Aliases

KeyType
alias KeyType = Key
Undocumented in source.
ValueType
alias ValueType = T
Undocumented in source.

Functions

add
void add(Key k, T v)
Undocumented in source. Be warned that the author may not have intended to support it.
byKey
int byKey(int delegate(KeyType k) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
byKeyValue
int byKeyValue(int delegate(ref KeyType k, ref ValueType k) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
byValue
int byValue(int delegate(ref T k) dg)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get(Key k)
Undocumented in source. Be warned that the author may not have intended to support it.
getDefault
T getDefault(Key k, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
getInsertDefault
T getInsertDefault(Key k, T defaultValue)
Undocumented in source. Be warned that the author may not have intended to support it.
isIn
bool isIn(Key k)
Undocumented in source. Be warned that the author may not have intended to support it.
length
size_t length()
Undocumented in source. Be warned that the author may not have intended to support it.
remove
void remove(Key k)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
void toString(void delegate(const(char)[]) sink, FormatSpec!char fmt)

Preety print

tryRemove
bool tryRemove(Key k)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

set
HashSet!(Key, defaultHashFunc, ValueType) set;
Undocumented in source.

Meta