public class Int2FS<T extends TOP> extends TOP implements UimaSerializableFSs, Cloneable
Modifier and Type | Field and Description |
---|---|
static String |
_FeatName_fsArray |
static String |
_FeatName_intArray |
static String |
_TypeName |
static int |
type |
static int |
typeIndexID |
_singleton
Modifier | Constructor and Description |
---|---|
protected |
Int2FS()
Never called.
|
|
Int2FS(JCas jcas) |
|
Int2FS(JCas jcas,
int length)
Make a new Int2FS map with an initial capacity.
|
|
Int2FS(org.apache.uima.cas.impl.TypeImpl type,
org.apache.uima.cas.impl.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.
|
org.apache.uima.cas.impl.FeatureStructureImplC |
_superClone() |
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
T |
get(int key) |
int |
getTypeIndexID() |
boolean |
isEmpty()
Checks if is empty.
|
Iterator<IntEntry<T>> |
iterator() |
T |
put(int key,
T value) |
T |
remove(int key) |
int |
size() |
String |
toString() |
Collection<T> |
values() |
_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, equals, getAddress, getBooleanValue, getByteValue, getCAS, getCASImpl, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getLowLevelCas, getShortValue, getStringValue, getType, hashCode, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrintShort, removeFromIndexes, removeFromIndexes, removeFromIndexes, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toShortString, toString, wrapGetIntCatchException
finalize, getClass, notify, notifyAll, wait, wait, wait
_save_fsRefs_to_cas_data
_reset_cas_data, clone
getJCas
public static final String _TypeName
public static final int typeIndexID
public static final int type
public static final String _FeatName_fsArray
public static final String _FeatName_intArray
protected Int2FS()
public Int2FS(org.apache.uima.cas.impl.TypeImpl type, org.apache.uima.cas.impl.CASImpl casImpl)
casImpl
- the CAS this Feature Structure belongs totype
- the type of this Feature Structurepublic Int2FS(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Int2FS(JCas jcas, int length)
jcas
- The JCaslength
- initial sizepublic int getTypeIndexID()
getTypeIndexID
in class TOP
public void _init_from_cas_data()
_init_from_cas_data
in interface UimaSerializable
public void _save_to_cas_data()
UimaSerializable
_save_to_cas_data
in interface UimaSerializable
public org.apache.uima.cas.impl.FeatureStructureImplC _superClone()
_superClone
in interface UimaSerializable
public Collection<T> values()
public String toString()
toString
in class org.apache.uima.cas.impl.FeatureStructureImplC
public int size()
public boolean isEmpty()
HashSet.isEmpty()
public boolean containsKey(Object key)
public boolean containsValue(Object value)
public T get(int key)
public T remove(int key)
public void clear()
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.