|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sapportals.wcm.protocol.webdav.sets.ArrayIntSet
public final class ArrayIntSet
Array storage of int set members
Copyright (c) SAP AG 2003
| Method Summary | |
|---|---|
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. |
static ArrayIntSet |
getInstance()
|
static ArrayIntSet |
getInstance(int capacity)
|
static ArrayIntSet |
getInstance(IntSet set)
|
float |
getStorageEfficiency()
|
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 |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static ArrayIntSet getInstance()
public static ArrayIntSet getInstance(int capacity)
public static ArrayIntSet getInstance(IntSet set)
public boolean contains(int i)
IntSet
contains in interface IntSeti - to check
public boolean add(int i)
IntSet
add in interface IntSeti - to add to set
public boolean remove(int i)
IntSet
remove in interface IntSeti - to remove from set
public void addInterval(int n,
int m)
addInterval in interface IntSetn - lower bound to addm - upper bound (exclusive) to add
public void removeInterval(int n,
int m)
removeInterval in interface IntSetn - lower bound to removem - upper bound (exclusive) to removepublic int size()
IntSet
size in interface IntSetpublic boolean isEmpty()
IntSet
isEmpty in interface IntSetpublic IntIterator iterator()
IntSet
iterator in interface IntSetpublic void clear()
IntSet
clear in interface IntSetpublic String toString()
toString in class Objectpublic float getStorageEfficiency()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
|
SAP NetWeaver 7.30 (SP05) KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||