@Override public boolean equals(final Object obj) { if (obj == null || !(obj instanceof DirtyFlagMap)) { return false; } return map.equals(((DirtyFlagMap<?,?>) obj).getWrappedMap()); }
/** * <p> * Adds the given <code>Object</code> value to the <code>StringKeyDirtyFlagMap</code>. * </p> */ @Override public Object put(String key, Object value) { return super.put((String)key, value); }
@Override public boolean equals(Object obj) { return super.equals(obj); }
/** * Determine whether any values in this Map do not implement * <code>Serializable</code>. Always returns false if this Map * is flagged to not allow transient data. * * @deprecated JDBCJobStores no longer prune out transient data. If you * include non-Serializable values in the Map, you will now get an * exception when attempting to store it in a database. */ public boolean containsTransientData() { if (!getAllowsTransientData()) { // short circuit... return false; } String[] keys = getKeys(); for (int i = 0; i < keys.length; i++) { Object o = super.get(keys[i]); if (!(o instanceof Serializable)) { return true; } } return false; }
/** * Determine whether any values in this Map do not implement * <code>Serializable</code>. Always returns false if this Map * is flagged to not allow transient data. * * @deprecated JDBCJobStores no longer prune out transient data. If you * include non-Serializable values in the Map, you will now get an * exception when attempting to store it in a database. */ public boolean containsTransientData() { if (!getAllowsTransientData()) { // short circuit... return false; } String[] keys = getKeys(); for (int i = 0; i < keys.length; i++) { Object o = super.get(keys[i]); if (!(o instanceof Serializable)) { return true; } } return false; }
/** * <p> * Adds the given <code>String</code> value to the <code>StringKeyDirtyFlagMap</code>. * </p> */ public void put(String key, String value) { super.put(key, value); }
/** * Removes any data values in the map that are non-Serializable. Does * nothing if this Map does not allow transient data. * * @deprecated JDBCJobStores no longer prune out transient data. If you * include non-Serializable values in the Map, you will now get an * exception when attempting to store it in a database. */ public void removeTransientData() { if (!getAllowsTransientData()) { // short circuit... return; } String[] keys = getKeys(); for (int i = 0; i < keys.length; i++) { Object o = super.get(keys[i]); if (!(o instanceof Serializable)) { remove(keys[i]); } } }
@Override public boolean equals(final Object obj) { if (obj == null || !(obj instanceof DirtyFlagMap)) { return false; } return map.equals(((DirtyFlagMap<?,?>) obj).getWrappedMap()); }
@Override public boolean equals(Object obj) { return super.equals(obj); }
/** * <p> * Adds the given <code>Object</code> value to the <code>StringKeyDirtyFlagMap</code>. * </p> */ @Override public Object put(String key, Object value) { return super.put((String)key, value); }
/** * Removes any data values in the map that are non-Serializable. Does * nothing if this Map does not allow transient data. * * @deprecated JDBCJobStores no longer prune out transient data. If you * include non-Serializable values in the Map, you will now get an * exception when attempting to store it in a database. */ public void removeTransientData() { if (!getAllowsTransientData()) { // short circuit... return; } String[] keys = getKeys(); for (int i = 0; i < keys.length; i++) { Object o = super.get(keys[i]); if (!(o instanceof Serializable)) { remove(keys[i]); } } }
public boolean equals(Object obj) { if (obj == null || !(obj instanceof DirtyFlagMap)) { return false; } return map.equals(((DirtyFlagMap) obj).getWrappedMap()); }
/** * <p> * Adds the given <code>String</code> value to the <code>StringKeyDirtyFlagMap</code>. * </p> */ public void put(String key, String value) { super.put(key, value); }
/** * Determine whether any values in this Map do not implement * <code>Serializable</code>. Always returns false if this Map * is flagged to not allow transient data. * * @deprecated JDBCJobStores no longer prune out transient data. If you * include non-Serializable values in the Map, you will now get an * exception when attempting to store it in a database. */ public boolean containsTransientData() { if (!getAllowsTransientData()) { // short circuit... return false; } String[] keys = getKeys(); for (int i = 0; i < keys.length; i++) { Object o = super.get(keys[i]); if (!(o instanceof Serializable)) { return true; } } return false; }
public boolean equals(Object obj) { if (obj == null || !(obj instanceof DirtyFlagMap)) { return false; } return map.equals(((DirtyFlagMap) obj).getWrappedMap()); }
/** * <p> * Adds the given <code>boolean</code> value to the <code>StringKeyDirtyFlagMap</code>. * </p> */ public void put(String key, boolean value) { super.put(key, Boolean.valueOf(value)); }
/** * Determine whether any values in this Map do not implement * <code>Serializable</code>. Always returns false if this Map * is flagged to not allow transient data. * * @deprecated JDBCJobStores no longer prune out transient data. If you * include non-Serializable values in the Map, you will now get an * exception when attempting to store it in a database. */ public boolean containsTransientData() { if (!getAllowsTransientData()) { // short circuit... return false; } String[] keys = getKeys(); for (int i = 0; i < keys.length; i++) { Object o = super.get(keys[i]); if (!(o instanceof Serializable)) { return true; } } return false; }
/** * <p> * Adds the given <code>char</code> value to the <code>StringKeyDirtyFlagMap</code>. * </p> */ public void put(String key, char value) { super.put(key, Character.valueOf(value)); }
/** * Removes any data values in the map that are non-Serializable. Does * nothing if this Map does not allow transient data. * * @deprecated JDBCJobStores no longer prune out transient data. If you * include non-Serializable values in the Map, you will now get an * exception when attempting to store it in a database. */ public void removeTransientData() { if (!getAllowsTransientData()) { // short circuit... return; } String[] keys = getKeys(); for (int i = 0; i < keys.length; i++) { Object o = super.get(keys[i]); if (!(o instanceof Serializable)) { remove(keys[i]); } } }