Updating HayesVisitor and ZoomVisitor
This commit is contained in:
parent
04d80f05c8
commit
51659fe9c5
@ -25,6 +25,6 @@ package com.iluwatar.acyclicvisitor;
|
|||||||
/**
|
/**
|
||||||
* HayesVisitor interface
|
* HayesVisitor interface
|
||||||
*/
|
*/
|
||||||
public interface HayesVisitor {
|
public interface HayesVisitor extends ModemVisitor {
|
||||||
void visit(Hayes hayes);
|
void visit(Hayes hayes);
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,6 @@ package com.iluwatar.acyclicvisitor;
|
|||||||
/**
|
/**
|
||||||
* ZoomVisitor interface
|
* ZoomVisitor interface
|
||||||
*/
|
*/
|
||||||
public interface ZoomVisitor {
|
public interface ZoomVisitor extends ModemVisitor{
|
||||||
void visit(Zoom zoom);
|
void visit(Zoom zoom);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user