In computer programming, a utility class is a class that defines a set of methods that perform common, often re-used functions. Most utility classes define these common methods under static (see Static variable) scope. Examples of utility classes include java.util.Collections which provides several utility methods (such as sorting) on objects that implement a Collection (java.util.collection ).
Famous quotes containing the words utility and/or class:
“Moral sensibilities are nowadays at such cross-purposes that to one man a morality is proved by its utility, while to another its utility refutes it.”
—Friedrich Nietzsche (18441900)
“There is a certain class of people who prefer to say that their fathers came down in the world through their own follies than to boast that they rose in the world through their own industry and talents. It is the same shabby-genteel sentiment, the same vanity of birth which makes men prefer to believe that they are degenerated angels rather than elevated apes.”
—W. Winwood Reade (18381875)