Examples of MarketStatDto


Examples of lv.odylab.evemanage.integration.evecentralapi.dto.MarketStatDto

        Map<Long, MarketStatDto> typeIdToMarketStatMap = new HashMap<Long, MarketStatDto>();
        for (MarketStatDto marketStatDto : marketStatDtos) {
            typeIdToMarketStatMap.put(marketStatDto.getTypeID(), marketStatDto);
        }
        for (PriceSetItem priceSetItem : priceSetItems) {
            MarketStatDto marketStatDto = typeIdToMarketStatMap.get(priceSetItem.getItemTypeID());
            priceSetItem.setPrice(String.valueOf(marketStatDto.getMedian()));
        }
        return priceSetItems;
    }
View Full Code Here

Examples of lv.odylab.evemanage.integration.evecentralapi.dto.MarketStatDto

        return corporationSheetDto;
    }

    @Override
    public MarketStatDto map(MarketStatType marketStatType, Class<MarketStatDto> marketStatDtoClass) {
        MarketStatDto marketStatDto = new MarketStatDto();
        marketStatDto.setTypeID(marketStatType.getTypeID());
        marketStatDto.setMedian(marketStatType.getAll().getMedian());
        marketStatDto.setBuyMedian(marketStatType.getBuy().getMedian());
        marketStatDto.setSellMedian(marketStatType.getSell().getMedian());
        return marketStatDto;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.