public final class BlockAndContext<ContextType extends IContext<?>>
extends java.lang.Object
Constructor and Description |
---|
BlockAndContext(BasicBlock b,
ContextType c)
Constructs a new pair.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Checks whether this object and the given object are equal.
|
BasicBlock |
getBlock()
Returns the block.
|
ContextType |
getContext()
Returns the context.
|
int |
hashCode()
Computes the hash code for this object.
|
static <ContextType extends IContext<ContextType>> |
makeEntry(BasicBlock b,
ContextType c)
Constructs a new pair using the entry block of the given block and the entry context of the given context.
|
java.lang.String |
toString() |
public BlockAndContext(BasicBlock b, ContextType c)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public BasicBlock getBlock()
public ContextType getContext()
public int hashCode()
hashCode
in class java.lang.Object
public static <ContextType extends IContext<ContextType>> BlockAndContext<ContextType> makeEntry(BasicBlock b, ContextType c)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009-2019 Aarhus University