Class NestedPath<V,E>

java.lang.Object
org.aksw.jena_sparql_api.sparql_path2.NestedPath<V,E>
All Implemented Interfaces:
Serializable

public class NestedPath<V,E> extends Object implements Serializable
See Also:
  • Field Details

    • current

      protected V current
  • Constructor Details

    • NestedPath

      public NestedPath(V current)
    • NestedPath

      public NestedPath(Optional<ParentLink<V,E>> parentLink, V current)
    • NestedPath

      public NestedPath(ParentLink<V,E> parentLink, V current)
  • Method Details

    • containsVertex

      public boolean containsVertex(Object vertex)
    • containsEdge

      public boolean containsEdge(Object edge, boolean reverse)
    • of

      public static <V, E> NestedPath<V,E> of(NestedPath<V,E> parentPath, org.aksw.commons.util.Directed<E> edgeLabel, V targetVertex)
    • getParentLink

      public Optional<ParentLink<V,E>> getParentLink()
    • getCurrent

      public V getCurrent()
    • isCycleFree

      public boolean isCycleFree()
    • getLength

      public int getLength()
    • asSimpleDirectedPath

      public org.aksw.commons.util.triplet.TripletPath<V,org.aksw.commons.util.Directed<E>> asSimpleDirectedPath()
    • asSimplePath

      public org.aksw.commons.util.triplet.TripletPath<V,E> asSimplePath()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object