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

org.vertexium.Direction Maven / Gradle / Ivy

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

public enum Direction {
    OUT,
    IN,
    BOTH;

    public Direction reverse() {
        switch (this) {
            case OUT:
                return IN;
            case IN:
                return OUT;
            case BOTH:
                return BOTH;
            default:
                throw new VertexiumException("unexpected direction: " + this);
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy