Skip to content

Instantly share code, notes, and snippets.

@r-winkler
Created August 29, 2016 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-winkler/debbd27b903987ece4c02005199be9a7 to your computer and use it in GitHub Desktop.
Save r-winkler/debbd27b903987ece4c02005199be9a7 to your computer and use it in GitHub Desktop.
List<Instrument> instruments = new ArrayList<>();
instruments.add(new Instrument("Altimeter"));
instruments.add(new Instrument("Velocity"));
Airplane airplane = new Airplane.Builder(4).withEngine(375).withRescue(2).withInstrumentList(instruments).build();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment