|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sourcejammer.server.make.BuildDelta.MatchChunksResult
Inner class for encapsulating the results of a comparision of a chunk of bytes from each byte array to it's opposite.
Field Summary | |
private boolean |
mbMatchFound
|
private boolean |
mbNewFoundInOld
|
private boolean |
mbOldFoundInNew
|
private int |
miNewChunkInOldBeginIndex
|
private int |
miOldChunkInNewBeginIndex
|
Constructor Summary | |
BuildDelta.MatchChunksResult()
|
Method Summary | |
int |
getNewChunkInOldBeginIndex()
Returns the index in the Old file at which the current new chunk was found |
int |
getOldChunkInNewBeginIndex()
Returns the index in the New file at which the current old chunk was found. |
boolean |
isMatchFound()
Returns true if a match has been found. |
boolean |
isNewFoundInOld()
Returns true if the current "new" chunk was found somewhere in the "old" file. |
boolean |
isOldFoundInNew()
Returns true if the current "old" chunk was found somewhere in the "new" file. |
void |
setMatchFound(boolean b)
Set to true if a match is found. |
void |
setNewChunkInOldBeginIndex(int i)
Set to the index in the Old file at which the current new chunk was found. |
void |
setNewFoundInOld(boolean b)
Set to true if the current "new" chunk was found somewhere in the "old" file. |
void |
setOldChunkInNewBeginIndex(int i)
Set to the index in the New file at which the current old chunk was found. |
void |
setOldFoundInNew(boolean b)
Set to true if the current "old" chunk was found somewhere in the "new" file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private boolean mbMatchFound
private int miNewChunkInOldBeginIndex
private int miOldChunkInNewBeginIndex
private boolean mbNewFoundInOld
private boolean mbOldFoundInNew
Constructor Detail |
public BuildDelta.MatchChunksResult()
Method Detail |
public void setMatchFound(boolean b)
public boolean isMatchFound()
public void setNewFoundInOld(boolean b)
public boolean isNewFoundInOld()
public void setOldFoundInNew(boolean b)
public boolean isOldFoundInNew()
public void setNewChunkInOldBeginIndex(int i)
public int getNewChunkInOldBeginIndex()
public void setOldChunkInNewBeginIndex(int i)
public int getOldChunkInNewBeginIndex()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |