Class PathBlock

  • All Implemented Interfaces:
    java.lang.Iterable<TriplePath>

    public class PathBlock
    extends java.lang.Object
    implements java.lang.Iterable<TriplePath>
    A class whose purpose is to give a name to a collection of triple paths.
    • Constructor Detail

      • PathBlock

        public PathBlock()
      • PathBlock

        public PathBlock​(PathBlock other)
    • Method Detail

      • addAll

        public void addAll​(PathBlock other)
      • add

        public void add​(int i,
                        TriplePath tp)
      • iterator

        public java.util.ListIterator<TriplePath> iterator()
        Specified by:
        iterator in interface java.lang.Iterable<TriplePath>
      • size

        public int size()
      • isEmpty

        public boolean isEmpty()
      • getList

        public java.util.List<TriplePath> getList()
      • hashCode

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

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object