Common API for accessing objects that are "array-like", including lists, numerical vectors, database vectors and arrays.
Interface Summary Interface Description ArrayAdapter<T,A>Adapter for array-like things. NumberArrayAdapter<N extends java.lang.Number,A>Adapter for arrays of numbers, to avoid boxing.
Class Summary Class Description ArrayLikeUtilUtility class that allows plug-in use of various "array-like" types such as lists in APIs that can take any kind of array to safe the cost of reorganizing the objects into a real array. DoubleArrayArray of double values (primitive, avoiding the boxing overhead of ArrayList ). DoubleArrayAdapterUse a
doublein the ArrayAdapter API.
ExtendedArray<T>Class to extend an array with a single element virtually. FeatureVectorAdapter<F>Adapter to use a feature vector as an array of features. FloatArrayAdapterUse a
floatin the ArrayAdapter API.
IntegerArrayArray of int values (primitive, avoiding the boxing overhead of ArrayList ). NumberVectorAdapterAdapter to use a feature vector as an array of features.