Package weka.core

Enum TechnicalInformation.Type

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      ARTICLE
      An article from a journal or magazine.
      BOOK
      A book with an explicit publisher.
      BOOKLET
      A work that is printed and bound, but without a named publisher or sponsoring institution.
      CONFERENCE
      The same as inproceedings.
      INBOOK
      A part of a book, which may be a chapter (or section or whatever) and/or a range of pages.
      INCOLLECTION
      A part of a book having its own title.
      INPROCEEDINGS
      An article in a conference proceedings.
      MANUAL
      Technical documentation.
      MASTERSTHESIS
      A Master's thesis.
      MISC
      Use this type when nothing else fits.
      PHDTHESIS
      A PhD thesis.
      PROCEEDINGS
      The proceedings of a conference.
      TECHREPORT
      A report published by a school or other institution, usually numbered within a series.
      UNPUBLISHED
      A document having an author and title, but not formally published.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getComment()
      returns the comment string
      java.lang.String getDisplay()
      returns the display string
      java.lang.String toString()
      returns the display string of the Type
      static TechnicalInformation.Type valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static TechnicalInformation.Type[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • values

        public static TechnicalInformation.Type[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TechnicalInformation.Type c : TechnicalInformation.Type.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TechnicalInformation.Type valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getDisplay

        public java.lang.String getDisplay()
        returns the display string
        Returns:
        the display string
      • getComment

        public java.lang.String getComment()
        returns the comment string
        Returns:
        the comment string
      • toString

        public java.lang.String toString()
        returns the display string of the Type
        Overrides:
        toString in class java.lang.Enum<TechnicalInformation.Type>
        Returns:
        the display string