1 7 package javax.print.attribute.standard; 8 9 import javax.print.attribute.Attribute ; 10 import javax.print.attribute.IntegerSyntax ; 11 import javax.print.attribute.PrintServiceAttribute ; 12 13 39 public final class PagesPerMinuteColor extends IntegerSyntax 40 implements PrintServiceAttribute { 41 42 static final long serialVersionUID = 1684993151687470944L; 43 44 53 public PagesPerMinuteColor(int value) { 54 super(value, 0, Integer.MAX_VALUE); 55 } 56 57 76 public boolean equals(Object object) { 77 return (super.equals(object) && 78 object instanceof PagesPerMinuteColor ); 79 } 80 81 91 public final Class <? extends Attribute > getCategory() { 92 return PagesPerMinuteColor .class; 93 } 94 95 104 public final String getName() { 105 return "pages-per-minute-color"; 106 } 107 108 } 109 | Popular Tags |