Package org.qdl_lang.variables
Class StemKeys
- java.lang.Object
- 
- org.qdl_lang.variables.StemKeys
 
- 
 public class StemKeys extends Object implements Set<QDLKey> A set for looping through keys of a stem. This manages long indices and string keys. This will keep the keys in order and will process long keys first, then string keys.
 N.B. it produces keys that are Objects.Created by Jeff Gaynor 
 on 5/12/22 at 6:44 AM
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classStemKeys.MyStemKeyIterator
 - 
Constructor SummaryConstructors Constructor Description StemKeys()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadd(QDLKey qdlKey)booleanaddAll(Collection c)This will let you add collection so POJOs though it is more expensivevoidclear()booleancontains(Object o)booleancontainsAll(Collection c)TreeSet<LongValue>getListkeys()TreeSet<StringValue>getStemKeys()booleanisEmpty()Iterator<QDLKey>iterator()booleanremove(Object o)booleanremoveAll(Collection c)booleanretainAll(Collection c)voidsetListkeys(TreeSet<LongValue> listkeys)voidsetStemKeys(TreeSet<StringValue> stemKeys)intsize()Object[]toArray()Object[]toArray(Object[] a)- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.util.CollectionparallelStream, removeIf, stream, toArray
 - 
Methods inherited from interface java.util.Setequals, hashCode, spliterator
 
- 
 
- 
- 
- 
Method Detail- 
addpublic boolean add(QDLKey qdlKey) 
 - 
getStemKeyspublic TreeSet<StringValue> getStemKeys() 
 - 
setStemKeyspublic void setStemKeys(TreeSet<StringValue> stemKeys) 
 - 
sizepublic int size() 
 - 
isEmptypublic boolean isEmpty() 
 - 
containspublic boolean contains(Object o) 
 - 
toArraypublic Object[] toArray() 
 - 
removepublic boolean remove(Object o) 
 - 
containsAllpublic boolean containsAll(Collection c) - Specified by:
- containsAllin interface- Collection<QDLKey>
- Specified by:
- containsAllin interface- Set<QDLKey>
 
 - 
addAllpublic boolean addAll(Collection c) This will let you add collection so POJOs though it is more expensive
 - 
retainAllpublic boolean retainAll(Collection c) 
 - 
removeAllpublic boolean removeAll(Collection c) 
 
- 
 
-