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

org.securegraph.event.GraphEvent Maven / Gradle / Ivy

The newest version!
package org.securegraph.event;

import org.securegraph.Graph;

public abstract class GraphEvent {
    private final Graph graph;

    protected GraphEvent(Graph graph) {
        this.graph = graph;
    }

    public Graph getGraph() {
        return graph;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof GraphEvent) {
            GraphEvent other = (GraphEvent) obj;
            return getGraph().equals(other.getGraph());
        }
        return false;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy