mds.data.descriptor_apd.List Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mdsplus-api Show documentation
Show all versions of mdsplus-api Show documentation
MDSplus interface (via lib or mdsip).
package mds.data.descriptor_apd;
import java.nio.ByteBuffer;
import mds.data.DTYPE;
import mds.data.descriptor.Descriptor;
import mds.data.descriptor.Descriptor_APD;
/** List (214 : -42) **/
public class List extends Descriptor_APD
{
public static final String prefix = "List";
public List(final ByteBuffer b)
{
super(b);
}
public List(final Descriptor>... descs)
{
super(DTYPE.LIST, descs);
}
public final Descriptor> get(final int idx)
{
return this.getScalar(idx);
}
@Override
protected final String getPrefix()
{ return List.prefix; }
public final Descriptor>[] toArray()
{
return this.getAtomic();
}
}