![JAR search and dependency download from the Maven repository](/logo.png)
org.meteoinfo.data.meteodata.grads.VARDEFS Maven / Gradle / Ivy
/* Copyright 2012 Yaqiang Wang,
* [email protected]
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License, or (at
* your option) any later version.
*
* This library is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
* General Public License for more details.
*/
package org.meteoinfo.data.meteodata.grads;
import org.meteoinfo.data.meteodata.Variable;
import java.util.ArrayList;
import java.util.List;
/**
* Template
*
* @author Yaqiang Wang
*/
public class VARDEFS {
//
private List _vars = new ArrayList<>();
//
//
//
//
/**
* Get variable number
*
* @return Variable number
*/
public int getVNum() {
return _vars.size();
}
/**
* Get variables
*
* @return Variables
*/
public List getVars() {
return _vars;
}
/**
* Set variables
*
* @param value Variables
*/
public void setVars(List value) {
_vars = value;
}
//
//
/**
* Add var
*
* @param aVar The var
*/
public void addVar(Variable aVar) {
_vars.add(aVar);
}
//
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy