| Package | Description |
|---|---|
| com.neurotec.beans | |
| com.neurotec.lang | |
| com.neurotec.lang.reflect |
| Modifier and Type | Method and Description |
|---|---|
EnumSet<NAttribute> |
NDescriptor.getAttributes()
Retrieves the attributes of the current descriptor.
|
| Constructor and Description |
|---|
NCustomParameterDescriptor(String name,
NType parameterType,
EnumSet<NAttribute> attributes,
String format,
Object defaultValue,
Object minValue,
Object maxValue,
Map.Entry<String,Object>[] stdValues,
Object data)
Creates a new custom parameter descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
static NAttribute |
NAttribute.get(int value) |
static NAttribute |
NAttribute.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NAttribute[] |
NAttribute.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
EnumSet<NAttribute> |
NValue.getAttributes()
Gets the attributes of the value.
|
EnumSet<NAttribute> |
NType.getAttributes() |
static EnumSet<NAttribute> |
NAttribute.getSet(int value) |
| Modifier and Type | Method and Description |
|---|---|
static NValue |
NValue.changeType(NValue srcValue,
NType type,
EnumSet<NAttribute> attributes)
Changes the type of the specified value to the new type.
|
static NValue |
NValue.changeType(NValue srcValue,
NType type,
EnumSet<NAttribute> attributes,
String format)
Changes the type of the specified value to the new type.
|
Object |
NType.createInstance(EnumSet<NAttribute> attributes) |
static Object |
NType.createInstance(String name,
EnumSet<NAttribute> attributes) |
Object |
NModule.createInstance(String name,
EnumSet<NAttribute> attributes) |
static NArray |
NArray.fromArray(boolean[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified Boolean value array.
|
static NArray |
NArray.fromArray(byte[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified byte array.
|
static NArray |
NArray.fromArray(char[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified char array.
|
static <E> NArray |
NArray.fromArray(Class<E> cls,
E value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified array of the specified type.
|
static NArray |
NArray.fromArray(double[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified double value array.
|
static NArray |
NArray.fromArray(float[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified floating point value array.
|
static NArray |
NArray.fromArray(int[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified integer array.
|
static NArray |
NArray.fromArray(long[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified long integer array.
|
static NArray |
NArray.fromArray(NativeSize[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified native size value array.
|
static NArray |
NArray.fromArray(NType type,
NObject[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified object array.
|
static NArray |
NArray.fromArray(Object value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified object.
|
static NArray |
NArray.fromArray(com.sun.jna.Pointer[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified pointer array.
|
static NArray |
NArray.fromArray(short[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified short integer array.
|
static NArray |
NArray.fromArray(String[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified string array.
|
static <E> NValue |
NValue.fromClass(Class<E> cls,
E value,
EnumSet<NAttribute> attributes)
Creates a new value from the specified class.
|
static NValue |
NValue.fromDuration(long value,
EnumSet<NAttribute> attributes)
Creates a new value from the specified duration value.
|
static NArray |
NArray.fromDurationArray(long[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified duration value array.
|
static NValue |
NValue.fromListener(EventListener value,
EnumSet<NAttribute> attributes) |
static NValue |
NValue.fromListener(EventListener value,
EnumSet<NAttribute> attributes,
NObject target) |
static NValue |
NValue.fromObject(NType type,
NObject value,
EnumSet<NAttribute> attributes)
Creates a new value from the specified object.
|
static NValue |
NValue.fromObject(Object value,
EnumSet<NAttribute> attributes)
Creates a new value from the specified object.
|
static NValue |
NValue.fromResult(int value,
EnumSet<NAttribute> attributes)
Creates a new value from the specified result.
|
static NArray |
NArray.fromResultArray(int[] value,
EnumSet<NAttribute> attributes)
Creates a new array from the specified result array.
|
static NValue |
NValue.fromString(String value,
EnumSet<NAttribute> attributes)
Creates a new value from the specified string.
|
<E> E |
NArray.getValueAs(int index,
Class<E> cls,
EnumSet<NAttribute> attributes)
Retrieves the of the specified value of the specified type in the array.
|
<E> E |
NArray.getValueAs(int index,
Class<E> cls,
EnumSet<NAttribute> attributes,
String format)
Retrieves the of the specified value of the specified type in the array.
|
boolean |
NArray.getValueAsBoolean(int index,
EnumSet<NAttribute> attributes) |
boolean |
NArray.getValueAsBoolean(int index,
EnumSet<NAttribute> attributes,
String format) |
byte |
NArray.getValueAsByte(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified byte value in the array.
|
byte |
NArray.getValueAsByte(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified byte value in the array.
|
char |
NArray.getValueAsCharacter(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified char value in the array.
|
char |
NArray.getValueAsCharacter(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified char value in the array.
|
double |
NArray.getValueAsDouble(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified double value in the array.
|
double |
NArray.getValueAsDouble(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified double value in the array.
|
long |
NArray.getValueAsDuration(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified duration value in the array.
|
long |
NArray.getValueAsDuration(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified duration value in the array.
|
float |
NArray.getValueAsFloat(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified floating point value in the array.
|
float |
NArray.getValueAsFloat(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified floating point value in the array.
|
int |
NArray.getValueAsInteger(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified integer value in the array.
|
int |
NArray.getValueAsInteger(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified integer value in the array.
|
long |
NArray.getValueAsLong(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified long integer value in the array.
|
long |
NArray.getValueAsLong(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified long integer value in the array.
|
NativeSize |
NArray.getValueAsNativeSize(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified native size value in the array.
|
NativeSize |
NArray.getValueAsNativeSize(int index,
EnumSet<NAttribute> attributes,
String format) |
NObject |
NArray.getValueAsObject(int index,
NType type,
EnumSet<NAttribute> attributes)
Retrieves the specified object in the array.
|
NObject |
NArray.getValueAsObject(int index,
NType type,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified object in the array.
|
com.sun.jna.Pointer |
NArray.getValueAsPointer(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified pointer value in the array.
|
com.sun.jna.Pointer |
NArray.getValueAsPointer(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified pointer value in the array.
|
int |
NArray.getValueAsResult(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified result value in the array.
|
int |
NArray.getValueAsResult(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified result value in the array.
|
short |
NArray.getValueAsShort(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified short integer value in the array.
|
short |
NArray.getValueAsShort(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified short integer value in the array.
|
String |
NArray.getValueAsString(int index,
EnumSet<NAttribute> attributes)
Retrieves the specified string value in the array.
|
String |
NArray.getValueAsString(int index,
EnumSet<NAttribute> attributes,
String format)
Retrieves the specified string value in the array.
|
Object |
NArray.toArray(Class<?> cls,
EnumSet<NAttribute> attributes)
Copies the current array into another array of the specified type.
|
Object |
NArray.toArray(Class<?> cls,
EnumSet<NAttribute> attributes,
String format)
Copies the current array into another array of the specified type.
|
boolean |
NValue.toBoolean(EnumSet<NAttribute> attributes)
Converts the current value into a Boolean value.
|
boolean |
NValue.toBoolean(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a Boolean value.
|
boolean[] |
NArray.toBooleanArray(EnumSet<NAttribute> attributes)
Copies the current array into a Boolean value array.
|
boolean[] |
NArray.toBooleanArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a Boolean value array.
|
byte |
NValue.toByte(EnumSet<NAttribute> attributes)
Converts the current value into a byte.
|
byte |
NValue.toByte(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a byte.
|
byte[] |
NArray.toByteArray(EnumSet<NAttribute> attributes)
Copies the current array into a byte array.
|
byte[] |
NArray.toByteArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a byte array.
|
char |
NValue.toCharacter(EnumSet<NAttribute> attributes)
Converts the current value into a char.
|
char |
NValue.toCharacter(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a char.
|
char[] |
NArray.toCharacterArray(EnumSet<NAttribute> attributes)
Copies the current array into a char array.
|
char[] |
NArray.toCharacterArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a char array.
|
<E> E |
NValue.toClass(Class<E> cls,
EnumSet<NAttribute> attributes)
Converts the current value into a value of the specified class.
|
<E> E |
NValue.toClass(Class<E> cls,
EnumSet<NAttribute> attributes,
String format)
Converts the current value into a value of the specified class.
|
static Class<?> |
NType.toClass(NType value,
EnumSet<NAttribute> attributes,
boolean deepMap)
Converts the native type to a regular type.
|
protected Object |
NValue.toClassInternal(Class<?> cls,
EnumSet<NAttribute> attributes,
String format) |
protected Object |
NArray.toClassInternal(Class<?> cls,
EnumSet<NAttribute> attributes,
String format) |
double |
NValue.toDouble(EnumSet<NAttribute> attributes)
Converts the current value into a double number.
|
double |
NValue.toDouble(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a double number.
|
double[] |
NArray.toDoubleArray(EnumSet<NAttribute> attributes)
Copies the current array into a double value array.
|
double[] |
NArray.toDoubleArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a double value array.
|
long |
NValue.toDuration(EnumSet<NAttribute> attributes)
Converts the current value into a duration value.
|
long |
NValue.toDuration(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a duration value.
|
long[] |
NArray.toDurationArray(EnumSet<NAttribute> attributes)
Copies the current array into a duration value array.
|
long[] |
NArray.toDurationArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a duration value array.
|
float |
NValue.toFloat(EnumSet<NAttribute> attributes)
Converts the current value into a floating point value.
|
float |
NValue.toFloat(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a floating point value.
|
float[] |
NArray.toFloatArray(EnumSet<NAttribute> attributes)
Copies the current array into a floating point value array.
|
float[] |
NArray.toFloatArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a floating point value array.
|
int |
NValue.toInteger(EnumSet<NAttribute> attributes)
Converts the current value into an integer.
|
int |
NValue.toInteger(EnumSet<NAttribute> attributes,
String format)
Converts the current value into an integer.
|
int[] |
NArray.toIntegerArray(EnumSet<NAttribute> attributes)
Copies the current array into a integer array.
|
int[] |
NArray.toIntegerArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a integer array.
|
long |
NValue.toLong(EnumSet<NAttribute> attributes)
Converts the current value into a long integer.
|
long |
NValue.toLong(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a long integer.
|
long[] |
NArray.toLongArray(EnumSet<NAttribute> attributes)
Copies the current array into a long integer array.
|
long[] |
NArray.toLongArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a long integer array.
|
NativeSize |
NValue.toNativeSize(EnumSet<NAttribute> attributes)
Converts the current value into a native size value.
|
NativeSize |
NValue.toNativeSize(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a native size value.
|
NativeSize[] |
NArray.toNativeSizeArray(EnumSet<NAttribute> attributes)
Copies the current array into a native size value array.
|
NativeSize[] |
NArray.toNativeSizeArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a native size value array.
|
static NType |
NType.toNativeType(Class<?> value,
EnumSet<NAttribute> attributes,
boolean deepMap)
Converts the specified type to a native type.
|
NObject |
NValue.toObject(NType type,
EnumSet<NAttribute> attributes)
Converts the current value into an object.
|
NObject |
NValue.toObject(NType type,
EnumSet<NAttribute> attributes,
String format)
Converts the current value into an object.
|
NObject[] |
NArray.toObjectArray(NType type,
EnumSet<NAttribute> attributes)
Copies the current array into an object array.
|
NObject[] |
NArray.toObjectArray(NType type,
EnumSet<NAttribute> attributes,
String format)
Copies the current array into an object array.
|
com.sun.jna.Pointer |
NValue.toPointer(EnumSet<NAttribute> attributes)
Converts the current value into a pointer.
|
com.sun.jna.Pointer |
NValue.toPointer(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a pointer.
|
com.sun.jna.Pointer[] |
NArray.toPointerArray(EnumSet<NAttribute> attributes)
Copies the current array into a pointer array.
|
com.sun.jna.Pointer[] |
NArray.toPointerArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a pointer array.
|
int |
NValue.toResult(EnumSet<NAttribute> attributes)
Converts the current value into a result.
|
int |
NValue.toResult(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a result.
|
int[] |
NArray.toResultArray(EnumSet<NAttribute> attributes)
Copies the current array into a result array.
|
int[] |
NArray.toResultArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a result array.
|
short |
NValue.toShort(EnumSet<NAttribute> attributes)
Converts the current value into a short integer.
|
short |
NValue.toShort(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a short integer.
|
short[] |
NArray.toShortArray(EnumSet<NAttribute> attributes)
Copies the current array into a short integer array.
|
short[] |
NArray.toShortArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a short integer array.
|
String |
NValue.toString(EnumSet<NAttribute> attributes)
Converts the current value into a string.
|
String |
NValue.toString(EnumSet<NAttribute> attributes,
String format)
Converts the current value into a string.
|
String[] |
NArray.toStringArray(EnumSet<NAttribute> attributes)
Copies the current array into a string array.
|
String[] |
NArray.toStringArray(EnumSet<NAttribute> attributes,
String format)
Copies the current array into a string array.
|
| Constructor and Description |
|---|
NValue(boolean value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(byte value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(char value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(double value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(float value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(int value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(long value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(NativeSize value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(com.sun.jna.Pointer value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
NValue(short value,
EnumSet<NAttribute> attributes)
Initializes a new instance of the NValue class.
|
| Modifier and Type | Method and Description |
|---|---|
EnumSet<NAttribute> |
NMemberInfo.getAttributes()
Retrieves the attributes of the current member.
|
EnumSet<NAttribute> |
NParameterInfo.getAttributes()
Retrieves the attributes of the current parameter.
|
EnumSet<NAttribute> |
NCollectionInfo.getItemAttributes()
Retrieves the attributes of items in the collection.
|
EnumSet<NAttribute> |
NDictionaryInfo.getItemAttributes()
Retrieves the attributes of items in the dictionary.
|
EnumSet<NAttribute> |
NArrayCollectionInfo.getItemAttributes()
Retrieves the attributes of items in the array collection.
|
EnumSet<NAttribute> |
NDictionaryInfo.getKeyAttributes()
Retrieves the attributes of item keys in the dictionary.
|
EnumSet<NAttribute> |
NDictionaryInfo.getValueAttributes()
Retrieves the attributes of item values in the dictionary.
|
Copyright © 2016 Neurotechnology. All rights reserved.