package editor.model;

class DoubleTextNode {
    private char c;
    private DoubleTextNode next, prev;
    
    DoubleTextNode(char c) {
    }
    
    DoubleTextNode getNext() {return next;}
    DoubleTextNode getPrev() {return prev;}
    char getChar() {return c;}
    
    void addAfter(DoubleTextNode other) {
    }
    
    void addBefore(DoubleTextNode other) {
    }
    
    void removeAfter() {
    }
    
    void removeBefore() {
    }

    void mergeAfter(DoubleTextNode other) {
            // Lab 9
    }
    
    void mergeBefore(DoubleTextNode other) {
            // Lab 9
    }
    
    public DoubleTextNode copyBefore() {
            // Lab 9
            return null;
    }
    
    public DoubleTextNode copyAfter() {
            // Lab 9
            return null;
    }
}
