|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.tptp.platform.report.core.internal.DColorRegistry
org.eclipse.tptp.platform.report.birt).
public class DColorRegistry
A DColorRegistry is a registry collecting IDColor objects. A DColorRegistry stores only one instance of IDColor if two IDColor are equals. Before to store a new IDColor the registry checks if the IDColor doesn't exist in the registry by calling the method contains.
IDColor,
contains(org.eclipse.tptp.platform.report.core.internal.IDColor)| Constructor Summary | |
|---|---|
DColorRegistry()
Deprecated. Creates an empty DColorRegistry. |
|
| Method Summary | |
|---|---|
void |
clear()
Deprecated. Clears the Registry of keys. |
boolean |
contains(IDColor color)
Deprecated. Returns true if the color is already stored in the registry. |
boolean |
isEmpty()
Deprecated. |
java.util.Iterator |
iterator()
Deprecated. Returns an iterator to access to all colors. |
void |
putColor(IDColor c)
Deprecated. Put the color in the registry only if color isn't already stored. |
boolean |
remove(IDColor c)
Deprecated. Remove the color if stored in registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DColorRegistry()
| Method Detail |
|---|
public void clear()
clear in interface IDRegistrypublic boolean contains(IDColor color)
Object.equals(java.lang.Object)public void putColor(IDColor c)
public boolean remove(IDColor c)
public java.util.Iterator iterator()
iterator in interface IDRegistrypublic boolean isEmpty()
|
TPTP 4.5.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||