Toggle navigation
Home
com.speedment.runtime.compute.ToString to com.speedment.runtime.compute.ToEnum
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
mapEnum
map
to
mapEnum
Cascading Type Change (Similar)
ToStringMapper<T,ToString<T>,UnaryOperator<String>>
to
ToEnumMapper<T,E,ToEnum<T,E>,UnaryOperator<E>>
String
to
E
ToStringMapper<T,ToString<T>,UnaryOperator<String>>
to
ToEnumMapper<T,E,ToEnum<T,E>,UnaryOperator<E>>
String
to
E
Update Anonymous class
{ @Override public String apply( T object){ return this.mapper.apply(this.inner.apply(object)); } @Override public MapperType mapperType(){ return MapperType.STRING_TO_STRING; } }
to
{ @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; } }
{ @Override public String apply( T object){ return this.mapper.apply(this.inner.apply(object)); } @Override public MapperType mapperType(){ return MapperType.STRING_TO_STRING; } }
to
{ @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; } }