Package net.ivoa.fits.data

Examples of net.ivoa.fits.data.RandomGroupsData


      ((Object[][]) dataArray)[i][0] = ((Object[]) net.ivoa.util.ArrayFuncs
          .deepClone(sampleRow))[0];
      ((Object[][]) dataArray)[i][1] = ((Object[]) net.ivoa.util.ArrayFuncs
          .deepClone(sampleRow))[1];
    }
    return new RandomGroupsData(dataArray);

  }
View Full Code Here


    return sample;
  }

  public static Data encapsulate(Object o) throws FitsException {
    if (o instanceof Object[][]) {
      return new RandomGroupsData((Object[][]) o);
    } else {
      throw new FitsException(
          "Attempt to encapsulate invalid data in Random Group");
    }
  }
View Full Code Here

TOP

Related Classes of net.ivoa.fits.data.RandomGroupsData

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.