org.elasticsearch.common
Class BytesWrap

java.lang.Object
  extended by org.elasticsearch.common.BytesWrap

public class BytesWrap
extends java.lang.Object


Constructor Summary
BytesWrap(byte[] bytes)
           
BytesWrap(java.lang.String str)
           
 
Method Summary
 byte[] bytes()
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String utf8ToString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BytesWrap

public BytesWrap(byte[] bytes)

BytesWrap

public BytesWrap(java.lang.String str)
Method Detail

bytes

public byte[] bytes()

utf8ToString

public java.lang.String utf8ToString()

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object