Package jisa.enums

Enum TType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TType>

    public enum TType
    extends java.lang.Enum<TType>
    Enumeration of terminal/connector types
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BANANA
      Banana Plug Connector
      BNC
      BNC/Biaxial Connector
      NONE
      Nothing
      PHOENIX
      Phoenix Connector
      TRIAX
      Triaxial Connector
    • Method Summary

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

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

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • TRIAX

        public static final TType TRIAX
        Triaxial Connector
      • PHOENIX

        public static final TType PHOENIX
        Phoenix Connector
      • BNC

        public static final TType BNC
        BNC/Biaxial Connector
      • BANANA

        public static final TType BANANA
        Banana Plug Connector
      • NONE

        public static final TType NONE
        Nothing
    • Method Detail

      • values

        public static TType[] 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 (TType c : TType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TType 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