io.virtdata.libbasics.shared.from_long.to_unset.UnsetIfEq Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of virtdata-lib-realer Show documentation
Show all versions of virtdata-lib-realer Show documentation
With inspiration from other libraries
package io.virtdata.libbasics.shared.from_long.to_unset;
import io.virtdata.annotations.Categories;
import io.virtdata.annotations.Category;
import io.virtdata.annotations.ThreadSafeMapper;
import io.virtdata.api.VALUE;
import java.util.function.LongFunction;
/**
* Yield UNSET.vale if the input value is equal to the
* specified value. Otherwise, pass the input value along.
*/
@ThreadSafeMapper
@Categories(Category.nulls)
public class UnsetIfEq implements LongFunction