Package ora4mas.nopl

Class JasonTermWrapper

  • All Implemented Interfaces:
    jaca.ToProlog, java.io.Serializable

    public class JasonTermWrapper
    extends java.lang.Object
    implements jaca.ToProlog, java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String t  
    • Method Summary

      Modifier and Type Method Description
      protected JasonTermWrapper clone()  
      boolean equals​(java.lang.Object obj)  
      java.lang.String getAsPrologStr()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • t

        java.lang.String t
    • Constructor Detail

      • JasonTermWrapper

        public JasonTermWrapper​(jason.asSyntax.Term t)
      • JasonTermWrapper

        public JasonTermWrapper​(java.lang.String l)
    • Method Detail

      • getAsPrologStr

        public java.lang.String getAsPrologStr()
        Specified by:
        getAsPrologStr in interface jaca.ToProlog
      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        protected JasonTermWrapper clone()
                                  throws java.lang.CloneNotSupportedException
        Overrides:
        clone in class java.lang.Object
        Throws:
        java.lang.CloneNotSupportedException