public interface IntSet
Copyright (c) SAP AG 2003
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(int i)
Add i to the set
|
void |
addInterval(int n,
int m)
Adds all integers [n, m[, starting from n up to,
but not including m to the set
|
void |
clear()
Remove all members of the set.
|
boolean |
contains(int i)
Return if set contains i.
|
boolean |
isEmpty()
Return if set is empty
|
IntIterator |
iterator()
Iterators over all int in set
|
boolean |
remove(int i)
Remove i from the set.
|
void |
removeInterval(int n,
int m)
Removes all integers [n, m[, starting from n up to,
but not including m from the set
|
int |
size()
Return number of elements in set
|
boolean contains(int i)
i - to checkboolean add(int i)
i - to add to setboolean remove(int i)
i - to remove from setvoid addInterval(int n,
int m)
n - lower bound to addm - upper bound (exclusive) to addvoid removeInterval(int n,
int m)
n - lower bound to removem - upper bound (exclusive) to removeint size()
boolean isEmpty()
IntIterator iterator()
void clear()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2021 SAP SE Complete Copyright Notice