com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib
Class SerializableIntegerArray

java.lang.Object
  extended by com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.SerializableType
      extended by com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.SerializableArray
          extended by com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.SerializableIntegerArray
All Implemented Interfaces:
com.kuka.common.IDataEquatable, ISerializableType, Cloneable

public final class SerializableIntegerArray
extends SerializableArray

Represents a integer array.

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

Constructor Summary
SerializableIntegerArray(int length)
          Creates a new serializable integer array.
SerializableIntegerArray(int[] value)
          Creates a new serializable double array.
 
Method Summary
 SerializableIntegerArray clone()
          Creates a copy of this serializable type.
 void fromString(String value)
          Deserializes the type from a String representation.
static SerializableIntegerArray fromValues(int... values)
          Creates a new SerializableIntegerArray instance with the given values.
 Integer get(int index)
          Gets the element at the specified index.
 MessageParameterType getParameterType()
          Gets the message type identifier of the type.
 int[] getValue()
          Gets the raw value of the serializable type.
 boolean hasSameDataAs(Object obj)
          
 void set(int index, Object value)
          Sets the value at the specified index.
 void setValue(Object value)
          Sets the value for this type.
 int size()
          Gets the size of the array.
 String toString()
          
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.SerializableArray
fromByteBuffer, getDimensions, getLength, getTypeIdentifier, split, toByteBuffer
 
Methods inherited from class com.kuka.roboticsAPI.controllerModel.sunrise.connectionLib.SerializableType
getParameterName, hasParameterNameSet, setParameterName
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SerializableIntegerArray

public SerializableIntegerArray(int length)
Creates a new serializable integer array.

Parameters:
length - The length of the array.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

SerializableIntegerArray

public SerializableIntegerArray(int[] value)
Creates a new serializable double array.

Parameters:
value - The value for the array.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.
Method Detail

getParameterType

public MessageParameterType getParameterType()
Gets the message type identifier of the type.

Specified by:
getParameterType in interface ISerializableType
Specified by:
getParameterType in class SerializableArray
Returns:
The message type identifier of the type.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

fromString

public void fromString(String value)
Deserializes the type from a String representation.

Specified by:
fromString in interface ISerializableType
Overrides:
fromString in class SerializableArray
Parameters:
value - The string representation for the type.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

fromValues

public static SerializableIntegerArray fromValues(int... values)
Creates a new SerializableIntegerArray instance with the given values.

Parameters:
values - The values.
Returns:
The created SerializableIntegerArray.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

getValue

public int[] getValue()
Gets the raw value of the serializable type.

Returns:
The raw value of the serializable type.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

setValue

public void setValue(Object value)
Sets the value for this type. Must be compatible with the type.

Parameters:
value - The value for this type. Must be compatible with the type. The value should never be null. Each subclass must check this.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

clone

public SerializableIntegerArray clone()
Creates a copy of this serializable type.

Specified by:
clone in interface ISerializableType
Specified by:
clone in class SerializableType
Returns:
A copy of this serializable type.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

toString

public String toString()

Overrides:
toString in class Object
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

get

public Integer get(int index)
Gets the element at the specified index.

Specified by:
get in class SerializableArray
Parameters:
index - The index.
Returns:
The element at the specified index.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

set

public void set(int index,
                Object value)
Sets the value at the specified index.

Specified by:
set in class SerializableArray
Parameters:
index - The index.
value - The value.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

size

public int size()
Gets the size of the array.

Specified by:
size in class SerializableArray
Returns:
The size of the array.
This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.

hasSameDataAs

public boolean hasSameDataAs(Object obj)

This element is an undocumented internal feature. It is not intended to be used by applications as it might change or be removed in future versions.


Copyright © 2019. All rights reserved.