Interface ArrayAdapter<T,A>
-
- Type Parameters:
T- Item typeA- Array object type
- All Known Subinterfaces:
NumberArrayAdapter<N,A>
- All Known Implementing Classes:
DoubleArray,DoubleArrayAdapter,ExtendedArray,FeatureSelection.ProjectedFeatureVectorAdapter,FeatureSelection.ProjectedNumberFeatureVectorAdapter,FeatureVectorAdapter,FloatArrayAdapter,IntegerArray,NodeArrayAdapter,NumberVectorAdapter
public interface ArrayAdapter<T,A>Adapter for array-like things. For example, arrays and lists.- Since:
- 0.5.0
- Author:
- Erich Schubert
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Tget(A array, int off)Get the off'th item from the array.intsize(A array)Get the size of the array.
-
-
-
Method Detail
-
size
int size(A array)
Get the size of the array.- Parameters:
array- Array-like thing- Returns:
- Size
-
-