public void setSample(RealTuple domain, Data range) throws VisADException, RemoteException { if (adaptedFlatFields == null) { throw new VisADException("Cannot access serialized FileFlatField"); } synchronized (adaptedFlatFields) { FlatField fld = getAdaptedFlatField(); if (fld == null) { throw new VisADException("Cannot get cached FlatField"); } adaptedFlatFieldDirty[adaptedFlatFieldIndex] = true; fld.setSample(domain, range); } }