org.scale7.cassandra.pelops
Class NumberHelper

java.lang.Object
  extended by org.scale7.cassandra.pelops.NumberHelper

Deprecated. Use the methods available on Bytes class.

@Deprecated
public class NumberHelper
extends Object


Constructor Summary
NumberHelper()
          Deprecated.  
 
Method Summary
static byte[] toBytes(int i)
          Deprecated.  
static void toBytes(int i, byte[] b, int offset)
          Deprecated.  
static byte[] toBytes(long l)
          Deprecated.  
static void toBytes(long l, byte[] b, int offset, int size)
          Deprecated.  
static byte[] toBytes(long l, int size)
          Deprecated.  
static byte[] toBytes(short i)
          Deprecated.  
static void toBytes(short i, byte[] b, int offset)
          Deprecated.  
static int toInt(byte[] b)
          Deprecated.  
static int toInt(byte[] b, int offset)
          Deprecated.  
static long toLong(byte[] b)
          Deprecated.  
static long toLong(byte[] b, int offset, int size)
          Deprecated.  
static short toShort(byte[] b)
          Deprecated.  
static short toShort(byte[] b, int offset)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumberHelper

public NumberHelper()
Deprecated. 
Method Detail

toLong

public static final long toLong(byte[] b)
Deprecated. 

toLong

public static final long toLong(byte[] b,
                                int offset,
                                int size)
Deprecated. 

toInt

public static final int toInt(byte[] b,
                              int offset)
Deprecated. 

toInt

public static final int toInt(byte[] b)
Deprecated. 

toShort

public static final short toShort(byte[] b,
                                  int offset)
Deprecated. 

toShort

public static final short toShort(byte[] b)
Deprecated. 

toBytes

public static final byte[] toBytes(long l)
Deprecated. 

toBytes

public static final byte[] toBytes(long l,
                                   int size)
Deprecated. 

toBytes

public static final void toBytes(long l,
                                 byte[] b,
                                 int offset,
                                 int size)
Deprecated. 

toBytes

public static final byte[] toBytes(int i)
Deprecated. 

toBytes

public static final byte[] toBytes(short i)
Deprecated. 

toBytes

public static final void toBytes(short i,
                                 byte[] b,
                                 int offset)
Deprecated. 

toBytes

public static final void toBytes(int i,
                                 byte[] b,
                                 int offset)
Deprecated. 


Copyright © 2011. All Rights Reserved.