|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cmpware.fastmodel.Decoder
public class Decoder
This class defines a decoder used in the FastModel.
Copyright (c) 2006 Cmpware, Inc. All Rights Reserved.
| Field Summary | |
|---|---|
static java.lang.String |
copyright
Copyright string |
protected java.math.BigInteger |
mask
The decode mask |
protected java.math.BigInteger |
sig
The decode signature |
| Constructor Summary | |
|---|---|
Decoder()
Constructor for default decoder, which matches nothing (illegal oproce). |
|
Decoder(Field field,
long value)
Constructor |
|
| Method Summary | |
|---|---|
Decoder |
add(Field field,
int value)
This method returns a decoder with new values added. |
Decoder |
add(Field field,
long value)
This method returns a decoder with new values added. |
static Decoder |
primary(Field field,
int value)
This factory method returns a decoder with new values added. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String copyright
protected java.math.BigInteger mask
protected java.math.BigInteger sig
| Constructor Detail |
|---|
public Decoder()
public Decoder(Field field,
long value)
field - The decode field.value - the value of the decode field.| Method Detail |
|---|
public static Decoder primary(Field field,
int value)
field - The decode field.value - the value of the decode field.
public Decoder add(Field field,
long value)
field - The decode field.value - the value of the decode field.
public Decoder add(Field field,
int value)
field - The decode field.value - the value of the decode field.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||