daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Dec 10th, 2018 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Ujian Akhir Semester
  3.  * Kelas PBO B
  4.  * @author Hendra Ramadani (05111740000055)
  5.  * 10 December 2018
  6.  */
  7. public abstract class Filter
  8. {
  9.     private String name;
  10.  
  11.     /**
  12.      * Create a new filter with a given name.
  13.      * @param name The name of the filter.
  14.      */
  15.     public Filter(String name)
  16.     {
  17.         this.name = name;
  18.     }
  19.    
  20.     /**
  21.      * Return the name of this filter.
  22.      *
  23.      * @return  The name of this filter.
  24.      */
  25.     public String getName()
  26.     {
  27.         return name;
  28.     }
  29.    
  30.     /**
  31.      * Apply this filter to an image.
  32.      *
  33.      * @param  image  The image to be changed by this filter.
  34.      */
  35.     public abstract void apply(OFImage image);
  36. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top