Package application
Class Printer
java.lang.Object
application.Printer
Represents a 3D printer with its attributes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintdoubledoubledoubletoString()Returns a formatted string representing the printer's attributes.
-
Constructor Details
-
Printer
public Printer(String nickname, double powerConsumption, double printTimePerUnit, double nozzleSize, int bedCapacity) Constructor for creating a printer object.
-
-
Method Details
-
getNickname
-
getPowerConsumption
public double getPowerConsumption() -
getPrintTimePerUnit
public double getPrintTimePerUnit() -
getNozzleSize
public double getNozzleSize() -
getBedCapacity
public int getBedCapacity() -
toString
Returns a formatted string representing the printer's attributes.
-