class PdfDictionary extends PdfObject {

    public void put(final PdfName key, final PdfObject object) {
        if (key == null)
            throw new IllegalArgumentException(MessageLocalization.getComposedMessage("key.is.null"));
        if (object == null || object.isNull())
            hashMap.remove(key);
        else
            hashMap.put(key, object);
    }

    public  PdfDictionary();
    public  PdfDictionary(int capacity);
    public  PdfDictionary(final PdfName type);

}