- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Dictionary d =
new Hashtable()
Bundle bundle;bundle.getHeaders()
new Properties()
- Smart code suggestions by Codota
}
/** * Returns the hash table "key" as a <code>Object</code> for this image. */ public static Object hashKey(RenderedImage owner) { BigInteger imageID = null; if (owner instanceof PlanarImage) imageID = (BigInteger) ((PlanarImage) owner).getImageID(); else if (owner instanceof SerializableRenderedImage) imageID = (BigInteger) ((SerializableRenderedImage) owner).getImageID(); if (imageID != null) { byte[] buf = imageID.toByteArray(); return new BigInteger(buf); } return owner.hashCode(); }