Package simtools.data

Examples of simtools.data.NoSuchIndex


        public double getDoubleValue(long index) throws DataException {
            if (mergedTimeBuffer==null)
                throw new UnsupportedOperation("Null buffer on time data source: " + DataInfo.getId(this));

            if(index<startIndex || index>lastIndex){
                throw new NoSuchIndex(index);
            }
            return mergedTimeBuffer.get((int)index);
        }
View Full Code Here


        public Object getObjectValue(long index) throws DataException {
            if (mergedTimeBuffer==null)
                throw new UnsupportedOperation("Null buffer on time data source: " + DataInfo.getId(this));

            if(index<startIndex || index>lastIndex){
                throw new NoSuchIndex(index);
            }
            return new Double(mergedTimeBuffer.get((int)index));
        }
View Full Code Here

        public Object getValue(long index) throws DataException {
            if (mergedTimeBuffer==null)
                throw new UnsupportedOperation("Null buffer on time data source: " + DataInfo.getId(this));

            if(index<startIndex || index>lastIndex){
                throw new NoSuchIndex(index);
            }
            return new Double(mergedTimeBuffer.get((int)index));
        }
View Full Code Here

            values[0] = nextRandomValue();
            minValue = values[0];
            maxValue = values[0];
            return values[0];
        }
        if (index>maxIndex) throw new NoSuchIndex(index);
        return values[(int)index];
    }
View Full Code Here

TOP

Related Classes of simtools.data.NoSuchIndex

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.