@ Override public ShortColumn asShortColumn ( ) { ShortArrayList values = new ShortArrayList ( ) ; for ( long f : data ) { values . add ( ( short ) f ) ; } values . trim ( ) ; return ShortColumn . create ( this . name ( ) , values . elements ( ) ) ; }
Returns a new ShortColumn containing a value for each value in this column