public class Context
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static Context |
EMPTY_CONTEXT
Represents an empty context
|
Modifier | Constructor and Description |
---|---|
protected |
Context()
No instantiations allowed
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Determines if an object is equal to this context
|
int |
hashCode()
calculates a hashCode for this context.
|
boolean |
isPartialMatch(Context context)
Checks to see if there is a partial match with the given context.
|
java.lang.String |
toString()
Provides a string representation of a context
|
public static final Context EMPTY_CONTEXT
public boolean isPartialMatch(Context context)
context
- the context to checkpublic java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to checkpublic int hashCode()
hashCode
in class java.lang.Object