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

overflowdb.tp3.Converters Maven / Gradle / Ivy

There is a newer version: 1.115
Show newest version
package overflowdb.tp3;

import overflowdb.Direction;

public class Converters {
  public static Direction fromTinker(org.apache.tinkerpop.gremlin.structure.Direction tinkerDirection) {
    switch (tinkerDirection) {
      case OUT: return Direction.OUT;
      case IN: return Direction.IN;
      case BOTH: return Direction.BOTH;
      default: throw new AssertionError("unknown tinkerpop Direction: " + tinkerDirection);
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy