// Maschinennahe Programmierung
// WT 2012
// Uebungsblatt 2

interface Cloneable {
clone();
}

interface Compareable extends Cloneable {
compareTo();
}

interface Summable extends Cloneable {
sum();
}

abstract class Node23 {
abstract contains();
}

class Leaf23 extends Node23 implements Compareable, Summable {
contains() { }
compareTo() { }
clone() { }
sum() { }
}

class InnerNode23 extends Node23 implements Summable {
contains() { }
sum() { }
clone() { }
}