public class FSHashSet<T extends TOP> extends TOP implements UimaSerializableFSs, SelectViaCopyToArray, Set<T>, RandomAccess, Cloneable
FeatureStructureImplC.PrintReferences| Modifier and Type | Field and Description | 
|---|---|
| static String | _FeatName_fsArray | 
| static String | _TypeName | 
| static int | type | 
| static int | typeIndexID | 
_singleton_casView, _id, DISABLE_RUNTIME_FEATURE_VALIDATION, DISABLE_RUNTIME_FEATURE_VALUE_VALIDATION, IS_ENABLE_RUNTIME_FEATURE_VALIDATION, IS_ENABLE_RUNTIME_FEATURE_VALUE_VALIDATION, IS_V2_PRETTY_PRINT, V2_PRETTY_PRINT| Modifier | Constructor and Description | 
|---|---|
| protected  | FSHashSet()Never called. | 
|   | FSHashSet(HashSet<T> set,
         JCas jcas) | 
|   | FSHashSet(HashSet<T> set,
         JCas jcas,
         int length) | 
|   | FSHashSet(HashSet<T> set,
         TypeImpl type,
         CASImpl casImpl) | 
|   | FSHashSet(JCas jcas) | 
|   | FSHashSet(JCas jcas,
         int length)Make a new HashSet with an initial size . | 
|   | FSHashSet(TypeImpl type,
         CASImpl casImpl)Internal - constructor used by generator | 
| Modifier and Type | Method and Description | 
|---|---|
| void | _init_from_cas_data() | 
| void | _save_to_cas_data()This method is called by the framework before serialization of an instance of this JCas class. | 
| FeatureStructureImplC | _superClone() | 
| T[] | _toArrayForSelect() | 
| boolean | add(T e)Adds the element to the set. | 
| boolean | addAll(Collection<? extends T> c)Adds all the elements . | 
| void | clear()Clear. | 
| boolean | contains(Object o)Contains. | 
| boolean | containsAll(Collection<?> c)Contains all. | 
| boolean | equals(Object o)A feature structure is equal to another feature structure iff it is identical in the underlying
 representation. | 
| int | getTypeIndexID() | 
| int | hashCode()Will return a hash code that's consistent with equality, i.e., if two FSs are equal, they will
 also return the same hash code. | 
