@ Override public LongColumn asLongColumn ( ) { LongArrayList values = new LongArrayList ( ) ; for ( double d : data ) { values . add ( ( long ) d ) ; } values . trim ( ) ; return LongColumn . create ( this . name ( ) , values . elements ( ) ) ; }
Returns a new LongColumn containing a value for each value in this column truncating if necessary