code: public Object setValue(Token object) {
          Object result = value;
          value = object;
          return result;
      }
docs: Sets the value for this entry
  
  @param object the new value
  @return the previous value