Enum Class Funnels.ByteArrayFunnel

java.lang.Object
java.lang.Enum<Funnels.ByteArrayFunnel>
com.google.common.hash.Funnels.ByteArrayFunnel
All Implemented Interfaces:
Funnel<byte[]>, Serializable, Comparable<Funnels.ByteArrayFunnel>, Constable
Enclosing class:
Funnels

private static enum Funnels.ByteArrayFunnel extends Enum<Funnels.ByteArrayFunnel> implements Funnel<byte[]>
  • Enum Constant Details

  • Constructor Details

    • ByteArrayFunnel

      private ByteArrayFunnel()
  • Method Details

    • values

      public static Funnels.ByteArrayFunnel[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Funnels.ByteArrayFunnel valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • funnel

      public void funnel(byte[] from, PrimitiveSink into)
      Description copied from interface: Funnel
      Sends a stream of data from the from object into the sink into. There is no requirement that this data be complete enough to fully reconstitute the object later.
      Specified by:
      funnel in interface Funnel<byte[]>
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Funnels.ByteArrayFunnel>