code: public void replace(V oldValue, V newValue) {
  		if (values.contains(oldValue)) {
  			int index = values.indexOf(oldValue);
  			values.remove(oldValue);
  			values.add(index, newValue);
  			
  			if (oldValue instanceof JsonEntity) {
  				((JsonEntity)oldValue).removePropertyChangeListener(propListener);
  			}
  			
  			if (newValue instanceof JsonEntity) {
  				((JsonEntity)newValue).removePropertyChangeListener(propListener);
  			}
  			
  			firePropertyChange("#" + index, oldValue, newValue);
  		}
  	}
docs: If oldValue exists, replaces with newValue
  
  @param oldValue
  @param newValue