constructor
_comparator
_elements
initialized
Types of actions
get elements
set elements
Iterator
actionAdd
ACTION_ADD element
clear
ACTION_CLEAR set
actionDelete
ACTION_DELETE element
add
afterAction
beforeAction
Init comparator if not done yet (if set was instantiated without values e.g. new HashSet();)
clear
add
has
hasAll
hasNot
initComparator
isUnique
refresh
replaceAndPreventHook
replaceWithHook
size
toString
update
isHashableNumType
isHashableStrType
Generated using TypeDoc
HashSet
Hash Set - set uses Hashable.hashCode() to differentiate/distinguish elements. Also, depending on hashCode type (number or string) set uses either number comparison either string comparison (String.localeCompare)
This is extended, experimental version of Set implementing Observer pattern (Observable elements notify this - Observer Set about important changes which may affect order of elements or just structure of this Set)