Interface Observable
-
- All Known Subinterfaces:
HasParentNode<T>
- All Known Implementing Classes:
AnnotationDeclaration,AnnotationExpr,AnnotationMemberDeclaration,ArrayAccessExpr,ArrayCreationExpr,ArrayCreationLevel,ArrayInitializerExpr,ArrayType,AssertStmt,AssignExpr,BinaryExpr,BlockComment,BlockStmt,BodyDeclaration,BooleanLiteralExpr,BreakStmt,CallableDeclaration,CastExpr,CatchClause,CharLiteralExpr,ClassExpr,ClassOrInterfaceDeclaration,ClassOrInterfaceType,Comment,CompactConstructorDeclaration,CompilationUnit,ConditionalExpr,ConstructorDeclaration,ContinueStmt,DoStmt,DoubleLiteralExpr,EmptyStmt,EnclosedExpr,EnumConstantDeclaration,EnumDeclaration,ExplicitConstructorInvocationStmt,Expression,ExpressionStmt,FieldAccessExpr,FieldDeclaration,ForEachStmt,ForStmt,IfStmt,ImportDeclaration,InitializerDeclaration,InstanceOfExpr,IntegerLiteralExpr,IntersectionType,JavadocComment,LabeledStmt,LambdaExpr,LineComment,LiteralExpr,LiteralStringValueExpr,LocalClassDeclarationStmt,LocalRecordDeclarationStmt,LongLiteralExpr,MarkerAnnotationExpr,MemberValuePair,MethodCallExpr,MethodDeclaration,MethodReferenceExpr,Modifier,ModuleDeclaration,ModuleDirective,ModuleExportsDirective,ModuleOpensDirective,ModuleProvidesDirective,ModuleRequiresDirective,ModuleUsesDirective,Name,NameExpr,Node,NodeList,NormalAnnotationExpr,NullLiteralExpr,ObjectCreationExpr,PackageDeclaration,Parameter,PatternExpr,PrimitiveType,ReceiverParameter,RecordDeclaration,RecordPatternExpr,ReferenceType,ReturnStmt,SimpleName,SingleMemberAnnotationExpr,Statement,StringLiteralExpr,SuperExpr,SwitchEntry,SwitchExpr,SwitchStmt,SynchronizedStmt,TextBlockLiteralExpr,ThisExpr,ThrowStmt,TryStmt,Type,TypeDeclaration,TypeExpr,TypeParameter,TypePatternExpr,UnaryExpr,UnionType,UnknownType,UnparsableStmt,VariableDeclarationExpr,VariableDeclarator,VarType,VoidType,WhileStmt,WildcardType,YieldStmt
public interface ObservableObservable element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisRegistered(AstObserver observer)Was this observer registered?voidregister(AstObserver observer)Register an observer.voidunregister(AstObserver observer)Unregister an observer.
-
-
-
Method Detail
-
register
void register(AstObserver observer)
Register an observer.
-
unregister
void unregister(AstObserver observer)
Unregister an observer. If the given observer was not registered there are no effects.
-
isRegistered
boolean isRegistered(AstObserver observer)
Was this observer registered? Note that equals is used to determine if the given observer was registered.
-
-