public Primitive(Object value){
  this.value=value;
  type=(value != null) ? Utilities.getPrimitiveType(value.getClass()) : null;
  if (type == null) {
    throw new IllegalArgumentException("value is not a primitive: " + value);
  }
}

public Primitive ( Object value ) { this . value = value ; type = ( value != null ) ? Utilities . getPrimitiveType ( value . getClass ( ) ) : null ; if ( type == null ) { throw new IllegalArgumentException ( "value is not a primitive: " + value ) ; } }
creates an object that represents a primitive value of the type associated with the specified primitive wrapper object .
