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

org.vertexium.cypher.utils.PredicateWithIndex Maven / Gradle / Ivy

There is a newer version: 4.10.0
Show newest version
package org.vertexium.cypher.utils;

import java.util.function.Predicate;

public abstract class PredicateWithIndex implements Predicate {
    private long index;

    @Override
    public boolean test(T t) {
        return test(t, index++);
    }

    protected abstract boolean test(T t, long index);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy