public interface RecordFilter
RecordFilter f = new DateRecordFilter(); // class implements RecordFilter if (f.matches(recordStore.getRecord(theRecordID)) == true) DoSomethingUseful(theRecordID);
Modifier and Type | Method and Description |
---|---|
boolean |
matches(byte[] candidate)
Returns true if the candidate matches the implemented criterion.
|
boolean matches(byte[] candidate)
candidate
- the record to consider. Within this method,
the application must treat this parameter as
read-only.Copyright (c) 1990, 2012, Oracle and/or its affiliates. All rights reserved.