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

gov.nasa.pds.web.ui.containers.RowContainer Maven / Gradle / Ivy

Go to download

The Validate Tool project contains software for validating PDS4 product labels and product data.

There is a newer version: 3.6.3
Show newest version
package gov.nasa.pds.web.ui.containers;

import gov.nasa.arc.pds.tools.util.StrUtils;

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

// TODO: build rendering rules into this? ie, if numeric, do number formatting?
public class RowContainer extends ArrayList implements
		BaseContainerInterface {

	private static final long serialVersionUID = 1L;

	public RowContainer(final Object... objects) {
		this.addAll(Arrays.asList(objects));
	}

	@Override
	public String toString() {
		return StrUtils.toSeparatedString(this);
	}
}