Package com.tangosol.io.pof
Class ValidatingPofHandler.ComplexMap
java.lang.Object
com.tangosol.util.Base
com.tangosol.io.pof.ValidatingPofHandler.Complex
com.tangosol.io.pof.ValidatingPofHandler.ComplexMap
- Enclosing class:
- ValidatingPofHandler
A ComplexMap object represents a map data structure (potentially with
 uniform keys or with uniform keys and values) in the POF stream.
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tangosol.util.BaseBase.LoggingWriter
- 
Field Summary
- 
Constructor SummaryConstructorsConstructorDescriptionComplexMap(ValidatingPofHandler.Complex complexCurrent, int cElements) Construct a Complex object for a uniform-keys map.ComplexMap(ValidatingPofHandler.Complex complexCurrent, int cElements, int nUniformKeyTypeId) Construct a Complex object for a uniform-keys map.ComplexMap(ValidatingPofHandler.Complex complexCurrent, int cElements, int nUniformKeyTypeId, int nUniformValTypeId) Construct a Complex object for a uniform map.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckPosition(int iPos) Notify the Complex object that a value has been encountered.intFor complex values with contiguous values, obtain the next position.intIf the object encoding is using uniform encoding, obtain the type id of the uniform type.booleanDetermine if the object encoding within the Complex type is uniform.Methods inherited from class com.tangosol.io.pof.ValidatingPofHandler.ComplexgetElementCount, getLastPosition, isContiguous, popMethods inherited from class com.tangosol.util.Baseazzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mergeArray, mergeBooleanArray, mergeByteArray, mergeCharArray, mergeDoubleArray, mergeFloatArray, mergeIntArray, mergeLongArray, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, wait
- 
Constructor Details- 
ComplexMapConstruct a Complex object for a uniform-keys map.- Parameters:
- complexCurrent- the current Complex object or null
- cElements- the number of map entries
 
- 
ComplexMappublic ComplexMap(ValidatingPofHandler.Complex complexCurrent, int cElements, int nUniformKeyTypeId) Construct a Complex object for a uniform-keys map.- Parameters:
- complexCurrent- the current Complex object or null
- cElements- the number of map entries
- nUniformKeyTypeId- the type identifier of the uniform type for keys in the map
 
- 
ComplexMappublic ComplexMap(ValidatingPofHandler.Complex complexCurrent, int cElements, int nUniformKeyTypeId, int nUniformValTypeId) Construct a Complex object for a uniform map.- Parameters:
- complexCurrent- the current Complex object or null
- cElements- the number of map entries
- nUniformKeyTypeId- the type identifier of the uniform type for keys in the map
- nUniformValTypeId- the type identifier of the uniform type for values in the map
 
 
- 
- 
Method Details- 
checkPositionpublic void checkPosition(int iPos) Notify the Complex object that a value has been encountered.- Overrides:
- checkPositionin class- ValidatingPofHandler.Complex
- Parameters:
- iPos- the position that accomponied the value
 
- 
getNextPositionpublic int getNextPosition()For complex values with contiguous values, obtain the next position.- Overrides:
- getNextPositionin class- ValidatingPofHandler.Complex
- Returns:
- the next position
 
- 
isUniformpublic boolean isUniform()Determine if the object encoding within the Complex type is uniform.- Overrides:
- isUniformin class- ValidatingPofHandler.Complex
- Returns:
- true iff values within the Complex type are of a uniform type and are encoded uniformly
 
- 
getUniformTypepublic int getUniformType()If the object encoding is using uniform encoding, obtain the type id of the uniform type.- Overrides:
- getUniformTypein class- ValidatingPofHandler.Complex
- Returns:
- the type id used for the uniform encoding
 
 
-