public class

GPDouble

extends GPParameter
java.lang.Object
   ↳ com.esri.core.tasks.ags.geoprocessing.GPParameter
     ↳ com.esri.core.tasks.ags.geoprocessing.GPDouble

Class Overview

Container class representing a Geo-Processing parameter of the type double.

Summary

[Expand]
Inherited Constants
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
[Expand]
Inherited Fields
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
Public Constructors
GPDouble(String paramName)
Constructor taking in the name of the parameter.
GPDouble()
Constructs an empty GPDouble object.
Public Methods
boolean equals(Object obj)
void fromJson(JsonParser parser)
Method used to populate a GP Parameter.
String generateValueParams()
Method serializing GP parameter's values into a Json format.
double getValue()
Gets the double value.
int hashCode()
void setValue(double value)
Sets the double value.
String toString()
[Expand]
Inherited Methods
From class com.esri.core.tasks.ags.geoprocessing.GPParameter
From class java.lang.Object

Public Constructors

public GPDouble (String paramName)

Constructor taking in the name of the parameter.

Parameters
paramName String: the name of the parameter.

public GPDouble ()

Constructs an empty GPDouble object.

Public Methods

public boolean equals (Object obj)

Parameters
obj Object
Returns
boolean

public void fromJson (JsonParser parser)

Method used to populate a GP Parameter.

Parameters
parser JsonParser: a Json Parser
Throws
Exception

public String generateValueParams ()

Method serializing GP parameter's values into a Json format.

Returns
String the Json String containing the GP parameter's values.

public double getValue ()

Gets the double value.

Returns
double the double value for this GPDouble object.

public int hashCode ()

Returns
int

public void setValue (double value)

Sets the double value.

Parameters
value double: the double to set as the value for this parameter.

public String toString ()

Returns
String