@Deprecated public class IlpEnumArrayKey extends IlpKey
C[]
,
where C
is a subclass of IlEnum
.
Note: Array values for keys of this type must be treated as immutable: Their components must not be modified.
Modifier and Type | Field and Description |
---|---|
static IlEnumInfo |
metainfo
Deprecated.
Metainformation about style keys.
|
defaultValue, logger
Modifier | Constructor and Description |
---|---|
protected |
IlpEnumArrayKey(String name,
IlEnumInfo enumInfo,
IlEnum[] defaultValue)
Deprecated.
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
getEnumInfo()
Deprecated.
Returns the metainfo of the subclass of
ilog.util.IlEnum
corresponding to the element type of this key. |
Class |
getValueType()
Deprecated.
Gets the value type of the key.
|
static IlpEnumArrayKey |
New(String name,
IlEnumInfo enumInfo)
Deprecated.
Creates a new key for properties whose type is an array of a subclass of
ilog.util.IlEnum with a default value of null . |
static IlpEnumArrayKey |
New(String name,
IlEnumInfo enumInfo,
IlEnum[] defaultValue)
Deprecated.
Creates a new key for properties whose type is an array of a subclass of
ilog.util.IlEnum . |
getDefaultInitValue, GetSharedInstance, GetSharedInstance, hashCode, internalGetDefaultValue, NewKey, NewKey, setDefaultInitValue
public static final IlEnumInfo metainfo
protected IlpEnumArrayKey(String name, IlEnumInfo enumInfo, IlEnum[] defaultValue)
public static IlpEnumArrayKey New(String name, IlEnumInfo enumInfo)
ilog.util.IlEnum
with a default value of null
.name
- A unique name for the key, used for serialization.enumInfo
- The metainfo of the subclass.public static IlpEnumArrayKey New(String name, IlEnumInfo enumInfo, IlEnum[] defaultValue)
ilog.util.IlEnum
.name
- A unique name for the key, used for serialization.enumInfo
- The metainfo of the subclassdefaultValue
- Initialization default value used if no other value
is available.public Object getEnumInfo()
ilog.util.IlEnum
corresponding to the element type of this key.public Class getValueType()
getValueType
in class IlpKey
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.