com.eyebolt.common
Class FlattenableShort
java.lang.Object
|
+--com.eyebolt.common.FlattenableShort
- public class FlattenableShort
- extends java.lang.Object
Helper function for flattening basic types
- Version:
- 0.01, 6 Jan 1997
- Author:
- John Gardner
Field Summary |
private short |
value
|
Constructor Summary |
FlattenableShort(short s)
Constructor for the FlattenableShort object |
Method Summary |
void |
flattenAt(byte[] buf)
Description of the Method |
void |
flattenAt(byte[] buf,
int offset)
Description of the Method |
static short |
unFlattenFrom(byte[] buf)
Description of the Method |
static short |
unFlattenFrom(byte[] buf,
int offset)
Description of the Method |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
value
private short value
FlattenableShort
public FlattenableShort(short s)
- Constructor for the FlattenableShort object
- Parameters:
s
- Description of Parameter
flattenAt
public void flattenAt(byte[] buf)
- Description of the Method
- Parameters:
buf
- Description of Parameter
flattenAt
public void flattenAt(byte[] buf,
int offset)
- Description of the Method
- Parameters:
buf
- Description of Parameteroffset
- Description of Parameter
unFlattenFrom
public static short unFlattenFrom(byte[] buf)
- Description of the Method
- Parameters:
buf
- Description of Parameter- Returns:
- Description of the Returned Value
unFlattenFrom
public static short unFlattenFrom(byte[] buf,
int offset)
- Description of the Method
- Parameters:
buf
- Description of Parameteroffset
- Description of Parameter- Returns:
- Description of the Returned Value
Copyright © 2001 Eyebolt, Inc.