151 |
|
|
152 |
@return true if successful |
@return true if successful |
153 |
|
|
154 |
@throws InterruptedExcpetion if interrupted by another thread. |
@throws InterruptedException if interrupted by another thread. |
155 |
*/ |
*/ |
156 |
public boolean grabPixels() throws InterruptedException |
public boolean grabPixels() throws InterruptedException |
157 |
{ |
{ |
163 |
|
|
164 |
@return true if successful |
@return true if successful |
165 |
|
|
166 |
@throws InterruptedExcpetion if interrupted by another thread. |
@throws InterruptedException if interrupted by another thread. |
167 |
or time runs out |
or time runs out |
168 |
*/ |
*/ |
169 |
public synchronized boolean grabPixels(long ms) throws InterruptedException |
public synchronized boolean grabPixels(long ms) throws InterruptedException |