G
- the graph typeE
- the element typepublic class Context<G,E>
extends java.lang.Object
hashCode
and equals
.Modifier and Type | Field and Description |
---|---|
E |
element
The edge element which defines this context.
|
G |
graph
The graph element which defines this context.
|
Constructor and Description |
---|
Context() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
static <G,E> Context<G,E> |
getInstance(G graph,
E element)
Returns an instance of this type for the specified graph and element.
|
int |
hashCode() |
public G graph
public E element
public static <G,E> Context<G,E> getInstance(G graph, E element)
G
- the graph typeE
- the element typegraph
- the graphelement
- the elementpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence