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 the name of the parameter.

public GPDouble ()

Constructs an empty GPDouble object.

Public Methods

public boolean equals (Object obj)

public void fromJson (JsonParser parser)

Method used to populate a GP Parameter.

Parameters
parser a Json Parser
Throws
Exception

public String generateValueParams ()

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

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

public double getValue ()

Gets the double value.

Returns
  • the double value for this GPDouble object.

public int hashCode ()

public void setValue (double value)

Sets the double value.

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

public String toString ()