step.encoding.profile
Class PDeltaIntStrategy

java.lang.Object
  |
  +--step.encoding.Encoder
        |
        +--step.encoding.Strategy
              |
              +--step.encoding.RegularValueStrategy
                    |
                    +--step.encoding.DeltaIntStrategy
                          |
                          +--step.encoding.profile.PDeltaIntStrategy
All Implemented Interfaces:
Profiled

public class PDeltaIntStrategy
extends DeltaIntStrategy
implements Profiled


Field Summary
 
Fields inherited from class step.encoding.DeltaIntStrategy
STRATEGY_NAME
 
Fields inherited from class step.encoding.RegularValueStrategy
_nextIsRegular
 
Fields inherited from class step.encoding.Strategy
_baseEncoder
 
Constructor Summary
PDeltaIntStrategy(Encoder baseEncoder, int threshold)
           
 
Method Summary
 void encode(StepObject o, EncodeContext context)
          Encode an integer value.
 void printProfile(PrintWriter out)
           
 
Methods inherited from class step.encoding.DeltaIntStrategy
decode, dump
 
Methods inherited from class step.encoding.RegularValueStrategy
setNextIsRegular
 
Methods inherited from class step.encoding.Strategy
baseDecode, baseEncode, eventMessage
 
Methods inherited from class step.encoding.Encoder
getFactory, getName, indent, makeFieldName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDeltaIntStrategy

public PDeltaIntStrategy(Encoder baseEncoder,
                         int threshold)
Method Detail

encode

public void encode(StepObject o,
                   EncodeContext context)
            throws EncoderException,
                   IOException
Description copied from class: DeltaIntStrategy
Encode an integer value.

Overrides:
encode in class DeltaIntStrategy
Throws:
EncoderException - if the value is not a StepInt.
IOException

printProfile

public void printProfile(PrintWriter out)
Specified by:
printProfile in interface Profiled