- Type Parameters:
T
- the accessory type contained in this array
- All Known Subinterfaces:
AnnotationArray<T>
,AnnotationArray<T>
,Array<T>
,Array<T>
,TriggerArray<T>
,TriggerArray<T>
@Signal(int.class) public interface Array<@OVLParameter("template") T extends Accessory> extends Accessory, Iterable<T>
This type represents accessory arrays.
- Author:
- Dr. Peter Droste, Omix Visualization
-
Method Summary
Modifier and Type Method Description int
count()
The size of the array.T
get(int index)
returns the accessory associated to the given indexint
indexOf(Accessory accessory)
Orientation
orientation()
The orientation of the array.default int
size()
Deprecated.Methods inherited from interface omix.lang.reflect.Member
getAnnotation, getAnnotations, getAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotations, getDeclaredAnnotationsByType, getName, getNamespace, isAnnotationPresent
-
Method Details
-
count
The size of the array. By increasing the size new accessories are created in the diagram. by decreasing the size existing accessories are removed from the network diagram.- Returns:
- size array size
-
size
Deprecated. -
orientation
The orientation of the array.- Returns:
- orientation
-
get
returns the accessory associated to the given index- Parameters:
index
- index- Returns:
- accessory at position
index
-
indexOf
-