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

org.stjs.generator.javascript.NameValue Maven / Gradle / Ivy

There is a newer version: 3.3.2.2
Show newest version
package org.stjs.generator.javascript;

public final class NameValue {
	private final CharSequence name;
	private final JS value;

	private NameValue(CharSequence name, JS value) {
		this.name = name;
		this.value = value;
	}

	public static  NameValue of(CharSequence name, T value) {
		return new NameValue(name, value);
	}

	public JS getValue() {
		return value;
	}

	public CharSequence getName() {
		return name;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy