org.apache.cassandra.utils
Class BasicUtilities
java.lang.Object
org.apache.cassandra.utils.BasicUtilities
public class BasicUtilities
- extends java.lang.Object
Author : Avinash Lakshman ( alakshman@facebook.com) & Prashant Malik ( pmalik@facebook.com )
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicUtilities
public BasicUtilities()
longToByteArray
public static byte[] longToByteArray(long arg)
byteArrayToLong
public static long byteArrayToLong(byte[] arg)
intToByteArray
public static byte[] intToByteArray(int arg)
byteArrayToInt
public static int byteArrayToInt(byte[] arg)
shortToByteArray
public static byte[] shortToByteArray(short arg)
byteArrayToShort
public static short byteArrayToShort(byte[] arg)
Copyright © 2009 The Apache Software Foundation