Package stallone.datasequence

Examples of stallone.datasequence.DataSequenceList


    {
        if (data.get(0) instanceof String)
            return multiSequenceLoader(data);
        if (data.get(0) instanceof IDataSequence)
        {
            DataSequenceList res = new DataSequenceList();
            res.addAll(data);
            return res;
        }  
        else
            throw new IllegalArgumentException("Type not supported");
    }
View Full Code Here


     * @param data an array of data sequences
     * @return An IDataInput object to access the data
     */
    public IDataInput dataInput(IDataSequence[] data)
    {
         DataSequenceList res = new DataSequenceList();
         res.addAll(Arrays.asList(data));
         return res;
    }
View Full Code Here

     * @param data a single data sequence
     * @return An IDataInput object to access the data
     */
    public IDataInput dataInput(IDataSequence data)
    {
         DataSequenceList res = new DataSequenceList();
         res.add(data);
         return res;
    }
View Full Code Here

TOP

Related Classes of stallone.datasequence.DataSequenceList

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.