@SuppressWarnings("boxing") public MandNoOpExpDeltaMantDecimalWriter( ComponentFactory cf, String name, int id, int initExp, long initMant) { super(name, id, false); _exp = cf.getWriter(IntMandWriterNoOp.class, name + "Exp", id, initExp); _mant = cf.getWriter(LongMandWriterDelta.class, name + "Mant", id, initMant); _initExp = initExp; _initMant = initMant; reset(); }
@SuppressWarnings("boxing") public OptDelExpDeltaMantDecimalReader( ComponentFactory cf, String name, int id, int initExp, long initMant) { super(name, id, true); String expName = name + "Exp"; String mantName = name + "Mant"; DictEntry prevExp = cf.getPrevFieldValInt32Wrapper(expName, initExp); DictEntry prevMant = cf.getPrevFieldValInt64Wrapper(mantName, initMant); _exp = cf.getReader(IntOptReaderDelta.class, expName, id, prevExp); _mant = cf.getReader(LongMandReaderDelta.class, mantName, id, prevMant); _initExp = initExp; _initMant = initMant; reset(); }