Skip to content

Commit

Permalink
Readd File to Index#324
Browse files Browse the repository at this point in the history
  • Loading branch information
mikulucky committed Dec 28, 2015
1 parent 749880e commit 52d6e20
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
package com.iluwatar.delegation.simple.printers;

import com.iluwatar.delegation.simple.Printer;

/**
* Specialised Implementation of {@link Printer} for a HP Printer, in
* this case the message to be printed is appended to "HP Printer : "
*
* @see Printer
*/
public class HpPrinter implements Printer {

/**
* {@inheritDoc}
*/
@Override
public void print(String message) {
System.out.println("HP Printer : " + message);
}

}

0 comments on commit 52d6e20

Please sign in to comment.