All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nlab.json.stream.predicate.AllPredicate Maven / Gradle / Ivy

package org.nlab.json.stream.predicate;


import org.nlab.json.stream.context.StreamContext;

/**
 * Created by nlabrot on 15/03/15.
 */
public class AllPredicate implements JsonPredicate {

    public static final AllPredicate INSTANCE = new AllPredicate();

    protected AllPredicate() {
    }

    @Override
    public boolean test(StreamContext staxContext) {
        return true;
    }

    @Override
    public String toString() {
        return "AllPredicate{}";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy