Collecting Parameter


Collecting Parameter


To store the collaborative result of numerous methods within a collection.


Real-world example

Within a large corporate building, there exists a global printer queue that is a collection of all the printing jobs that are currently pending. Various floors contain different models of printers, each having a different printing policy. We must construct a program that can continually add appropriate printing jobs to a collection, which is called the collecting parameter.

iluwatarIdiomGenericAbout 3 min