Package com.io7m.smfj.processing.api
Interface SMFAttributeArrayType
-
- All Known Subinterfaces:
SMFAttributeArrayFloating1Type,SMFAttributeArrayFloating2Type,SMFAttributeArrayFloating3Type,SMFAttributeArrayFloating4Type,SMFAttributeArrayIntegerSigned1Type,SMFAttributeArrayIntegerSigned2Type,SMFAttributeArrayIntegerSigned3Type,SMFAttributeArrayIntegerSigned4Type,SMFAttributeArrayIntegerUnsigned1Type,SMFAttributeArrayIntegerUnsigned2Type,SMFAttributeArrayIntegerUnsigned3Type,SMFAttributeArrayIntegerUnsigned4Type
- All Known Implementing Classes:
SMFAttributeArrayFloating1,SMFAttributeArrayFloating2,SMFAttributeArrayFloating3,SMFAttributeArrayFloating4,SMFAttributeArrayIntegerSigned1,SMFAttributeArrayIntegerSigned2,SMFAttributeArrayIntegerSigned3,SMFAttributeArrayIntegerSigned4,SMFAttributeArrayIntegerUnsigned1,SMFAttributeArrayIntegerUnsigned2,SMFAttributeArrayIntegerUnsigned3,SMFAttributeArrayIntegerUnsigned4
public interface SMFAttributeArrayTypeThe type of arrays.
-
-
Method Summary
-
-
-
Method Detail
-
matchArray
<A,B,E extends java.lang.Exception> B matchArray(A context, SMFPartialBiFunctionType<A,SMFAttributeArrayFloating4Type,B,E> on_f4, SMFPartialBiFunctionType<A,SMFAttributeArrayFloating3Type,B,E> on_f3, SMFPartialBiFunctionType<A,SMFAttributeArrayFloating2Type,B,E> on_f2, SMFPartialBiFunctionType<A,SMFAttributeArrayFloating1Type,B,E> on_f1, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerUnsigned4Type,B,E> on_u4, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerUnsigned3Type,B,E> on_u3, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerUnsigned2Type,B,E> on_u2, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerUnsigned1Type,B,E> on_u1, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerSigned4Type,B,E> on_i4, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerSigned3Type,B,E> on_i3, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerSigned2Type,B,E> on_i2, SMFPartialBiFunctionType<A,SMFAttributeArrayIntegerSigned1Type,B,E> on_i1) throws E extends java.lang.ExceptionMatch on the type of array.- Type Parameters:
A- The type of contextual valuesB- The type of returned valuesE- The type of raised exceptions- Parameters:
context- A contextual valueon_f4- A receiver functionon_f3- A receiver functionon_f2- A receiver functionon_f1- A receiver functionon_u4- A receiver functionon_u3- A receiver functionon_u2- A receiver functionon_u1- A receiver functionon_i4- A receiver functionon_i3- A receiver functionon_i2- A receiver functionon_i1- A receiver function- Returns:
- A value of
A - Throws:
E- If any of the functions raiseEE extends java.lang.Exception
-
size
int size()
- Returns:
- The size of the array
-
-