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

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

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

import org.vertexium.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