org.apache.accumulo.core.util
Class ByteBufferUtil

java.lang.Object
  extended by org.apache.accumulo.core.util.ByteBufferUtil

public class ByteBufferUtil
extends Object


Constructor Summary
ByteBufferUtil()
           
 
Method Summary
static List<ByteBuffer> toByteBuffers(Collection<byte[]> bytesList)
           
static byte[] toBytes(ByteBuffer buffer)
           
static List<byte[]> toBytesList(Collection<ByteBuffer> bytesList)
           
static String toString(ByteBuffer bytes)
           
static org.apache.hadoop.io.Text toText(ByteBuffer bytes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ByteBufferUtil

public ByteBufferUtil()
Method Detail

toBytes

public static byte[] toBytes(ByteBuffer buffer)

toByteBuffers

public static List<ByteBuffer> toByteBuffers(Collection<byte[]> bytesList)

toBytesList

public static List<byte[]> toBytesList(Collection<ByteBuffer> bytesList)

toText

public static org.apache.hadoop.io.Text toText(ByteBuffer bytes)

toString

public static String toString(ByteBuffer bytes)


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.