接口 IConstant<T>

所有已知实现类:
Hash, Month

public interface IConstant<T>
The interface IConstant is the standard of all the enumerations in the class library.
Created at 3/1/2022 11:06 PM.
作者:
vorbote
  • 方法概要

    修饰符和类型
    方法
    说明
    get()
    Get the instance value of this constant value.
    boolean
    Check whether the provided value is a correct value of this enumeration.
  • 方法详细资料

    • get

      T get()
      Get the instance value of this constant value.
      返回:
      The instance value of this constant value.
    • isCorrectValue

      boolean isCorrectValue(T value)
      Check whether the provided value is a correct value of this enumeration.
      参数:
      value - The value to check.
      返回:
      Value true if the value is one of these enumerations.