Example #1
0
 /**
  * A factory for fast construction of this class. The constructed object will be a wrapper around
  * the specified <code>List</code>. The calling method must ensure that the <code>List</code> is
  * never externally modified, in order to meet the immutability requirement of {@link PdfObject
  * PdfObject}.
  *
  * @param a the <code>List</code> to be used to back this array.
  * @return the constructed object.
  */
 protected static PdfArray wrap(List a) {
   PdfArray pa = new PdfArray();
   pa._a = Collections.unmodifiableList(a);
   return pa;
 }