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

io.github.avivcarmis.confEager.properties.ConfEagerPropertyLongArray 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.ConfEagerPropertyPrimitiveArray;
import io.github.avivcarmis.confEager.properties.utils.ConfEagerValueMapper;

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

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

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

    public ConfEagerPropertyLongArray(ConfEager.PropertyName propertyName) {
        super(propertyName, ConfEagerValueMapper.LONG_MAPPER, Long.class);
    }

    public ConfEagerPropertyLongArray(ConfEager.DefaultValue defaultValue) {
        super(defaultValue, ConfEagerValueMapper.LONG_MAPPER, Long.class);
    }

    public ConfEagerPropertyLongArray() {
        super(ConfEagerValueMapper.LONG_MAPPER, Long.class);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy