Toggle navigation
Home
com.speedment.runtime.compute.ToDouble to com.speedment.runtime.compute.ToByte
No. of Instances - 4
No. of Commits - 1
No. of Projects - {'speedment'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Cascading Type Change (Similar)
DivideObjToDouble<T,ToDouble<T>,Double>
to
DivideObjToDouble<T,ToByte<T>,Double>
DivideObjToDouble<T,ToDouble<T>,Integer>
to
DivideObjToDouble<T,ToByte<T>,Integer>
DivideObjToDouble<T,ToDouble<T>,Long>
to
DivideObjToDouble<T,ToByte<T>,Long>
ToDoubleMapper<T,ToByte<T>,ByteToDoubleFunction>
to
ToByteMapper<T,ToByte<T>,ByteUnaryOperator>
double
to
byte
Update Anonymous class
{ @Override public double applyAsDouble( T object){ return this.first.applyAsDouble(object) / second; } @Override public Double second(){ return second; } }
to
{ @Override public double applyAsDouble( T object){ return (double)this.first.applyAsByte(object) / second; } @Override public Double second(){ return second; } }
{ @Override public double applyAsDouble( T object){ return this.first.applyAsDouble(object) / (double)second; } @Override public Integer second(){ return second; } }
to
{ @Override public double applyAsDouble( T object){ return (double)this.first.applyAsByte(object) / (double)second; } @Override public Integer second(){ return second; } }
{ @Override public double applyAsDouble( T object){ return this.first.applyAsDouble(object) / (double)second; } @Override public Long second(){ return second; } }
to
{ @Override public double applyAsDouble( T object){ return (double)this.first.applyAsByte(object) / (double)second; } @Override public Long second(){ return second; } }
{ @Override public double applyAsDouble( T object){ return this.mapper.applyAsDouble(this.inner.applyAsByte(object)); } @Override public MapperType mapperType(){ return MapperType.BYTE_TO_DOUBLE; } }
to
{ @Override public byte applyAsByte( T object){ return this.mapper.applyAsByte(this.inner.applyAsByte(object)); } @Override public MapperType mapperType(){ return MapperType.BYTE_TO_BYTE; } }
Rename Variable
mapToDouble
to
mapByte
mapToDouble
to
mapByte
Add or Remove Method invocation
this.mapper.applyAsDouble(this.inner.applyAsByte(object))
to
this.mapper.applyAsByte(this.inner.applyAsByte(object))