com.google.common.hash
Class Funnels

java.lang.Object
  extended by com.google.common.hash.Funnels

@Beta
public final class Funnels
extends Object

Funnels for common types. All implementations are serializable.

Since:
11.0
Author:
Dimitris Andreou

Method Summary
static Funnel<byte[]> byteArrayFunnel()
          Returns a funnel that extracts the bytes from a byte array.
static Funnel<CharSequence> stringFunnel()
          Returns a funnel that extracts the characters from a CharSequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

byteArrayFunnel

public static Funnel<byte[]> byteArrayFunnel()
Returns a funnel that extracts the bytes from a byte array.


stringFunnel

public static Funnel<CharSequence> stringFunnel()
Returns a funnel that extracts the characters from a CharSequence.



Copyright © 2010-2012. All Rights Reserved.