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

io.github.avivcarmis.confEager.properties.ConfEagerPropertyLong Maven / Gradle / Ivy

Go to download

Super simplistic and dynamic eager-initialization configuration library for Java.

The newest version!
package io.github.avivcarmis.confEager.properties;

import io.github.avivcarmis.confEager.ConfEager;
import io.github.avivcarmis.confEager.properties.utils.ConfEagerPropertyPrimitive;
import io.github.avivcarmis.confEager.properties.utils.ConfEagerValueMapper;

/**
 * Out of the box {@link io.github.avivcarmis.confEager.ConfEagerProperty}
 * that maps {@link Long} values.
 */
public class ConfEagerPropertyLong extends ConfEagerPropertyPrimitive {

    public ConfEagerPropertyLong(ConfEager.DefaultValue defaultValue, ConfEager.PropertyName propertyName) {
        super(defaultValue, propertyName, ConfEagerValueMapper.LONG_MAPPER);
    }

    public ConfEagerPropertyLong(ConfEager.PropertyName propertyName, ConfEager.DefaultValue defaultValue) {
        super(propertyName, defaultValue, ConfEagerValueMapper.LONG_MAPPER);
    }

    public ConfEagerPropertyLong(ConfEager.PropertyName propertyName) {
        super(propertyName, ConfEagerValueMapper.LONG_MAPPER);
    }

    public ConfEagerPropertyLong(ConfEager.DefaultValue defaultValue) {
        super(defaultValue, ConfEagerValueMapper.LONG_MAPPER);
    }

    public ConfEagerPropertyLong() {
        super(ConfEagerValueMapper.LONG_MAPPER);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy