| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final MediaQuery |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public TriState | evaluate()
Implements com. Attempts to determine the result of this media query without a context, and returns |
| public boolean | evaluate(MediaQueryContext context)
Implements com. Evaluates this media query against the provided context. |
| public int | getContextAwareness()
Implements com. Gets the context awareness flags of this media query, indicating which aspects of the media query context are probed by the query. |
| public MediaQuery | |
| public int | |
| public static NegationExpression | |
| public String |
| contextAwareness | back to summary |
|---|---|
| private final int contextAwareness | |
| expression | back to summary |
|---|---|
| private final MediaQuery expression | |
| NegationExpression | back to summary |
|---|---|
| private NegationExpression(MediaQuery expression) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| evaluate | back to summary |
|---|---|
| public TriState evaluate() Implements com. Doc from com. Attempts to determine the result of this media query without a context, and returns
| |
| evaluate | back to summary |
|---|---|
| public boolean evaluate(MediaQueryContext context) Implements com. Doc from com. Evaluates this media query against the provided context.
| |
| getContextAwareness | back to summary |
|---|---|
| public int getContextAwareness() Implements com. Doc from com. Gets the context awareness flags of this media query, indicating which aspects of the media query context are probed by the query.
| |
| getExpression | back to summary |
|---|---|
| public MediaQuery getExpression() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| of | back to summary |
|---|---|
| public static NegationExpression of(MediaQuery expression) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |