Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codenameone/CodenameOne
/ clear
Method
clear
Ports/CLDC11/src/java/util/Hashtable.java:281–285 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
279
///
280
/// - #size
281
public
synchronized
void
clear() {
282
elementCount = 0;
283
Arrays.fill(elementData, null);
284
modCount++;
285
}
286
287
288
private
void
computeMaxSize() {
Callers
nothing calls this directly
Calls
2
fill
Method · 0.95
clear
Method · 0.65
Tested by
no test coverage detected