2018-06-11 22:41:11 +02:00
|
|
|
package ar.com.hjg.pngj.chunks;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Decides if another chunk "matches", according to some criterion
|
|
|
|
*/
|
|
|
|
public interface ChunkPredicate {
|
2018-08-28 02:39:41 +02:00
|
|
|
/**
|
|
|
|
* The other chunk matches with this one
|
|
|
|
*
|
|
|
|
* @param chunk
|
|
|
|
* @return true if match
|
|
|
|
*/
|
|
|
|
boolean match(PngChunk chunk);
|
2018-06-11 22:41:11 +02:00
|
|
|
}
|