Package com.tangosol.io.pof
Class WritingPofHandler.ComplexMap
- java.lang.Object
- 
- com.tangosol.util.Base
- 
- com.tangosol.io.pof.WritingPofHandler.Complex
- 
- com.tangosol.io.pof.WritingPofHandler.ComplexMap
 
 
 
- 
- Enclosing class:
- WritingPofHandler
 
 public static class WritingPofHandler.ComplexMap extends WritingPofHandler.Complex A ComplexMap object represents a map data structure (with uniform keys or with uniform keys and values) in the POF stream.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class com.tangosol.util.BaseBase.LoggingWriter
 
- 
 - 
Constructor SummaryConstructors Constructor Description ComplexMap(WritingPofHandler.Complex complexCurrent, int nUniformKeyTypeId)Construct a ComplexMap object for maps with uniformly-typed keys.ComplexMap(WritingPofHandler.Complex complexCurrent, int nUniformKeyTypeId, int nUniformValTypeId)Construct a ComplexMap object for maps with uniformly-typed keys and values.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetUniformType()If the object encoding is using uniform encoding, obtain the type id of the uniform type.booleanisUniform()Determine if the object encoding within the Complex type is uniform.voidonValue(int iPos)Notify the Complex object that a value has been encountered.- 
Methods inherited from class com.tangosol.io.pof.WritingPofHandler.ComplexisSparse, pop
 - 
Methods 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 Detail- 
ComplexMappublic ComplexMap(WritingPofHandler.Complex complexCurrent, int nUniformKeyTypeId) Construct a ComplexMap object for maps with uniformly-typed keys.- Parameters:
- complexCurrent- the current Complex object or null
- nUniformKeyTypeId- the type identifier of the uniform type
 
 - 
ComplexMappublic ComplexMap(WritingPofHandler.Complex complexCurrent, int nUniformKeyTypeId, int nUniformValTypeId) Construct a ComplexMap object for maps with uniformly-typed keys and values.- Parameters:
- complexCurrent- the current Complex object or null
- 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 Detail- 
onValuepublic void onValue(int iPos) Notify the Complex object that a value has been encountered.- Overrides:
- onValuein class- WritingPofHandler.Complex
- Parameters:
- iPos- the position that accomponied the value
 
 - 
isUniformpublic boolean isUniform() Determine if the object encoding within the Complex type is uniform.- Overrides:
- isUniformin class- WritingPofHandler.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- WritingPofHandler.Complex
- Returns:
- the type id used for the uniform encoding
 
 
- 
 
-