private int getValue(byte rank, byte champId, byte[] items) { long key = ByteUtils.encode(rank, champId, items[0], items[1], items[2], items[3], items[4], items[5]); return stats.get(key, Integer.MAX_VALUE); }