Package uk.org.ogsadai.data

Examples of uk.org.ogsadai.data.IntegerData


        mSampleSizeInput.add(new IntegerData(sampleSize));
    }
   
    public void addSampleRepeat(int sampleRepeat)
    {
        mSampleRepeatInput.add(new IntegerData(sampleRepeat));
    }
View Full Code Here


        {
            return new DataValue[] {new LongData((Long)object)};
        }
        else if (object instanceof Integer)
        {
            return new DataValue[] {new IntegerData((Integer)object)};
        }
        else if (object instanceof Double)
        {
            return new DataValue[] {new DoubleData((Double)object)};
        }
View Full Code Here

        ProcessingElement obtain =
            new ProcessingElement(ObtainFromDataSource.DEFAULT_ACTIVITY_NAME);
        obtain.createInput(ObtainFromDataSource.INPUT_MODE);
        obtain.addInput(ObtainFromDataSource.INPUT_MODE, new StringData(ModeType.BLOCK.toString()));
        obtain.createInput(ObtainFromDataSource.INPUT_NUM_OF_BLOCKS);
        obtain.addInput(ObtainFromDataSource.INPUT_NUM_OF_BLOCKS, new IntegerData(100));
        obtain.createInput(ObtainFromDataSource.INPUT_DATA_SOURCE_RESOURCE);
        obtain.connectInput(ObtainFromDataSource.INPUT_DATA_SOURCE_RESOURCE, output);
        obtain.createOutput(ObtainFromDataSource.OUTPUT_DATA);
        targetPipeline.add(obtain);
               
View Full Code Here

        mResultOutput = new SimpleActivityOutput("result");
    }
   
    public void addSampleSize(int sampleSize)
    {
        mSampleSizeInput.add(new IntegerData(sampleSize));
    }
View Full Code Here

        mSampleSizeInput.add(new IntegerData(sampleSize));
    }
   
    public void addSampleRepeat(int sampleRepeat)
    {
        mSampleRepeatInput.add(new IntegerData(sampleRepeat));
    }
View Full Code Here

     *            output to connect to.
     */
    public void addNominalValuesInputConnection(
            final int column, final SingleActivityOutput output)
    {
        addNominalValuesInputConnection(new IntegerData(column), output);
    }
View Full Code Here

     * @param classIndex
     *            index of the class column
     */
    public void addClassIndex(final int classIndex)
    {
        mClassIndexInput.add(new IntegerData(classIndex));
    }
View Full Code Here

     * @param values
     *            nominal values
     */
    public void addNominalValues(int index, String... values)
    {
        addNominalValues(new IntegerData(index), values);
    }
View Full Code Here

     * @param classIndex
     *            index of the class column
     */
    public void addClassIndex(final int classIndex)
    {
        mClassIndexInput.add(new IntegerData(classIndex));
    }
View Full Code Here

     * @param values
     *            nominal values
     */
    public void addNominalValues(int index, String... values)
    {
        mColumnIndicesInput.add(new IntegerData(index));
        mNominalValuesInput.add(ListBegin.VALUE);
        for (String value : values)
        {
            mNominalValuesInput.add(new StringData(value));
        }
View Full Code Here

TOP

Related Classes of uk.org.ogsadai.data.IntegerData

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.