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

java.com.ionic.sdk.agent.key.KeyAttribute Maven / Gradle / Ivy

Go to download

The Ionic Java SDK provides an easy-to-use interface to the Ionic Platform.

There is a newer version: 2.9.0
Show newest version
package com.ionic.sdk.agent.key;

import java.util.ArrayList;
import java.util.Arrays;

/**
 * Convenience class allowing for terse instantiation of a single {@link KeyAttributesMap} member.
 * 

* See * Arbitrary Number of Arguments for more information. */ public class KeyAttribute extends ArrayList { /** * The key value associated with the {@link KeyAttributesMap} member. */ private final String key; /** * Constructor. * * @param key the map key * @param values the map values, expressed as a varargs */ public KeyAttribute(final String key, final String... values) { super(); this.key = key; this.addAll(Arrays.asList(values)); } /** * @return the key value associated with the {@link KeyAttributesMap} member */ public String getKey() { return key; } /** Value of serialVersionUID from maven coordinates "com.ionic:ionic-sdk:2.8.0". */ private static final long serialVersionUID = 3768757403730422339L; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy