Class AbstractTriple

    • Constructor Detail

      • AbstractTriple

        public AbstractTriple()
    • Method Detail

      • stringValue

        public java.lang.String stringValue()
        Description copied from interface: Value
        Returns the String-value of a Value object. This returns either a Literal's label, a IRI's URI or a BNode's ID.
        Specified by:
        stringValue in interface Value
      • equals

        public boolean equals​(java.lang.Object o)
        Description copied from interface: Triple
        Compares this triple to another object.
        Specified by:
        equals in interface Triple
        Overrides:
        equals in class java.lang.Object
        Parameters:
        o - the object to compare this triple to
        Returns:
        true if the other object is an instance of Triple and if their subjects, predicates and objects are equal; false otherwise
      • toString

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