Examples of HorizontalDraw


Examples of com.hotmoka.examples.patterns.composite.HorizontalDraw

public class Main {

  public static void main(String[] args) {
    Draw h = new H(), e = new E(), l = new L(), o = new O(), star = new Star();
    Draw hello = new HorizontalDraw(star, h, e, l, l, o, star);
    Draw frame = new FrameDraw(hello);
    System.out.println(frame);
    System.out.println(new HorizontalDraw(hello, frame));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.