Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.api.core;
 
 import java.util.List;
 
public abstract class StatusAPI {
    

Parameters:
region the region to get the shard for
Returns:
the status shard for that region
    public static ShardStatus getShard(final Region region) {
        return new ShardStatus(BaseRiotAPI.getShard(region));
    }

    

Returns:
the status shard list
    public static List<ShardgetShards() {
        final List<com.robrua.orianna.type.dto.status.Shardshrds = BaseRiotAPI.getShards();
        final List<Shardshards = new ArrayList<>();
        for(final com.robrua.orianna.type.dto.status.Shard shard : shrds) {
            shards.add(new Shard(shard));
        }
        return Collections.unmodifiableList(shards);
    }
New to GrepCode? Check out our FAQ X