Bag

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(int capacity)
Undocumented in source.

Members

Functions

add
void add(E e)
Undocumented in source. Be warned that the author may not have intended to support it.
addAll
void addAll(Bag!E items)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
contains
bool contains(E e)
Undocumented in source. Be warned that the author may not have intended to support it.
ensureCapacity
void ensureCapacity(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
get
E get(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
getCapacity
size_t getCapacity()
Undocumented in source. Be warned that the author may not have intended to support it.
isEmpty
bool isEmpty()
Undocumented in source. Be warned that the author may not have intended to support it.
isIndexWithinBounds
bool isIndexWithinBounds(int index)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
E remove(size_t index)
Undocumented in source. Be warned that the author may not have intended to support it.
remove
bool remove(E e)
Undocumented in source. Be warned that the author may not have intended to support it.
removeAll
bool removeAll(Bag!E bag)
Undocumented in source. Be warned that the author may not have intended to support it.
removeLast
E removeLast()
Undocumented in source. Be warned that the author may not have intended to support it.
set
void set(int index, E e)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

size
size_t size [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
size
int size [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta