Constructor and Description |
---|
RecordIdSet() |
Modifier and Type | Method and Description |
---|---|
boolean |
addIfNotPresent(RecordId id)
Add
id to this set if not already present |
boolean |
contains(RecordId id)
Check whether
id is present is this set. |
public boolean addIfNotPresent(RecordId id)
id
to this set if not already presentid
- the record id to addtrue
if added, false
if already presentpublic boolean contains(RecordId id)
id
is present is this set.id
- the record id to check fortrue
iff id
is present.Copyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.