io.virtdata.conversions.from_float.ToBoolean Maven / Gradle / Ivy
package io.virtdata.conversions.from_float;
import io.virtdata.annotations.ThreadSafeMapper;
import java.util.function.Function;
@ThreadSafeMapper
public class ToBoolean implements Function {
@Override
public Boolean apply(Float input) {
return ((input.longValue()) & 1) == 1;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy