NIMSDK-AOS  9.16.0
Public 成员函数 | 静态 Public 成员函数 | Public 属性 | 所有成员列表
com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable > 模板类 参考

可序列化的键值对 更多...

类 com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable > 继承关系图:

Public 成员函数

 Entry (K key, V value)
 Constructor for a Entry. 更多...
 
int hashCode ()
 Compute a hash code using the hash codes of the underlying objects 更多...
 
boolean equals (Object o)
 

静态 Public 成员函数

static< A extends Serializable, B extends Serializable > Entry< A, B > create (A a, B b)
 Convenience method for creating an appropriately typed entry. 更多...
 

Public 属性

final K key
 
final V value
 

详细描述

可序列化的键值对

在文件 Entry.java9 行定义.

构造及析构函数说明

◆ Entry()

com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable >.Entry ( key,
value 
)

Constructor for a Entry.

参数
keythe key object in the entry
valuethe value object in the entry

在文件 Entry.java19 行定义.

成员函数说明

◆ create()

static <A extends Serializable, B extends Serializable> Entry<A, B> com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable >.create ( a,
b 
)
static

Convenience method for creating an appropriately typed entry.

参数
athe key object in the entry
bthe value object in the entry
返回
a Entry that is templatized with the types of a and b

在文件 Entry.java53 行定义.

◆ equals()

boolean com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable >.equals ( Object  o)

在文件 Entry.java35 行定义.

◆ hashCode()

int com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable >.hashCode ( )

Compute a hash code using the hash codes of the underlying objects

返回
a hashcode of the Entry

在文件 Entry.java30 行定义.

类成员变量说明

◆ key

final K com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable >.key

在文件 Entry.java10 行定义.

◆ value

final V com.netease.nimlib.sdk.util.Entry< K extends Serializable, V extends Serializable >.value

在文件 Entry.java11 行定义.


该类的文档由以下文件生成: