Toggle navigation
Home
com.speedment.runtime.compute.ToEnum to com.speedment.runtime.compute.ToString
No. of Instances - 2
No. of Commits - 1
No. of Projects - {'speedment'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Internal -> Internal
Mapping:
Rename Variable
map
to
mapString
map
to
mapString
Cascading Type Change (Similar)
ToEnumMapper<T,E,ToEnum<T,E>,UnaryOperator<E>>
to
ToStringMapper<T,ToString<T>,UnaryOperator<String>>
E
to
String
ToEnumMapper<T,E,ToEnum<T,E>,UnaryOperator<E>>
to
ToStringMapper<T,ToString<T>,UnaryOperator<String>>
E
to
String
Update Anonymous class
{ @Override public E apply( T object){ return this.mapper.apply(this.inner.apply(object)); } @Override public Class<E> enumClass(){ return this.inner.enumClass(); } @Override public MapperType mapperType(){ return MapperType.ENUM_TO_ENUM; } }
to
{ @Override public String apply( T object){ return this.mapper.apply(this.inner.apply(object)); } @Override public MapperType mapperType(){ return MapperType.STRING_TO_STRING; } }
{ @Override public E apply( T object){ return this.mapper.apply(this.inner.apply(object)); } @Override public Class<E> enumClass(){ return this.inner.enumClass(); } @Override public MapperType mapperType(){ return MapperType.ENUM_TO_ENUM; } }
to
{ @Override public String apply( T object){ return this.mapper.apply(this.inner.apply(object)); } @Override public MapperType mapperType(){ return MapperType.STRING_TO_STRING; } }