org.apache.clerezza.triaxrs.util
Class AcceptCharset.ValuedCharset

java.lang.Object
  extended by org.apache.clerezza.triaxrs.util.AcceptCharset.ValuedCharset
All Implemented Interfaces:
Comparable<AcceptCharset.ValuedCharset>
Enclosing class:
AcceptCharset

public static final class AcceptCharset.ValuedCharset
extends Object
implements Comparable<AcceptCharset.ValuedCharset>


Field Summary
 String charset
           
 double qValue
           
 
Constructor Summary
AcceptCharset.ValuedCharset(double qValue, String charset)
           
 
Method Summary
 int compareTo(AcceptCharset.ValuedCharset other)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 boolean isWildcard()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

qValue

public final double qValue

charset

public final String charset
Constructor Detail

AcceptCharset.ValuedCharset

public AcceptCharset.ValuedCharset(double qValue,
                                   String charset)
Method Detail

compareTo

public int compareTo(AcceptCharset.ValuedCharset other)
Specified by:
compareTo in interface Comparable<AcceptCharset.ValuedCharset>

isWildcard

public boolean isWildcard()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.