Enum EInterval.Clusivity

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<EInterval.Clusivity>
    Enclosing class:
    EInterval

    public static enum EInterval.Clusivity
    extends java.lang.Enum<EInterval.Clusivity>
    Specifies whether an end point is inclusive or exclusive.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      EXCLUSIVE
      The end point time is excluded from the interval.
      INCLUSIVE
      The end point time is included in the interval.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      char beginSymbol()
      Returns clusivity begin symbol.
      char endSymbol()
      Returns clusivity end symbol.
      static EInterval.Clusivity valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static EInterval.Clusivity[] 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

      • INCLUSIVE

        public static final EInterval.Clusivity INCLUSIVE
        The end point time is included in the interval.
      • EXCLUSIVE

        public static final EInterval.Clusivity EXCLUSIVE
        The end point time is excluded from the interval.
    • Method Detail

      • values

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

        public static EInterval.Clusivity 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
      • beginSymbol

        public char beginSymbol()
        Returns clusivity begin symbol.
        Returns:
        begin symbol.
      • endSymbol

        public char endSymbol()
        Returns clusivity end symbol.
        Returns:
        end symbol.