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

com.drew.lang.KeyValuePair Maven / Gradle / Ivy

Go to download

Java library for extracting EXIF, IPTC, XMP, ICC and other metadata from image and video files.

There is a newer version: 2.19.0
Show newest version
package com.drew.lang;

import com.drew.lang.annotations.NotNull;

/**
 * Models a key/value pair, where both are non-null {@link String} objects.
 *
 * @author Drew Noakes https://drewnoakes.com
 */
public class KeyValuePair
{
    private final String _key;
    private final String _value;

    public KeyValuePair(@NotNull String key, @NotNull String value)
    {
        _key = key;
        _value = value;
    }

    @NotNull
    public String getKey()
    {
        return _key;
    }

    @NotNull
    public String getValue()
    {
        return _value;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy