Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  package com.robrua.orianna.type.dto.featuredgames;
  
  import java.util.HashSet;
  import java.util.List;
  import java.util.Set;
  
  
 public class FeaturedGames extends OriannaDto {
     private static final long serialVersionUID = 4926425430293315274L;
     private Long clientRefreshInterval;
     private List<CurrentGameInfogameList;
 
     /*
      * (non-Javadoc)
      * @see java.lang.Object#equals(java.lang.Object)
      */
     @Override
     public boolean equals(final Object obj) {
         if(this == obj) {
             return true;
         }
         if(obj == null) {
             return false;
         }
         if(!(obj instanceof FeaturedGames)) {
             return false;
         }
         final FeaturedGames other = (FeaturedGames)obj;
         if( == null) {
             if(other.clientRefreshInterval != null) {
                 return false;
             }
         }
         else if(!.equals(other.clientRefreshInterval)) {
             return false;
         }
         if( == null) {
             if(other.gameList != null) {
                 return false;
             }
         }
         else if(!.equals(other.gameList)) {
             return false;
         }
         return true;
     }

    
Gets all stored champion IDs for batch lookup

Returns:
the champion IDs
 
     public Set<LonggetChampionIDs() {
         final Set<Longset = new HashSet<>();
         for(final CurrentGameInfo game : ) {
             set.addAll(game.getChampionIDs());
         }
 
         return set;
     }

    

Returns:
the clientRefreshInterval
 
     public Long getClientRefreshInterval() {
         return ;
     }

    

Returns:
the gameList
 
     public List<CurrentGameInfogetGameList() {
         return ;
     }

    
Gets all stored mastery IDs for batch lookup

Returns:
the mastery IDs
 
     public Set<LonggetMasteryIDs() {
         final Set<Longset = new HashSet<>();
         for(final CurrentGameInfo game : ) {
             set.addAll(game.getMasteryIDs());
         }
 
         return set;
     }

    
Gets all stored rune IDs for batch lookup

Returns:
the rune IDs
 
     public Set<LonggetRuneIDs() {
         final Set<Longset = new HashSet<>();
         for(final CurrentGameInfo game : ) {
            set.addAll(game.getRuneIDs());
        }
        return set;
    }

    
Gets all stored summoner IDs for batch lookup

Returns:
the summoner IDs
    public Set<LonggetSummonerIDs() {
        final Set<Longset = new HashSet<>();
        for(final CurrentGameInfo game : ) {
            set.addAll(game.getSummonerIDs());
        }
        return set;
    }

    
Gets all stored summoner names for batch lookup

Returns:
the summoner names
    public Set<StringgetSummonerNames() {
        final Set<Stringset = new HashSet<>();
        for(final CurrentGameInfo game : ) {
            set.addAll(game.getSummonerNames());
        }
        return set;
    }

    
Gets all stored summoner spell IDs for batch lookup

Returns:
the summoner spell IDs
    public Set<LonggetSummonerSpellIDs() {
        final Set<Longset = new HashSet<>();
        for(final CurrentGameInfo game : ) {
            set.addAll(game.getSummonerSpellIDs());
        }
        return set;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#hashCode()
     */
    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ( == null ? 0 : .hashCode());
        result = prime * result + ( == null ? 0 : .hashCode());
        return result;
    }

    

Parameters:
clientRefreshInterval the clientRefreshInterval to set
    public void setClientRefreshInterval(final Long clientRefreshInterval) {
        this. = clientRefreshInterval;
    }

    

Parameters:
gameList the gameList to set
    public void setGameList(final List<CurrentGameInfogameList) {
        this. = gameList;
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "FeaturedGames [clientRefreshInterval=" +  + ", gameList=" +  + "]";
    }
New to GrepCode? Check out our FAQ X