class AttributeMap implements Serializable {

   public static AttributeMap mapOf(AttributeValue<?>... values) {
      Map<AttributeKey<?>, Object> delegate = new HashMap<AttributeKey<?>, Object>(Math.min(values.length, 1));
      for(AttributeValue<?> value: values) {
         delegate.put(value.getKey(), value.getValue());
      }
      return new AttributeMap(delegate);
   }

   protected  AttributeMap(Map<AttributeKey<?>, Object> delegate);

}