|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ReadableLongMap
Provides read access to a collection using long integer values as element keys.
| Method Summary | ||
|---|---|---|
boolean |
contains(long key)
Determines if this collection contains an element with provided long integer key. |
|
Object |
get(long key)
Retrieves element by long integer key. |
|
long |
getKey(Object element)
Retrieves long integer key by element. |
|
int |
size()
Retrieves the number of elements in this collection. |
|
| Method Detail |
|---|
int size()
Object get(long key)
key - Key for desired element.
long getKey(Object element)
Note: This operation can be linear with respect to the number of entries in the table.
element - Element for which you want the key.
boolean contains(long key)
key - Key to locate in this collection.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.