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

net.stickycode.configuration.value.DefaultValue Maven / Gradle / Ivy

package net.stickycode.configuration.value;

import net.stickycode.configuration.ConfigurationValue;

public class DefaultValue
    implements ConfigurationValue {

  private String value;

  public DefaultValue(String value) {
    super();
    this.value = value;
  }

  @Override
  public String get() {
    return value;
  }

  @Override
  public boolean hasPrecedence(ConfigurationValue arg0) {
    return false;
  }

  @Override
  public String toString() {
    return "Default{" + value + "}";
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy