| Modifier and Type | Field and Description |
|---|---|
| private final boolean |
| 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 int | |
| public static ConstantExpression | |
| public String | |
| public boolean |
| value | back to summary |
|---|---|
| private final boolean value | |
| ConstantExpression | back to summary |
|---|---|
| private ConstantExpression(boolean value) | |
| 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.
| |
| 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 ConstantExpression of(boolean value) | |
| 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-
| |
| value | back to summary |
|---|---|
| public boolean value() | |