| boolean | isEmpty()Checks if is empty. | 
| Iterator<T> | iterator() | 
| boolean | remove(Object o)Removes the element. | 
| boolean | removeAll(Collection<?> c) | 
| boolean | retainAll(Collection<?> c)Retain all. | 
| int | size()Size. | 
| Spliterator<T> | spliterator()Spliterator. | 
| T[] | toArray() | 
| <N> N[] | toArray(N[] a) | 
| String | toString() | 
_createJCasHashMapReserve, _createSearchKey_copyIntAndRefArraysEqTypesFrom, _copyIntAndRefArraysFrom, _copyIntArrayEqTypesFrom, _getBooleanValueNc, _getBooleanValueNc, _getByteValueNc, _getByteValueNc, _getDoubleValueNc, _getDoubleValueNc, _getFeatFromAdjOffset, _getFeatureValueNc, _getFeatureValueNc, _getFloatValueNc, _getFloatValueNc, _getIntLikeValue, _getIntValueNc, _getIntValueNc, _getLongValueNc, _getLongValueNc, _getRefValueCommon, _getShortValueNc, _getShortValueNc, _getStringValueNc, _getStringValueNc, _getTypeCode, _getTypeImpl, _getView, _id, _inSetSortedIndex, _isJCasHashMapReserve, _isPearTrampoline, _maybeGetBaseForPearFs, _maybeGetBaseForPearFs, _maybeGetPearFs, _maybeGetPearFs, _resetInSetSortedIndex, _setBooleanValueNcNj, _setBooleanValueNcNj, _setBooleanValueNfc, _setByteValueNcNj, _setByteValueNcNj, _setByteValueNfc, _setDoubleValueNcNj, _setDoubleValueNcNj, _setDoubleValueNfc, _setFeatureValueNcNj, _setFeatureValueNcNj, _setFeatureValueNcWj, _setFloatValueNcNj, _setFloatValueNcNj, _setFloatValueNfc, _setInSetSortedIndexed, _setIntLikeValue, _setIntLikeValueNcNj, _setIntValueCJ, _setIntValueNcNj, _setIntValueNcNj, _setIntValueNfc, _setIntValueNfcCJ, _setJCasHashMapReserve, _setLongValueCJ, _setLongValueNcNj, _setLongValueNcNj, _setLongValueNfc, _setLongValueNfcCJ, _setPearTrampoline, _setRefValueCJ, _setRefValueCommon, _setRefValueCommonWj, _setRefValueNfcCJ, _setShortValueNcNj, _setShortValueNcNj, _setShortValueNfc, _setStringValueNcNj, _setStringValueNcWj, _setStringValueNfc, _setTypeImpl, addStringOrPrimitive, addToIndexes, addToIndexes, addToIndexes, clone, compare, getAddress, getBooleanValue, getByteValue, getCAS, getCASImpl, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getLowLevelCas, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrintShort, removeFromIndexes, removeFromIndexes, removeFromIndexes, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toShortString, toString, wrapGetIntCatchExceptionfinalize, getClass, notify, notifyAll, wait, wait, wait_save_fsRefs_to_cas_data_reset_cas_data, clone_getView, select, select, select, select, selectparallelStream, removeIf, streamgetJCaspublic static final String _TypeName
public static final int typeIndexID
public static final int type
public static final String _FeatName_fsArray
protected FSHashSet()
public FSHashSet(TypeImpl type, CASImpl casImpl)
casImpl - the CAS this Feature Structure belongs totype - the type of this Feature Structurepublic FSHashSet(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic FSHashSet(JCas jcas, int length)
jcas - The JCaslength - initial sizepublic int getTypeIndexID()
getTypeIndexID in class TOPpublic void _init_from_cas_data()
_init_from_cas_data in interface UimaSerializablepublic void _save_to_cas_data()
UimaSerializable_save_to_cas_data in interface UimaSerializablepublic T[] _toArrayForSelect()
_toArrayForSelect in interface SelectViaCopyToArraypublic FeatureStructureImplC _superClone()
_superClone in interface UimaSerializablepublic boolean equals(Object o)
FeatureStructureequals in interface Collection<T extends TOP>equals in interface Set<T extends TOP>equals in interface FeatureStructureequals in class FeatureStructureImplCpublic int hashCode()
FeatureStructurehashCode in interface Collection<T extends TOP>hashCode in interface Set<T extends TOP>hashCode in interface FeatureStructurehashCode in class FeatureStructureImplCpublic T[] toArray()
public boolean removeAll(Collection<?> c)
public <N> N[] toArray(N[] a)
public int size()
size in interface Collection<T extends TOP>size in interface Set<T extends TOP>HashSet.size()public boolean isEmpty()
isEmpty in interface Collection<T extends TOP>isEmpty in interface Set<T extends TOP>HashSet.isEmpty()public boolean contains(Object o)
contains in interface Collection<T extends TOP>contains in interface Set<T extends TOP>o - the oHashSet.contains(java.lang.Object)public boolean add(T e)
add in interface Collection<T extends TOP>add in interface Set<T extends TOP>e - the element to addHashSet.add(java.lang.Object)public boolean remove(Object o)
remove in interface Collection<T extends TOP>remove in interface Set<T extends TOP>o - the oHashSet.remove(java.lang.Object)public void clear()
clear in interface Collection<T extends TOP>clear in interface Set<T extends TOP>HashSet.clear()public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T extends TOP>containsAll in interface Set<T extends TOP>c - the cAbstractCollection.containsAll(java.util.Collection)public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T extends TOP>addAll in interface Set<T extends TOP>c - the cAbstractCollection.addAll(java.util.Collection)public Spliterator<T> spliterator()
spliterator in interface Iterable<T extends TOP>spliterator in interface Collection<T extends TOP>spliterator in interface Set<T extends TOP>HashSet.spliterator()public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T extends TOP>retainAll in interface Set<T extends TOP>c - the cAbstractCollection.retainAll(java.util.Collection)public String toString()
toString in class FeatureStructureImplCCopyright © 2006–2022 The Apache Software Foundation. All rights reserved.