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

de.schegge.enumconverter.ValueHolder Maven / Gradle / Ivy

package de.schegge.enumconverter;

import java.util.List;

public final class ValueHolder {

  private final String key;
  private final List value;

  private final boolean plain;

  ValueHolder(String key, List value, boolean plain) {
    this.key = key;
    this.value = value;
    this.plain = plain;
  }

  public String getKey() {
    return key;
  }

  public List getValue() {
    return value;
  }

  public boolean isPlain() {
    return plain;
  }

  @Override
  public String toString() {
    return key + "=" + value + " (" + plain + ")";
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy