protected static void RegisterIID (Class<?> clazz, int version, nsID iid) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { /* * Note that the table's final slot is used to cache the iid for * the current version since this is the most frequently used one. */ table = new nsID[MozillaVersion.GetLatestVersion () + 2]; IIDs.put (clazz, table); } table[version] = iid; } } }
protected static void RegisterIID (Class<?> clazz, int version, nsID iid) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { /* * Note that the table's final slot is used to cache the iid for * the current version since this is the most frequently used one. */ table = new nsID[MozillaVersion.GetLatestVersion () + 2]; IIDs.put (clazz, table); } table[version] = iid; } } }
protected static void RegisterIID (Class<?> clazz, int version, nsID iid) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { /* * Note that the table's final slot is used to cache the iid for * the current version since this is the most frequently used one. */ table = new nsID[MozillaVersion.GetLatestVersion () + 2]; IIDs.put (clazz, table); } table[version] = iid; } } }
protected static void RegisterIID (Class<?> clazz, int version, nsID iid) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { /* * Note that the table's final slot is used to cache the iid for * the current version since this is the most frequently used one. */ table = new nsID[MozillaVersion.GetLatestVersion () + 2]; IIDs.put (clazz, table); } table[version] = iid; } } }
public static nsID GetIID (Class<?> clazz, int version, boolean exact) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { return table[version]; int defaultIIDIndex = MozillaVersion.GetLatestVersion () + 1; if (version == MozillaVersion.GetCurrentVersion () && table[defaultIIDIndex] != null) { return table[defaultIIDIndex]; /* the cached value */
public static nsID GetIID (Class<?> clazz, int version, boolean exact) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { return table[version]; int defaultIIDIndex = MozillaVersion.GetLatestVersion () + 1; if (version == MozillaVersion.GetCurrentVersion () && table[defaultIIDIndex] != null) { return table[defaultIIDIndex]; /* the cached value */
public static nsID GetIID (Class<?> clazz, int version, boolean exact) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { return table[version]; int defaultIIDIndex = MozillaVersion.GetLatestVersion () + 1; if (version == MozillaVersion.GetCurrentVersion () && table[defaultIIDIndex] != null) { return table[defaultIIDIndex]; /* the cached value */
public static nsID GetIID (Class<?> clazz, int version, boolean exact) { if (version <= MozillaVersion.GetLatestVersion ()) { nsID[] table = IIDs.get (clazz); if (table == null) { return table[version]; int defaultIIDIndex = MozillaVersion.GetLatestVersion () + 1; if (version == MozillaVersion.GetCurrentVersion () && table[defaultIIDIndex] != null) { return table[defaultIIDIndex]; /* the cached value */