Package com.epam.fix.message
Class FIXFieldListAdapter
java.lang.Object
com.epam.fix.message.IndexedStorage
com.epam.fix.message.ExtendedIndexedStorage
com.epam.fix.message.HPExtendedIndexedStorage
com.epam.fix.message.AbstractFIXFieldList
com.epam.fix.message.FIXFieldListAdapter
- Direct Known Subclasses:
FIXFieldList
Created by IntelliJ IDEA.
User: Alexander_Sereda
Date: 12.11.12
Time: 13:06
To change this template use File | Settings | File Templates.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.epam.fix.message.IndexedStorage
IndexedStorage.MISSING_TAG_HANDLING -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.epam.fix.message.FIXFieldListAdapter.FIXFieldIteratorprotected FIXFieldStorageFields inherited from class com.epam.fix.message.AbstractFIXFieldList
forceCloneOnSend, isFree, isMessageIncomplete, isPreparedMessage, tagValueIterator, uid, UNINITIALIZED_UIDFields inherited from class com.epam.fix.message.ExtendedIndexedStorage
NOT_AN_INT_VALUE_ERRORFields inherited from class com.epam.fix.message.IndexedStorage
FIELD_SEPARATOR, NOTFOUND -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedFIXFieldListAdapter(boolean isUserOwned) protectedFIXFieldListAdapter(FIXFieldList message) FIXFieldListAdapter(List<FIXField> message) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(int tag, byte[] val) Deprecated.voidadd(int tag, long val) Deprecated.voidDeprecated.voidDeprecated.final booleanDeprecated.voidadd(FIXFieldList list) voidDeprecated.booleanaddAll(int index, Collection<? extends FIXField> c) Deprecated.final booleanaddAll(Collection<? extends FIXField> c) Deprecated.final voidaddAtIndex(int addAtIndex, FIXField field) Deprecated.voidclear()booleanDeprecated.booleancontainsAll(Collection<?> c) Deprecated.protected voiddeepCopy(IndexedStorage source) extractGroup(int rgTag, int[] tagList) Deprecated.extractGroup(int rgTag, int rgFirstTag, int[] tagList) Deprecated.final FIXFieldget(int index) Deprecated.getFIXField(int index, boolean isOriginatingFromPool) Deprecated.final FIXFieldgetTag(int tag) Deprecated.final FIXFieldgetTag(int tag, int occurrence) Deprecated.final intgetTagAsInt(int tag) Deprecated.final intgetTagAsInt(int tag, int occurrence) Deprecated.final intgetTagAsIntAtIndex(int index) Deprecated.final FIXFieldgetTagAtIndex(int index) Deprecated.final StringgetTagStringValue(int tag) Deprecated.intDeprecated.final booleanisEmpty()protected static booleaniterator()Deprecated.intDeprecated.Deprecated.listIterator(int index) Deprecated.protected voidonEnlarge(int ratio, int newSize) remove(int index) Deprecated.booleanDeprecated.booleanremoveAll(Collection<?> c) Deprecated.voidremoveRange(int fromIndex, int toIndex) booleanremoveTagAtIndex(int tagIndex, boolean shiftRG) intreserveTagAtIndex(int addAtIndex, int tagId) booleanretainAll(Collection<?> c) Deprecated.Deprecated.final intsize()splitAsList(int tag) Deprecated.subList(int fromIndex, int toIndex) Deprecated.Object[]toArray()Deprecated.<T> T[]toArray(T[] a) Deprecated.voidDeprecated.voidupdateValueAtIndex(int index, boolean value) voidupdateValueAtIndex(int index, byte[] value) voidupdateValueAtIndex(int index, byte[] value, int offset, int length) voidupdateValueAtIndex(int index, double value, int precision) voidupdateValueAtIndex(int index, long value) voidupdateValueAtIndex(int index, TagValue value) voidupdateValueAtIndex(int index, CharSequence str) voidupdateValueAtIndex(int index, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type) Methods inherited from class com.epam.fix.message.AbstractFIXFieldList
add, addAll, calculateBodyLength, calculateChecksum, canCopyInPlace, canCopyInPlaceNumber, clearUid, deepCopyTo, equals, getTagIndex, getTagLength, getTagNumAtIndex, getTagValueIterator, getUid, hashCode, initUid, isMessageBufferContinuous, isMessageIncomplete, isOriginatingFromPool, isPreparedMessage, isUserOwned, makeStandalone, notifyInvalidMessage, removeTag, setUid, split, switchToStandalone, toByteArray, toByteArrayAndReturnNextPosition, toPrintableString, toPrintableString, toStringMethods inherited from class com.epam.fix.message.HPExtendedIndexedStorage
getTagValueAsLocalMktTime, getTagValueAsLocalMktTime, getTagValueAsLocalMktTimeAtIndex, getTagValueAsTimeOnly, getTagValueAsTimeOnly, getTagValueAsTimeOnlyAtIndex, getTagValueAsTimestamp, getTagValueAsTimestamp, getTagValueAsTimestampAtIndex, getTagValueAsTZTimeOnly, getTagValueAsTZTimeOnly, getTagValueAsTZTimeOnlyAtIndex, getTagValueAsTZTimestamp, getTagValueAsTZTimestamp, getTagValueAsTZTimestampAtIndex, set, set, set, set, set, set, set, set, setAtIndex, setAtIndex, setAtIndex, setAtIndexMethods inherited from class com.epam.fix.message.ExtendedIndexedStorage
addTag, addTag, addTag, addTagAtIndex, addTagAtIndex, addTagAtIndex, getBytes, getMsgSeqNumber, getMsgType, getMsgType, getMsgVersion, getTagValueAsBigDecimal, getTagValueAsBigDecimal, getTagValueAsBool, getTagValueAsBool, getTagValueAsByte, getTagValueAsByte, getTagValueAsByte, getTagValueAsByteAtIndex, getTagValueAsBytes, getTagValueAsBytes, getTagValueAsBytes, getTagValueAsBytes, getTagValueAsDateOnly, getTagValueAsDateOnly, getTagValueAsDateOnlyAtIndex, getTagValueAsDouble, getTagValueAsDouble, getTagValueAsInt, getTagValueAsInt, getTagValueAsIntAtIndex, getTagValueAsLocalMktTime, getTagValueAsLocalMktTime, getTagValueAsLocalMktTimeAtIndex, getTagValueAsLong, getTagValueAsLong, getTagValueAsMonthYear, getTagValueAsMonthYear, getTagValueAsMonthYearAtIndex, getTagValueAsReusableString, getTagValueAsReusableString, getTagValueAsString, getTagValueAsString, getTagValueAsStringBuff, getTagValueAsStringBuff, getTagValueAsTenor, getTagValueAsTenor, getTagValueAsTenorAtIndex, getTagValueAsTimeOnly, getTagValueAsTimeOnly, getTagValueAsTimeOnlyAtIndex, getTagValueAsTimestamp, getTagValueAsTimestamp, getTagValueAsTimestampAtIndex, getTagValueAsTZTimeOnly, getTagValueAsTZTimeOnly, getTagValueAsTZTimeOnlyAtIndex, getTagValueAsTZTimestamp, getTagValueAsTZTimestamp, getTagValueAsTZTimestampAtIndex, hasTagValue, isTagValueEqual, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndex, setAtIndexMethods inherited from class com.epam.fix.message.IndexedStorage
addRepeatingGroup, addRepeatingGroup, addRepeatingGroup, addRepeatingGroup, addRepeatingGroupAtIndex, addRepeatingGroupAtIndex, addRepeatingGroupAtIndex, addRepeatingGroupAtIndex, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTag, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndex, addTagAtIndexForRg, canCopyInPlaceWithLengthReducing, clearUnserializableTags, copyRepeatingGroup, copyRepeatingGroup, copyRepeatingGroup, copyRepeatingGroup, ensureCapacityAndEnlarge, ensureCapacityAndEnlarge, fillSubStorage, findOrPrepareToAdd, findOrPrepareToAdd, genericMessageToByteArrayAndReturnNextPosition, getFieldIndexData, getFIXVersion, getIndexCapacity, getNumOfGroup, getOrAddRepeatingGroup, getOrAddRepeatingGroup, getOrAddRepeatingGroupAtIndex, getOrAddRepeatingGroupAtIndex, getRawLength, getRepeatingGroup, getRepeatingGroup, getRepeatingGroupAtIndex, getRepeatingGroupAtIndex, getSize, getStorage, getStorageType, getTag, getTag, getTagAtIndex, getTagIdAtIndex, getTagIndex, getTagIndexBetween, getTagIndexStartingFrom, getTagValueAsBigDecimalAtIndex, getTagValueAsBoolAtIndex, getTagValueAsByteAtIndex, getTagValueAsBytesAtIndex, getTagValueAsBytesAtIndex, getTagValueAsDoubleAtIndex, getTagValueAsLongAtIndex, getTagValueAsReusableStringAtIndex, getTagValueAsStringAtIndex, getTagValueAsStringBuffAtIndex, getTagValueAtIndex, getTagValueLength, getTagValueLength, getTagValueLengthAtIndex, getTagValueOffsetAtIndex, invalidateRepeatingGroupIndex, isAllTagsInOneBuffer, isRepeatingGroupExists, isTagExists, isTagExists, mapPreparedTagInOrigStorage, mapTagInOrigStorage, markUnserializableTag, preparedToByteArrayAndReturnNextPosition, preparedToByteArrayAndReturnNextPosition2, removeRepeatingGroup, removeRepeatingGroupAtIndex, removeTag, removeTagAtIndex, reserveTagAtIndex, reserveTagAtIndexForRg, setOriginalBuffer, toByteArrayAndReturnNextPosition, transferDataToArena, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValue, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndex, updateValueAtIndexMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Field Details
-
fieldIterator
protected com.epam.fix.message.FIXFieldListAdapter.FIXFieldIterator fieldIterator -
fixFields
-
-
Constructor Details
-
FIXFieldListAdapter
protected FIXFieldListAdapter() -
FIXFieldListAdapter
protected FIXFieldListAdapter(boolean isUserOwned) -
FIXFieldListAdapter
Deprecated.CreatesFIXFieldListcontaining the elements of the specified collection.- Parameters:
message- - the collection whose fields are to be placed into this list
-
FIXFieldListAdapter
-
-
Method Details
-
onEnlarge
protected void onEnlarge(int ratio, int newSize) - Overrides:
onEnlargein classIndexedStorage
-
updateValueAtIndex
public void updateValueAtIndex(int index, byte[] value) - Overrides:
updateValueAtIndexin classIndexedStorage
-
updateValueAtIndex
public void updateValueAtIndex(int index, Calendar value, FIXDateFormatterFactory.FIX_DATE_TYPE type) - Overrides:
updateValueAtIndexin classIndexedStorage
-
updateValueAtIndex
public void updateValueAtIndex(int index, double value, int precision) - Overrides:
updateValueAtIndexin classIndexedStorage
-
updateValueAtIndex
public void updateValueAtIndex(int index, long value) - Overrides:
updateValueAtIndexin classIndexedStorage
-
updateValueAtIndex
- Overrides:
updateValueAtIndexin classIndexedStorage
-
updateValueAtIndex
public void updateValueAtIndex(int index, boolean value) - Overrides:
updateValueAtIndexin classIndexedStorage
-
updateValueAtIndex
public void updateValueAtIndex(int index, byte[] value, int offset, int length) - Overrides:
updateValueAtIndexin classIndexedStorage
-
updateValueAtIndex
- Overrides:
updateValueAtIndexin classIndexedStorage
-
removeTagAtIndex
public boolean removeTagAtIndex(int tagIndex, boolean shiftRG) - Overrides:
removeTagAtIndexin classIndexedStorage
-
reserveTagAtIndex
public int reserveTagAtIndex(int addAtIndex, int tagId) - Overrides:
reserveTagAtIndexin classIndexedStorage
-
deepCopy
- Overrides:
deepCopyin classIndexedStorage
-
trimToSize
Deprecated. -
size
public final int size() -
isEmpty
public final boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<FIXField>- Specified by:
isEmptyin interfaceList<FIXField>- Overrides:
isEmptyin classAbstractFIXFieldList
-
contains
Deprecated. -
iterator
Deprecated. -
toArray
Deprecated. -
toArray
Deprecated. -
add
Deprecated. -
getTagStringValue
Deprecated.Gets string value.- Parameters:
tag- the tag id- Returns:
- string value if tag exist, otherwise null
- Throws:
FieldNotFoundException
-
remove
Deprecated. -
containsAll
Deprecated.- Specified by:
containsAllin interfaceCollection<FIXField>- Specified by:
containsAllin interfaceList<FIXField>
-
addAll
Deprecated.Use addAllTags() instead of this -
add
-
add
Deprecated. -
addAll
Deprecated. -
removeRange
public void removeRange(int fromIndex, int toIndex) -
removeAll
Deprecated. -
retainAll
Deprecated. -
addAtIndex
Deprecated. -
clear
public void clear()- Specified by:
clearin interfaceCollection<FIXField>- Specified by:
clearin interfaceList<FIXField>- Overrides:
clearin classAbstractFIXFieldList
-
getFIXField
Deprecated. -
get
Deprecated. -
getTag
Deprecated.Gets field by tag.- Parameters:
tag- the tag id- Returns:
- field if tag exist, otherwise null
-
getTagAtIndex
Deprecated. -
getTag
Deprecated.Gets field by tag.- Parameters:
tag- the tag idoccurrence- the- Returns:
- method returns tag only if the counter of tag >= occurrence, otherwise returns null
-
set
Deprecated. -
add
Deprecated. -
add
Deprecated. -
add
Deprecated. -
add
Deprecated. -
remove
Deprecated. -
indexOf
Deprecated. -
lastIndexOf
Deprecated.- Specified by:
lastIndexOfin interfaceList<FIXField>
-
isEquals
-
listIterator
Deprecated.- Specified by:
listIteratorin interfaceList<FIXField>
-
listIterator
Deprecated.- Specified by:
listIteratorin interfaceList<FIXField>
-
subList
Deprecated. -
splitAsList
Deprecated.Utility method that splits current message into the repeating groups based on first mandatory tag in the repeating group (always first tag in the repeating group).- Parameters:
tag- the tag number- Returns:
- List of repeating groups (each one is separate FIXFieldList)
-
extractGroup
@Deprecated public final List<Map<Integer,FIXField>> extractGroup(int rgTag, int rgFirstTag, int[] tagList) Deprecated.Parse repeating group in FIX message- Parameters:
rgTag- Group amount tagrgFirstTag- The first tag. Tag just after size tag.tagList- List of expected tags- Returns:
- Repeating group
-
extractGroup
Deprecated.Parse repeating group in FIX message- Parameters:
rgTag- Group amount tagtagList- List of expected tags- Returns:
- Repeating group
-
getTagAsInt
Deprecated.replaced byExtendedIndexedStorage.getTagValueAsInt(int)- Throws:
FieldNotFoundException
-
getTagAsInt
Deprecated.- Throws:
FieldNotFoundException
-
getTagAsIntAtIndex
Deprecated.- Throws:
FieldNotFoundException
-
ExtendedIndexedStorage.getTagValueAsInt(int)