1 package com.etymon.pj.object.pagemark; 2 3 import java.io.*; 4 import java.util.*; 5 import com.etymon.pj.object.*; 6 7 11 public class XTs 12 extends PageMarkOperator { 13 14 public XTs(PjNumber rise) { 15 _rise = rise; 16 } 17 18 public PjNumber getRise() { 19 return _rise; 20 } 21 22 public long writePdf(OutputStream os) throws IOException { 23 long z = _rise.writePdf(os); 24 z = z + writeln(os, " Ts"); 25 return z; 26 } 27 28 32 public Object clone() { 33 return this; 34 } 35 36 public boolean equals(Object obj) { 37 if (obj == null) { 38 return false; 39 } 40 if (obj instanceof XTs) { 41 return (_rise.equals(((XTs)obj)._rise)); 42 } else { 43 return false; 44 } 45 } 46 47 private PjNumber _rise; 48 49 } 50 | Popular Tags |