Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.robrua.orianna.type.core.staticdata;
 
 import java.util.List;
 
    private static final long serialVersionUID = -1589775562057319474L;
    private Image image;
    private List<LongunpurchasableItemIDs;
    private List<ItemunpurchasableItems;

    

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

    
The image

Returns:
the image
    public Image getImage() {
        if( == null) {
             = new Image(.getImage());
        }
        return ;
    }

    
The map

Returns:
the map
    public GameMap getMap() {
        return GameMap.forID(super.getInteger(.getMapId()));
    }

    
The map's name

Returns:
the map's name
    public String getMapName() {
        return super.getString(.getMapName());
    }

    
The IDs of the unpurchasable items on this map

Returns:
the IDs of the unpurchasable items on this map
    public List<LonggetUnpurchasableItemIDs() {
        if( == null) {
             = new ArrayList<>();
        }
        return Collections.unmodifiableList();
    }

    
The unpurchasable items on this map

Returns:
the unpurchasable items on this map
    public List<ItemgetUnpurchasableItems() {
        if( == null) {
             = RiotAPI.getItems(.getUnpurchasableItemList());
        }
        return Collections.unmodifiableList();
    }
    /*
     * (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "MapInfo (" + getMapName() + ")";
    }
New to GrepCode? Check out our FAQ X