aboutsummaryrefslogtreecommitdiff
path: root/Week8/src/qtrees/Qtrees.java
blob: 7bd018e6f803c130c5237837c03b6fc6d6ef913e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package qtrees;

import java.io.StringReader;

/**
 *
 * @author Sjaak
 */
public class Qtrees {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        String test_tekst = "10011010001010010001010101100011000101000000";
        StringReader input = new StringReader(test_tekst);
        QTree qt = new QTree( input );
        Bitmap bitmap = new Bitmap(8, 8);
        qt.fillBitmap( bitmap );
        System.out.println(bitmap);

    }

}