visad.data.netcdf.in
Class Context
- java.lang.Object
-
- visad.data.netcdf.in.Context
-
public class Context extends java.lang.ObjectProvides support for the context in which data values are retrieved. Instances are mutable.
-
-
Constructor Summary
Constructors Constructor and Description Context()Constructs from nothing.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Objectclone()Returns a clone of this instance.int[]getContext()Returns the current context.ContextnewSubContext()Gets a new (sub) context based on this context.voidsetSubContext(int index)Sets the current (sub) context.java.lang.StringtoString()Returns a string representation of this context.
-
-
-
Method Detail
-
newSubContext
public Context newSubContext()
Gets a new (sub) context based on this context.- Returns:
- A (sub) context.
-
setSubContext
public void setSubContext(int index)
Sets the current (sub) context.- Parameters:
index- The current (sub) context.
-
getContext
public int[] getContext()
Returns the current context.- Returns:
- The current context.
-
toString
public java.lang.String toString()
Returns a string representation of this context.- Overrides:
toStringin classjava.lang.Object
-
clone
public java.lang.Object clone()
Returns a clone of this instance.- Overrides:
clonein classjava.lang.Object- Returns:
- A clone of this instance.
-
-
DMelt 3.0 © DataMelt by jWork.ORG