public class SharedLock
extends java.lang.Object
ImageUtils
,
SmallPieceComparator
Constructor and Description |
---|
SharedLock() |
SharedLock(int maxErrorBits,
int threads,
boolean matched) |
Modifier and Type | Method and Description |
---|---|
void |
decrementRunningThreads() |
boolean |
decrementRunningThreadsAndTestHasRunning() |
java.awt.Point |
getMatchedPoint() |
int |
getMaxErrorBits() |
boolean |
hasRunningThreads() |
boolean |
incrementErrorBitsAndPassMax() |
boolean |
isMatched() |
boolean |
isWaiting() |
void |
reset(int maxErrorBits,
int threads,
boolean matched) |
void |
setMatched(boolean matched) |
void |
setMatchedPoint(java.awt.Point matchedPoint) |
void |
setMaxErrorBits(int maxErrorBits) |
void |
setWaiting(boolean waiting) |
public SharedLock()
public SharedLock(int maxErrorBits, int threads, boolean matched)
public int getMaxErrorBits()
public void setMaxErrorBits(int maxErrorBits)
public boolean incrementErrorBitsAndPassMax()
public boolean hasRunningThreads()
public boolean decrementRunningThreadsAndTestHasRunning()
public void decrementRunningThreads()
public boolean isMatched()
public void setMatched(boolean matched)
public java.awt.Point getMatchedPoint()
public void setMatchedPoint(java.awt.Point matchedPoint)
public void reset(int maxErrorBits, int threads, boolean matched)
public boolean isWaiting()
public void setWaiting(boolean waiting)
Copyright © SAS Institute. All Rights Reserved.