Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.match;
 
 
     private static final long serialVersionUID = -8028177856067862738L;
    private Rune rune;

    

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

    
Rune count

Returns:
rune count
    public long getCount() {
        return super.getLong(.getRank());
    }

    
The rune this holds count for

Returns:
the rune this holds count for
    public Rune getRune() {
        if( != null) {
            return ;
        }
        final Long l = .getRuneId();
        if(l == null) {
            throw new MissingDataException("Rune ID is null.");
        }
         = RiotAPI.getRune(l.longValue());
        return ;
    }

    
The ID of the rune this holds count for

Returns:
the ID of the rune this holds count for
    public long getRuneID() {
        return super.getLong(.getRuneId());
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "ParticipantRune (" + getRune() + "x" + getCount() + ")";
    }
New to GrepCode? Check out our FAQ X