Package com.sun.jna
Class Structure.StructureSet
- Enclosing class:
- Structure
Avoid using a hash-based implementation since the hash code
            for a Structure is not immutable.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.util.AbstractCollectionaddAll, clear, containsAll, isEmpty, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArray
- 
Field Details- 
elementsStructure[] elements
 
- 
- 
Constructor Details- 
StructureSetStructureSet()
 
- 
- 
Method Details- 
getElements
- 
sizepublic int size()- Specified by:
- sizein interface- Collection<Structure>
- Specified by:
- sizein interface- Set<Structure>
- Specified by:
- sizein class- AbstractCollection<Structure>
 
- 
contains- Specified by:
- containsin interface- Collection<Structure>
- Specified by:
- containsin interface- Set<Structure>
- Overrides:
- containsin class- AbstractCollection<Structure>
 
- 
add- Specified by:
- addin interface- Collection<Structure>
- Specified by:
- addin interface- Set<Structure>
- Overrides:
- addin class- AbstractCollection<Structure>
 
- 
remove- Specified by:
- removein interface- Collection<Structure>
- Specified by:
- removein interface- Set<Structure>
- Overrides:
- removein class- AbstractCollection<Structure>
 
- 
iteratorSimple implementation so that toString() doesn't break. Provides an iterator over a snapshot of this Set.
 
-