@ Override public FloatColumn asFloatColumn ( ) { FloatArrayList values = new FloatArrayList ( ) ; for ( int d : data ) { values . add ( d ) ; } values . trim ( ) ; return FloatColumn . create ( this . name ( ) , values . elements ( ) ) ; }
Returns a new FloatColumn containing a value for each value in this column truncating if necessary .