List of usage examples for com.lowagie.text.pdf IntHashtable IntHashtable
public IntHashtable()
Constructs a new, empty hashtable with a default capacity and load factor, which is 20
and 0.75
respectively.
From source file:it.flavianopetrocchi.jpdfbookmarks.itextbookmarksconverter.iTextBookmarksConverter.java
License:Open Source License
private void initPages() { pages = new IntHashtable(); int numPages = reader.getNumberOfPages(); for (int k = 1; k <= numPages; ++k) { pages.put(reader.getPageOrigRef(k).getNumber(), k); reader.releasePage(k);/*from ww w . j ava 2 s. c o m*/ } }