blob: 4c36d5bd0c287ef965484f5ee9fc9dc141c9865f [file] [log] [blame]
class Entry {
private final Object obj;
protected Entry(Directory parent) {
obj = ((Entry)parent).obj; //cast is needed because 'obj' is not visible with 'Directory' access class
}
}
class Directory extends Entry {
public Directory(Directory parent) {
super(parent);
}
}