Class ReorderProcIndexes

  • All Implemented Interfaces:
    ReorderProc

    public class ReorderProcIndexes
    extends java.lang.Object
    implements ReorderProc
    • Constructor Summary

      Constructors 
      Constructor Description
      ReorderProcIndexes​(int[] indexes)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BasicPattern reorder​(BasicPattern bgp)
      Return a new basic pattern with the same triples as the input, but ordered as per the index list of this reorder processor.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ReorderProcIndexes

        public ReorderProcIndexes​(int[] indexes)
    • Method Detail

      • reorder

        public BasicPattern reorder​(BasicPattern bgp)
        Return a new basic pattern with the same triples as the input, but ordered as per the index list of this reorder processor.
        Specified by:
        reorder in interface ReorderProc
      • toString

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