org.apache.blur.thirdparty.thrift_0_9_0
Class TBaseHelper
java.lang.Object
org.apache.blur.thirdparty.thrift_0_9_0.TBaseHelper
public final class TBaseHelper
- extends Object
Method Summary |
static byte[] |
byteBufferToByteArray(ByteBuffer byteBuffer)
|
static int |
byteBufferToByteArray(ByteBuffer byteBuffer,
byte[] target,
int offset)
|
static int |
compareTo(boolean a,
boolean b)
|
static int |
compareTo(byte[] a,
byte[] b)
|
static int |
compareTo(byte a,
byte b)
|
static int |
compareTo(Comparable a,
Comparable b)
|
static int |
compareTo(double a,
double b)
|
static int |
compareTo(int a,
int b)
|
static int |
compareTo(List a,
List b)
|
static int |
compareTo(long a,
long b)
|
static int |
compareTo(Map a,
Map b)
|
static int |
compareTo(Object o1,
Object o2)
|
static int |
compareTo(Set a,
Set b)
|
static int |
compareTo(short a,
short b)
|
static int |
compareTo(String a,
String b)
|
static byte[] |
copyBinary(byte[] orig)
|
static ByteBuffer |
copyBinary(ByteBuffer orig)
|
static String |
paddedByteString(byte b)
|
static ByteBuffer |
rightSize(ByteBuffer in)
|
static void |
toString(ByteBuffer bb,
StringBuilder sb)
|
static boolean |
wrapsFullArray(ByteBuffer byteBuffer)
|
compareTo
public static int compareTo(Object o1,
Object o2)
compareTo
public static int compareTo(boolean a,
boolean b)
compareTo
public static int compareTo(byte a,
byte b)
compareTo
public static int compareTo(short a,
short b)
compareTo
public static int compareTo(int a,
int b)
compareTo
public static int compareTo(long a,
long b)
compareTo
public static int compareTo(double a,
double b)
compareTo
public static int compareTo(String a,
String b)
compareTo
public static int compareTo(byte[] a,
byte[] b)
compareTo
public static int compareTo(Comparable a,
Comparable b)
compareTo
public static int compareTo(List a,
List b)
compareTo
public static int compareTo(Set a,
Set b)
compareTo
public static int compareTo(Map a,
Map b)
toString
public static void toString(ByteBuffer bb,
StringBuilder sb)
paddedByteString
public static String paddedByteString(byte b)
byteBufferToByteArray
public static byte[] byteBufferToByteArray(ByteBuffer byteBuffer)
wrapsFullArray
public static boolean wrapsFullArray(ByteBuffer byteBuffer)
byteBufferToByteArray
public static int byteBufferToByteArray(ByteBuffer byteBuffer,
byte[] target,
int offset)
rightSize
public static ByteBuffer rightSize(ByteBuffer in)
copyBinary
public static ByteBuffer copyBinary(ByteBuffer orig)
copyBinary
public static byte[] copyBinary(byte[] orig)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.