coins.backend
クラス Type

java.lang.Object
  |
  +--coins.backend.Type

public class Type
extends java.lang.Object

LIR type encoder/decoder without instance. Type is represented by an int, not an instance of the class.


フィールドの概要
static int AGGREGATE
           
static int FLOAT
           
static int INT
           
static int UNKNOWN
           
 
メソッドの概要
static int bits(int type)
           
static int bytes(int type)
           
static int decode(java.lang.String word)
           
static boolean isAggregate(int type)
           
static int tag(int type)
           
static java.lang.String toString(int type)
           
static int type(int tag, long bits)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

UNKNOWN

public static final int UNKNOWN
関連項目:
定数フィールド値

AGGREGATE

public static final int AGGREGATE
関連項目:
定数フィールド値

INT

public static final int INT
関連項目:
定数フィールド値

FLOAT

public static final int FLOAT
関連項目:
定数フィールド値
メソッドの詳細

toString

public static java.lang.String toString(int type)

isAggregate

public static boolean isAggregate(int type)

tag

public static int tag(int type)

bits

public static int bits(int type)

bytes

public static int bytes(int type)

type

public static int type(int tag,
                       long bits)

decode

public static int decode(java.lang.String word)
                  throws SyntaxError
SyntaxError