Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
ISynchHash.remove
Removes an item from the hash and synchronizes the cluster as needed.
Syntax
public Object remove(String key)Parameters
key
- The key of the object to remove.
Description
The
remove
method removes an item from the hash and synchronizes the cluster as needed. Note that it is more efficient to use theclear
()
method to remove a hash then to remove all entries one by one; the first iteration of the loop has little performance cost, but subsequent iterations have the additional performance cost of cluster synchronization, which can be very high.Returns
Returns the object;
null
if not found.
Home > Contents > Index > Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.