Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.compoze.util
Class Convert

    java.lang.Object
      |
      +--com.compoze.util.Convert

All Implemented Interfaces:
  java.io.Serializable

public class Convert
extends java.lang.Object
implements java.io.Serializable

Conversion methods for primitive types.

See Also:
  Serialized Form

Constructor Summary
`Convert()`

Method Summary
`static byte[]` | `getBytesFromLong(long lLong)` Get an array of bytes from a long.
`static long` | `getLongFromBytes(byte[] byteArray)` Get a long from an array of bytes;

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### Convert

    public Convert()

Method Detail

### getLongFromBytes

    public static long getLongFromBytes(byte[] byteArray)

  Get a long from an array of bytes;
  Parameters:
    `array` - the array of bytes
  Returns:
    the long

### getBytesFromLong

    public static byte[] getBytesFromLong(long lLong)

  Get an array of bytes from a long.
  Parameters:
    `lLong` - the long
  Returns:
    the array of bytes

Overview | Package | Class | Tree | Deprecated | Index | Help
| Compoze Software, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright ©1999-2003 Compoze Software, Inc. All rights reserved.