org.fudgemsg.types
Class PrimitiveFieldTypes

java.lang.Object
  extended by org.fudgemsg.types.PrimitiveFieldTypes

public final class PrimitiveFieldTypes
extends Object

A collection of all the simple fixed-width field types that represent primitive values. Because these are fast-pathed inside the encoder/decoder sequence, there's no point in breaking them out to other classes.


Field Summary
static FudgeFieldType<Boolean> BOOLEAN_TYPE
          Standard Fudge field type: boolean.
static FudgeFieldType<Byte> BYTE_TYPE
          Standard Fudge field type: 8-bit signed integer.
static FudgeFieldType<Double> DOUBLE_TYPE
          Standard Fudge field type: 64-bit floating point.
static FudgeFieldType<Float> FLOAT_TYPE
          Standard Fudge field type: 32-bit floating point.
static FudgeFieldType<Integer> INT_TYPE
          Standard Fudge field type: 32-bit signed integer.
static FudgeFieldType<Long> LONG_TYPE
          Standard Fudge field type: 64-bit signed integer.
static FudgeFieldType<Short> SHORT_TYPE
          Standard Fudge field type: 16-bit signed integer.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BOOLEAN_TYPE

public static final FudgeFieldType<Boolean> BOOLEAN_TYPE
Standard Fudge field type: boolean. See FudgeTypeDictionary.BOOLEAN_TYPE_ID.


BYTE_TYPE

public static final FudgeFieldType<Byte> BYTE_TYPE
Standard Fudge field type: 8-bit signed integer. See FudgeTypeDictionary.BYTE_TYPE_ID.


SHORT_TYPE

public static final FudgeFieldType<Short> SHORT_TYPE
Standard Fudge field type: 16-bit signed integer. See FudgeTypeDictionary.SHORT_TYPE_ID.


INT_TYPE

public static final FudgeFieldType<Integer> INT_TYPE
Standard Fudge field type: 32-bit signed integer. See FudgeTypeDictionary.INT_TYPE_ID.


LONG_TYPE

public static final FudgeFieldType<Long> LONG_TYPE
Standard Fudge field type: 64-bit signed integer. See FudgeTypeDictionary.LONG_TYPE_ID.


FLOAT_TYPE

public static final FudgeFieldType<Float> FLOAT_TYPE
Standard Fudge field type: 32-bit floating point. See FudgeTypeDictionary.FLOAT_TYPE_ID.


DOUBLE_TYPE

public static final FudgeFieldType<Double> DOUBLE_TYPE
Standard Fudge field type: 64-bit floating point. See FudgeTypeDictionary.DOUBLE_TYPE_ID.



Copyright 2009-Present by OpenGamma Inc. and individual contributors
Released under the Apache License, Version 2.0