|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object visad.data.netcdf.in.Merger
public class Merger
Provides support for merging of virtual data objects. This class merges virtual data objects to the maximum extent possible.
Constructor Summary | |
---|---|
protected |
Merger()
Constructs from nothing. |
Method Summary | |
---|---|
static Merger |
instance()
Returns an instance of this class. |
VirtualData |
merge(VirtualData data1,
VirtualData data2)
Merges two virtual data objects. |
protected VirtualField |
merge(VirtualField field,
VirtualData data)
Merges a virtual field with another virtual data object. |
protected VirtualField |
merge(VirtualField field1,
VirtualField field2)
Merges a virtual field with another virtual field. |
protected VirtualField |
merge(VirtualFlatField field,
VirtualData data)
Merges a virtual flat-field with another virtual data object. |
protected VirtualField |
merge(VirtualFlatField field1,
VirtualField field2)
Merges a virtual flat-field with a virtual field. |
protected VirtualFlatField |
merge(VirtualFlatField field1,
VirtualFlatField field2)
Merges a virtual flat-field with another virtual flat-field. |
protected VirtualTuple |
merge(VirtualTuple tuple,
VirtualData data)
Merges a virtual tuple with another virtual data object. |
protected VirtualTuple |
merge(VirtualTuple tuple1,
VirtualTuple tuple2)
Merges two virtual tuples. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Merger()
Method Detail |
---|
public static Merger instance()
public VirtualData merge(VirtualData data1, VirtualData data2) throws VisADException
data1
- The first virtual data object.data2
- The second virtual data object.
null
. May be
one of the input objects.
throws VisADException VisAD failure.
VisADException
protected VirtualTuple merge(VirtualTuple tuple, VirtualData data) throws VisADException
tuple
- The virtual tuple.data
- The other virtual data object.
tuple
.
throws VisADException VisAD failure.
VisADException
protected VirtualTuple merge(VirtualTuple tuple1, VirtualTuple tuple2) throws VisADException
tuple1
- The first virtual tuple.tuple2
- The second virtual tuple.
tuple1
.
throws VisADException VisAD failure.
VisADException
protected VirtualField merge(VirtualField field, VirtualData data) throws VisADException
field
- The virtual field.data
- The other virtual data object.
null
. May be field
.
throws VisADException VisAD failure.
VisADException
protected VirtualField merge(VirtualField field1, VirtualField field2) throws VisADException
field1
- The first virtual field.field2
- The second virtual field.
null
. May be field1
.
throws VisADException VisAD failure.
VisADException
protected VirtualField merge(VirtualFlatField field, VirtualData data) throws VisADException
field
- The virtual flat-field.data
- The other virtual data object.
null
. May be field
.
throws VisADException VisAD failure.
VisADException
protected VirtualField merge(VirtualFlatField field1, VirtualField field2) throws VisADException
merge(VirtualField, VirtualField)
. This method may
be overridden by subclasses.
field1
- The virtual flat-field.field2
- The virtual field.
null
.
throws VisADException VisAD failure.
VisADException
merge(VirtualField, VirtualField)
protected VirtualFlatField merge(VirtualFlatField field1, VirtualFlatField field2) throws VisADException
merge(VirtualFlatField, VirtualFlatField)
. This method may
be overridden by subclasses.
field1
- The virtual flat-field.field2
- The other virtual flat-field.
null
. May be field1
.
throws VisADException VisAD failure.
VisADException
merge(VirtualFlatField, VirtualFlatField)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |