package stexfires.core.filter;

import stexfires.core.Record;

/**
 * @author Mathias Kalb
 * @since 0.1
 */
public class NotNullFilter<T extends Record> implements RecordFilter<T> {

    public NotNullFilter() {
    }

    @Override
    public final boolean isValid(T record) {
        return record != null;
    }

}

Add NotNullFilter