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 28 public final class PagesPerMinute extends IntegerSyntax 29 implements PrintServiceAttribute { 30 31 private static final long serialVersionUID = -6366403993072862015L; 32 33 42 public PagesPerMinute(int value) { 43 super(value, 0, Integer.MAX_VALUE); 44 } 45 46 65 public boolean equals(Object object) { 66 return (super.equals (object) && 67 object instanceof PagesPerMinute ); 68 } 69 70 79 public final Class <? extends Attribute > getCategory() { 80 return PagesPerMinute .class; 81 } 82 83 92 public final String getName() { 93 return "pages-per-minute"; 94 } 95 96 } 97 | Popular Tags |