protected static float winrate(int value) { return (float) ByteUtils.decodeFirst(value) / ByteUtils.decodeSecond(value); }
private void populate(int value, KeyValueResult result) { result.setGamesPlayed(ByteUtils.decodeSecond(value)); result.setAdaptive(winrate(value)); }