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

io.github.avivcarmis.confEager.properties.ConfEagerPropertyFloatArray 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 Float} array values.
 */
public class ConfEagerPropertyFloatArray extends ConfEagerPropertyPrimitiveArray {

    public ConfEagerPropertyFloatArray(ConfEager.DefaultValue defaultValue, ConfEager.PropertyName propertyName) {
        super(defaultValue, propertyName, ConfEagerValueMapper.FLOAT_MAPPER, Float.class);
    }

    public ConfEagerPropertyFloatArray(ConfEager.PropertyName propertyName, ConfEager.DefaultValue defaultValue) {
        super(propertyName, defaultValue, ConfEagerValueMapper.FLOAT_MAPPER, Float.class);
    }

    public ConfEagerPropertyFloatArray(ConfEager.PropertyName propertyName) {
        super(propertyName, ConfEagerValueMapper.FLOAT_MAPPER, Float.class);
    }

    public ConfEagerPropertyFloatArray(ConfEager.DefaultValue defaultValue) {
        super(defaultValue, ConfEagerValueMapper.FLOAT_MAPPER, Float.class);
    }

    public ConfEagerPropertyFloatArray() {
        super(ConfEagerValueMapper.FLOAT_MAPPER, Float.class);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy