class ContactList<C : Contact> : Iterable<C>
只读联系人列表, 无锁链表实现
See Also
<init> |
只读联系人列表, 无锁链表实现 ContactList(delegate: LockFreeLinkedList<C>) |
_idContentString |
val |
delegate |
val delegate: LockFreeLinkedList<C> |
size |
val size: Int |
contains |
operator fun contains(element: C): Boolean operator fun contains(id: Long): Boolean |
containsAll |
fun containsAll(elements: Collection<C>): Boolean |
first |
fun |
firstOrNull |
fun |
forEach |
fun |
get |
operator fun get(id: Long): C |
getOrNull |
fun getOrNull(id: Long): C? |
isEmpty |
fun isEmpty(): Boolean |
iterator |
fun iterator(): Iterator<C> |
toString |
fun toString(): String |
idContentString |
ID 列表的字符串表示. 如: val ContactList<*>.idContentString: String |
asSequence |
fun <E : Contact> ContactList<E>. |
toList |
fun <E : Contact> ContactList<E>. |
toMutableList |
fun <E : Contact> ContactList<E>. |
toMutableSet |
fun <E : Contact> ContactList<E>. |
toSet |
fun <E : Contact> ContactList<E>. |