Package com.linkedin.davinci.utils
Class ByteArrayKey
java.lang.Object
com.linkedin.davinci.utils.ByteArrayKey
- All Implemented Interfaces:
- Comparable<ByteArrayKey>
A low overhead immutable container of byte[] suitable for use as a map key.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintbooleanbyte[]inthashCode()static ByteArrayKeywrap(byte[] content) 
- 
Constructor Details- 
ByteArrayKeypublic ByteArrayKey(byte[] content) 
 
- 
- 
Method Details- 
equals
- 
getContentpublic byte[] getContent()
- 
hashCodepublic int hashCode()
- 
wrap
- 
compareTo- Specified by:
- compareToin interface- Comparable<ByteArrayKey>
 
 
-