Class Citation


  • public class Citation
    extends java.lang.Object
    A generated citation that can be put into the text
    Author:
    Michel Kraemer
    • Constructor Summary

      Constructors 
      Constructor Description
      Citation​(int index, java.lang.String text)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getIndex()  
      java.lang.String getText()  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Citation

        public Citation​(int index,
                        java.lang.String text)
    • Method Detail

      • getIndex

        public int getIndex()
        Returns:
        the citation's index
      • getText

        public java.lang.String getText()
        Returns:
        the citation's text
      • hashCode

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

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