Interface ValueLabel<V extends Serializable>

Type Parameters:
V - 值的类型,必须实现Serializable接口
All Known Implementing Classes:
Option

public interface ValueLabel<V extends Serializable>
值标签接口,定义了获取值和标签的通用方法
Author:
Cody Lu
  • Method Summary

    Modifier and Type
    Method
    Description
    Label标签
  • Method Details

    • getValue

      V getValue()
      Returns:
      返回值对象
    • getLabel

      String getLabel()
      Label标签
      Returns:
      返回标签字符串