Class CssSelectorNode.Specificity
java.lang.Object
com.google.common.css.compiler.ast.CssSelectorNode.Specificity
- All Implemented Interfaces:
Comparable<CssSelectorNode.Specificity>
- Enclosing class:
- CssSelectorNode
public static class CssSelectorNode.Specificity
extends Object
implements Comparable<CssSelectorNode.Specificity>
The specifity of a selector is used to select among rules with the same
importance and origin. It is calculated as specified at
http://www.w3.org/TR/CSS2/cascade.html#specificity.
-
Method Summary
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<CssSelectorNode.Specificity>
-
equals
-
hashCode
public int hashCode() -
toString
-