public interface RecordFilter
match()method to select records to be returned by the
trueif the candidate record is selected by the
RecordFilter. This interface is used in the record store for searching or subsetting records. For example:
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)
trueif the candidate matches the implemented criterion.
candidate- the record to consider. Within this method, the application must treat this parameter as read-only.
trueif the candidate matches the implemented criterion,
Copyright (c) 2014, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.