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

hr.com.vgv.verano.http.Kvp Maven / Gradle / Ivy

There is a newer version: 0.41
Show newest version
package hr.com.vgv.verano.http;

/**
 * @author Vedran Vatavuk ([email protected])
 * @version $Id$
 * @since 1.0
 */
public interface Kvp {

    String key();

    String value();

    class Simple implements Kvp {

        private final Kvp kvp;

        public Simple(final Kvp kvp) {
            this.kvp = kvp;
        }

        @Override
        public final String key() {
            return this.kvp.key();
        }

        @Override
        public final String value() {
            return this.kvp.value();
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy