Package com.telenav.tnt.benchmark.data

Examples of com.telenav.tnt.benchmark.data.GpsList


            new SerializationBenchmarkRunner(item.getData(), item.getTimes()).run();
        }
    }

    private static GpsList createDuplicatedGpsList(int count) {
        GpsList gpsList = new GpsList();
        Gps gps = createGps();

        gpsList.setGpses(new Gps[count]);
        for (int i = 0; i < count; i++) {
            gpsList.getGpses()[i] = gps;
        }

        return gpsList;
    }
View Full Code Here


        return gpsList;
    }

    private static GpsList createGpsList(int count) {
        GpsList gpsList = new GpsList();

        gpsList.setGpses(new Gps[count]);
        for (int i = 0; i < count; i++) {
            gpsList.getGpses()[i] = createGps();
        }

        return gpsList;
    }
View Full Code Here

TOP

Related Classes of com.telenav.tnt.benchmark.data.GpsList

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.