类 KeyValuePair<K,​V>

    • 字段详细资料

      • key

        protected K key
      • value

        protected V value
    • 构造器详细资料

      • KeyValuePair

        public KeyValuePair()
    • 方法详细资料

      • formatString

        public String formatString​(String separator)
        美化成字符串
        参数:
        separator -
        返回:
      • of

        public static <K,​V> KeyValuePair<K,​V> of​(K key,
                                                             V value)
        带值初始化
        类型参数:
        K -
        V -
        参数:
        key -
        value -
        返回: