All pastes #810119 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-12-09 18:37 UTC
rendered paste body
                                if (LonIt.hasNext())
                                {
                                    theLon = LonIt.getDoubleNext();
                                    theLat = LatIt.getDoubleCurrent();
                                    theDepth = DepthIt.getDoubleCurrent();
                                    theTime = cTimeIt.getDoubleCurrent();
                                }
                                else
                                {
                                    LonIt = ((ArrayFloat)Lon.read()).getIndexIterator();
                                    theLon = LonIt.getDoubleNext();
                                    if (LatIt.hasNext())
                                    {
                                        theLat = LatIt.getDoubleNext();
                                        theDepth = DepthIt.getDoubleCurrent();
                                        theTime = cTimeIt.getDoubleCurrent();
                                    }
                                    else
                                    {
                                        LatIt = ((ArrayFloat)Lat.read()).getIndexIterator();
                                        theLat = LatIt.getDoubleNext();
                                        if (DepthIt.hasNext())
                                        {
                                            theDepth = DepthIt.getDoubleNext();
                                            theTime = cTimeIt.getDoubleCurrent();
                                        }
                                        else
                                        {
                                            DepthIt = ((ArrayFloat)Depth.read()).getIndexIterator();
                                            theDepth = DepthIt.getDoubleNext();
                                            if (cTimeIt.hasNext())
                                            {
                                                theTime = cTimeIt.getDoubleNext();
                                            }
                                            else { throw new System.Exception("Should Not EVER be here"); }
                                        }
                                    }
                                }