Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.summoner;
 
 import java.util.List;
 
 
    private static final long serialVersionUID = -1422944241793890565L;
    private List<MasteryRankmasteries;

    

Parameters:
data the underlying dto
    public MasteryPage(final com.robrua.orianna.type.dto.summoner.MasteryPage data) {
        super(datacom.robrua.orianna.type.dto.summoner.MasteryPage.class);
    }

    
Indicates if the mastery page is the current mastery page

Returns:
whether the mastery page is the current mastery page
    public boolean getCurrent() {
        return super.getBoolean(.getCurrent());
    }

    
Mastery page ID

Returns:
mastery page ID
    public long getID() {
        return super.getLong(.getId());
    }

    
Collection of masteries associated with the mastery page

Returns:
collection of masteries associated with the mastery page
    public List<MasteryRankgetMasteries() {
        if( == null) {
             = new ArrayList<>();
            for(final com.robrua.orianna.type.dto.summoner.Mastery mastery : .getMasteries()) {
                .add(new MasteryRank(mastery));
            }
        }
        return Collections.unmodifiableList();
    }

    
Mastery page name

Returns:
mastery page name
    public String getName() {
        return super.getString(.getName());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "MasteryPage (" + getName() + ")";
    }
New to GrepCode? Check out our FAQ X