Refine search
@Override public HashCode hashString(CharSequence input, Charset charset) { return hashBytes(input.toString().getBytes(charset)); }
@Override public Hasher newHasher() { return newHasher(32); }
/** * @deprecated Use {@link AbstractNonStreamingHashFunction#hashUnencodedChars} instead. */ @Deprecated @Override public HashCode hashString(CharSequence input) { return hashUnencodedChars(input); }
@Override public Hasher newHasher() { return newHasher(32); }
/** * @deprecated Use {@link AbstractNonStreamingHashFunction#hashUnencodedChars} instead. */ @Deprecated @Override public HashCode hashString(CharSequence input) { return hashUnencodedChars(input); }
@Override public HashCode hashLong(long input) { return hashBytes(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(input).array()); }