qs.java 1.04 KB
import com.google.common.hash.Hasher;
import java.nio.charset.Charset;

public abstract class qs
  implements Hasher
{
  public final Hasher putBoolean(boolean paramBoolean)
  {
    if (paramBoolean) {}
    for (byte b = 1;; b = 0) {
      return putByte(b);
    }
  }
  
  public final Hasher putDouble(double paramDouble)
  {
    return putLong(Double.doubleToRawLongBits(paramDouble));
  }
  
  public final Hasher putFloat(float paramFloat)
  {
    return putInt(Float.floatToRawIntBits(paramFloat));
  }
  
  public Hasher putString(CharSequence paramCharSequence, Charset paramCharset)
  {
    return putBytes(paramCharSequence.toString().getBytes(paramCharset));
  }
  
  public Hasher putUnencodedChars(CharSequence paramCharSequence)
  {
    int i = 0;
    int j = paramCharSequence.length();
    while (i < j)
    {
      putChar(paramCharSequence.charAt(i));
      i += 1;
    }
    return this;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/qs.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */