private static void initializeInventory(Inventory inventory)
 {
     // Add Guitars to the inventory ...
     inventory.addGuitar("V12345", 0, "Fender", "Stratocastor", "electric", "Alder", "Pine");
     inventory.addGuitar("A21457", 0, "Blender", "OakTown Goove", "acoustic", "Oak", "Oak");
     inventory.addGuitar("V95693", 1499.95, "Fender", "Stratocastor", "electric", "Alder", "Alder");
     inventory.addGuitar("X54321", 0, "Fender Bender", "Stratocastor Light", "electric", "Balsa", "Bass");
     inventory.addGuitar("X99876", 0, "Fender Bender", "Stratocastor FeatherWeight", "electric", "Balsa", "Alder");
 }
 private static void initializeInventory(Inventory inventory)
 {
     // Add Guitars to the inventory ...
     inventory.addGuitar("V12345", 0, "Fender", "Stratocastor", "electric", "Alder", "Pine");
     inventory.addGuitar("A21457", 0, "Blender", "OakTown Goove", "acoustic", "Oak", "Oak");
     inventory.addGuitar("V95693", 1499.95, "Fender", "Stratocastor", "electric", "Alder", "Alder");
     inventory.addGuitar("X54321", 0, "Fender Bender", "Stratocastor Light", "electric", "Balsa", "Bass");
     inventory.addGuitar("X99876", 0, "Fender Bender", "Stratocastor FeatherWeight", "electric", "Balsa", "Alder");
 }
 private static void initializeInventory(Inventory inventory)
 {
     // Add Guitars to the inventory ...
     inventory.addGuitar("V12345", 1345.55, new GuitarSpec(Builder.Fender, "Stratocastor", Type.electric, Wood.Alder, Wood.Adirondack, 6));
     inventory.addGuitar("A21457", 900.55, new GuitarSpec(Builder.Collings, "OakTown Goove", Type.acoustic, Wood.Brazilian_Rosewood, Wood.Cedar, 6));
     inventory.addGuitar("V95693", 1499.95, new GuitarSpec(Builder.Fender, "Stratocastor", Type.electric, Wood.Alder, Wood.Alder, 6));
     inventory.addGuitar("X54321", 430.54, new GuitarSpec(Builder.Martin, "Stratocastor Light", Type.electric, Wood.Indian_Rosewood, Wood.Maple, 6));
     inventory.addGuitar("X99876", 2000.00, new GuitarSpec(Builder.PRS, "Stratocastor FeatherWeight", Type.electric, Wood.Sitka, Wood.Cocobolo, 6));
     inventory.addGuitar("V9512", 1549.95, new GuitarSpec(Builder.Fender, "Stratocastor", Type.electric, Wood.Alder, Wood.Alder, 6));
 }
Esempio n. 4
0
 private static void initializeInventory(Inventory inventory)
 {
     // Add Guitars to the inventory ...
     inventory.addGuitar("V12345", 1345.55, Builder.Fender, "Stratocastor", Type.electric, Wood.Alder, Wood.Adirondack);
     inventory.addGuitar("A21457", 900.55, Builder.Collings, "OakTown Goove", Type.acoustic, Wood.Brazilian_Rosewood, Wood.Cedar);
     inventory.addGuitar("V95693", 1499.95, Builder.Fender, "Stratocastor", Type.electric, Wood.Alder, Wood.Alder);
     inventory.addGuitar("X54321", 430.54, Builder.Martin, "Stratocastor Light", Type.electric, Wood.Indian_Rosewood, Wood.Maple);
     inventory.addGuitar("X99876", 2000.00, Builder.PRS, "Stratocastor FeatherWeight", Type.electric, Wood.Sitka, Wood.Cocobolo);
     inventory.addGuitar("V9512", 1549.95, Builder.Fender, "Stratocastor", Type.electric, Wood.Alder, Wood.Alder);
 }
Esempio n. 5
0
 private static void initializeInvetory(Inventory inventory)
 {
     inventory.addGuitar("1", 3000, Builder.FENDER, "Stratocastor", Type.ELECTRIC, Wood.MAPLE, Wood.CEDAR);
     inventory.addGuitar("2", 3500, Builder.FENDER, "Stratocastor", Type.ELECTRIC, Wood.ALDER, Wood.CEDAR);
     inventory.addGuitar("3", 4000, Builder.OLSON, "Stratocastor", Type.ACOUSTIC, Wood.ALDER, Wood.ALDER);
 }