Class RegularValueStrategy

Direct Known Subclasses:
CacheStrategy, ConstantStrategy, DeltaIntStrategy, IdentifierStrategy, StrideIntStrategy, WindowIntStrategy

public abstract class RegularValueStrategy
extends Strategy

Assume that values appear in some regular pattern. Irregularities are signalled with an IrregularValueEvent.

Field Summary
protected  boolean _nextIsRegular
          Is the next value to be decoded "regular"?
Fields inherited from class step.encoding.Strategy
Constructor Summary
protected RegularValueStrategy(Encoder baseEncoder, String strategyName)
Method Summary
protected  void setNextIsRegular(boolean nextIsRegular)
          Mark the next input value a regular or irregular.
Methods inherited from class step.encoding.Strategy
baseDecode, baseEncode, eventMessage
Methods inherited from class step.encoding.Encoder
decode, dump, encode, getFactory, getName, indent, makeFieldName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


protected boolean _nextIsRegular
Is the next value to be decoded "regular"?

Constructor Detail


protected RegularValueStrategy(Encoder baseEncoder,
                               String strategyName)
Method Detail


protected void setNextIsRegular(boolean nextIsRegular)
Mark the next input value a regular or irregular.