| Access | Constructor and Description |
|---|---|
| public | |
| public | XAtomList(long data, int count)
Creates instance of XAtomList and initializes it with
the contents pointer by |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | |
| public XAtom[] | |
| public long | getAtomsData()
Returns contents of the list as pointer to native data The size of the native data is size of the list multiplied by size of the Atom type on the platform. |
| private void | |
| private void | |
| public Iterator | |
| public void | |
| public int | |
| public XAtomList | |
| public String |
| atoms | back to summary |
|---|---|
| pack-priv Set<XAtom> atoms | |
| XAtomList | back to summary |
|---|---|
| public XAtomList() Creates empty list. | |
| XAtomList | back to summary |
|---|---|
| public XAtomList(long data, int count) Creates instance of XAtomList and initializes it with
the contents pointer by | |
| XAtomList | back to summary |
|---|---|
| public XAtomList(XAtom[] atoms) Creates instance of XAtomList and initializes it with the arrays of atoms. Array can contain null atoms. | |
| add | back to summary |
|---|---|
| public void add(XAtom atom) Add atom to the list. Does nothing if list already contains this atom. | |
| addAll | back to summary |
|---|---|
| public void addAll(XAtomList atoms) Merges without duplicates all the atoms from another list | |
| contains | back to summary |
|---|---|
| public boolean contains(XAtom atom) Returns true if this list contains the atom | |
| getAtoms | back to summary |
|---|---|
| public XAtom[] getAtoms() Returns contents of the list as array of atoms. | |
| getAtomsData | back to summary |
|---|---|
| public long getAtomsData() Returns contents of the list as pointer to native data The size of the native data is size of the list multiplied by size of the Atom type on the platform. Caller is responsible for freeing the data by Unsafe.freeMemory when it is no longer needed. | |
| init | back to summary |
|---|---|
| private void init(long data, int count) | |
| init | back to summary |
|---|---|
| private void init(XAtom[] atoms) | |
| iterator | back to summary |
|---|---|
| public Iterator Returns iterator for items. | |
| remove | back to summary |
|---|---|
| public void remove(XAtom atom) Removes atom from the list. Does nothing if arrays doesn't contain this atom. | |
| size | back to summary |
|---|---|
| public int size() Returns size of the list | |
| subset | back to summary |
|---|---|
| public XAtomList subset(int mask, Map<Integer, XAtom> mapping) Returns a subset of a list which is intersection of this set and set build by mapping | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |