Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.common;
 
 import java.util.Map;
 
 public enum QueueType {
     ARAM_5x5(65), ASCENSION_5x5(96), BOT_5x5(7), BOT_5x5_BEGINNER(32), BOT_5x5_INTERMEDIATE(33), BOT_5x5_INTRO(31), BOT_ODIN_5x5(25), BOT_TT_3x3(52), BOT_URF_5x5(
             83), COUNTER_PICK(-1), CUSTOM(0), FIRSTBLOOD_1x1(72), FIRSTBLOOD_2x2(73), GROUP_FINDER_5x5(61), HEXAKILL(98), KING_PORO_5x5(300), NIGHTMARE_BOT_5x5_RANK1(
             91), NIGHTMARE_BOT_5x5_RANK2(92), NIGHTMARE_BOT_5x5_RANK5(93), NORMAL_3x3(8), NORMAL_5x5_BLIND(2), NORMAL_5x5_DRAFT(14), ODIN_5x5_BLIND(16), ODIN_5x5_DRAFT(
            17), ONEFORALL_5x5(70), RANKED_PREMADE_3x3(9), RANKED_PREMADE_5x5(6), RANKED_SOLO_5x5(4), RANKED_TEAM_3x3(41), RANKED_TEAM_5x5(42), SR_6x6(75), URF_5x5(
            76);
    private static final Map<LongQueueTypeIDs = new HashMap<>();
    static {
        for(final QueueType t : QueueType.values()) {
            .put(t.IDt);
        }
    }

    
Gets the queue a specified ID

Parameters:
ID the queue ID
Returns:
the queue type
    public static QueueType forID(final long ID) {
        return .get(ID);
    }
    private final Long ID;

    

Parameters:
ID
    private QueueType(final long ID) {
        this. = ID;
    }

    
Gets the ID for this queue

Returns:
the ID for this queue
    public long getID() {
        return ;
    }
New to GrepCode? Check out our FAQ X