|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cse378.AbstractBlock
public abstract class AbstractBlock
Field Summary | |
---|---|
protected boolean |
dirty
|
protected int |
id
|
protected boolean |
valid
|
Constructor Summary | |
---|---|
AbstractBlock(int id)
|
Method Summary | |
---|---|
int |
getId()
|
int |
hashCode()
hashcode computation |
boolean |
isDirty()
check if this AbstractBlock has been modified |
boolean |
isValid()
|
void |
setDirty(boolean b)
|
void |
setValid(boolean b)
Mark this entry as valid |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final int id
protected boolean dirty
protected boolean valid
Constructor Detail |
---|
public AbstractBlock(int id)
Method Detail |
---|
public int getId()
public void setValid(boolean b)
public boolean isValid()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isDirty()
public void setDirty(boolean b)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |