Examples of Percentiler


Examples of com.threerings.parlor.rating.util.Percentiler

     * never be returned, rather a blank percentiler will be created and returned.
     */
    public Percentiler loadPercentile (int gameId, int gameMode)
    {
        PercentileRecord record = load(PercentileRecord.getKey(gameId, gameMode));
        return (record == null) ? new Percentiler() : new Percentiler(record.data);
    }
View Full Code Here

Examples of com.threerings.parlor.rating.util.Percentiler

    public Map<Integer, Percentiler> loadPercentiles (int gameId)
    {
        Map<Integer, Percentiler> tilers = Maps.newHashMap();
        for (PercentileRecord record : from(PercentileRecord.class).
                 where(PercentileRecord.GAME_ID, gameId).select()) {
            tilers.put(record.gameMode, new Percentiler(record.data));
        }
        return tilers;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.