Package com.google.common.hash
Class Funnels.SequentialFunnel<E>
- java.lang.Object
-
- com.google.common.hash.Funnels.SequentialFunnel<E>
-
-
Field Summary
Fields Modifier and Type Field Description private Funnel<E>elementFunnel
-
Constructor Summary
Constructors Constructor Description SequentialFunnel(Funnel<E> elementFunnel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)voidfunnel(java.lang.Iterable<? extends E> from, PrimitiveSink into)Sends a stream of data from thefromobject into the sinkinto.inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
funnel
public void funnel(java.lang.Iterable<? extends E> from, PrimitiveSink into)
Description copied from interface:FunnelSends a stream of data from thefromobject into the sinkinto. There is no requirement that this data be complete enough to fully reconstitute the object later.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-