List of usage examples for com.google.common.hash HashFunction hashBytes
HashCode hashBytes(byte[] input, int off, int len);
From source file:org.apache.accumulo.core.sample.RowSampler.java
@Override protected HashCode hash(HashFunction hashFunction, Key k) { ByteSequence row = k.getRowData();/*from w w w. ja v a 2s . c o m*/ return hashFunction.hashBytes(row.getBackingArray(), row.offset(), row.length()); }