1 50 51 package com.lowagie.text.pdf; 52 53 import java.util.ArrayList ; 54 55 62 63 public class PdfTextArray{ 64 ArrayList arrayList = new ArrayList (); 65 67 68 public PdfTextArray(String str) { 69 arrayList.add(str); 70 } 71 72 public PdfTextArray() { 73 } 74 75 80 81 public void add(PdfNumber number) 82 { 83 arrayList.add(new Float (number.doubleValue())); 84 } 85 86 public void add(float number) 87 { 88 arrayList.add(new Float (number)); 89 } 90 91 public void add(String str) 92 { 93 arrayList.add(str); 94 } 95 96 ArrayList getArrayList() { 97 return arrayList; 98 } 99 } | Popular Tags |