public class DefaultComplexNotification extends Object implements Cloneable, ComplexNotification
| Constructor and Description |
|---|
DefaultComplexNotification() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Visitor visitor)
Provides each value of this container to the provided
Visitor. |
void |
addNotification(Object arg) |
Object |
clone()
Creates a copy of the object.
|
public void addNotification(Object arg)
public Object clone() throws CloneNotSupportedException
Cloneableclone in class ObjectCloneNotSupportedException - if the instance of the object cannot
be cloned. As this is extending Cloneable so
its sure it implements it, so this exception may be used for problems
on specific object instances.Object#clone()}.public void accept(Visitor visitor) throws BaseException
VisitableVisitor.accept in interface Visitablevisitor - the visitor to apply to each value.BaseException - if there is an error while performing the visit