All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.horizon.eon.VEnv Maven / Gradle / Ivy

The newest version!
package io.horizon.eon;

import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;

/**
 * @author lang : 2023/4/24
 */
public interface VEnv {

    interface APP {
        // Modeler Namespace of DEFAULT
        String NS = "cn.originx.{0}";
    }

    interface PROP {
        String OS_NAME = "os.name";
    }

    interface SPEC {
        // Java语言规范
        ConcurrentMap, Class> TYPES = new ConcurrentHashMap, Class>() {
            {
                this.put(Integer.class, int.class);
                this.put(Long.class, long.class);
                this.put(Short.class, short.class);
                this.put(Boolean.class, boolean.class);
                this.put(Character.class, char.class);
                this.put(Double.class, double.class);
                this.put(Float.class, float.class);
                this.put(Byte.class, byte.class);
            }
        };
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy