![JAR search and dependency download from the Maven repository](/logo.png)
org.loom.simpleds.functions.IdToBase58Function Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of loom-appengine Show documentation
Show all versions of loom-appengine Show documentation
Uploads all artifacts belonging to configuration ':archives'.
The newest version!
package org.loom.simpleds.functions;
import org.loom.util.StringUtils;
import com.google.common.base.Function;
/**
* Transform a Long value tio the corresponding Base58 representation
* @author icoloma
*/
public class IdToBase58Function implements Function {
@Override
public String apply(Long id) {
return id == null? null : StringUtils.numberToAlpha(id);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy