Last active
August 21, 2023 19:22
-
-
Save mcsee/200a18dd99a76a95155df4cb032b1d10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final public class PaperSize { } | |
final public class Document { } | |
final public class PrintMargins { } | |
final public class PrintRange { } | |
final public class ColorConfiguration { } | |
final public class PrintOrientation { } | |
// Class definition with methods and properties omitted for simplicity | |
final public class PrintSetup { | |
public PrintSetup(PaperSize papersize, | |
PrintOrientation orientation, | |
ColorConfiguration color, | |
PrintRange range, | |
int copiesCount, | |
PrintMargins margins | |
) {} | |
} | |
final public class Printer { | |
void print( | |
Document documentToPrint, | |
PrintSetup setup | |
) { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment