Set SubType. More...

Public Member Functions

int value ()
 Get the int value of this enumerated SetType. More...
 

Static Public Member Functions

static SetType lookup (int value)
 Lookup all set subtypes used by GAMS. More...
 

Public Attributes

 MULTI
 Multi Set - The Default
More...
 
 SINGLETON
 Singleton Set - Zero or one element. More...
 
 UNDEFINED_TYPE
 Undefined set type
More...
 

Detailed Description

Set SubType.

See also
GAMSSet

Member Function Documentation

◆ lookup()

static SetType com.gams.api.GAMSGlobals.SetType.lookup ( int  value)
static

Lookup all set subtypes used by GAMS.

Parameters
valuean int value to lookup
Returns
the enumerated SetType that has the specified value, or UNDEFINED_TYPE if the specified value is not found.

◆ value()

int com.gams.api.GAMSGlobals.SetType.value ( )

Get the int value of this enumerated SetType.

Returns
the int value of the SetType

Member Data Documentation

◆ MULTI

com.gams.api.GAMSGlobals.SetType.MULTI

Multi Set - The Default

◆ SINGLETON

com.gams.api.GAMSGlobals.SetType.SINGLETON

Singleton Set - Zero or one element.

◆ UNDEFINED_TYPE

com.gams.api.GAMSGlobals.SetType.UNDEFINED_TYPE

Undefined set type