src/main/java/network/minter/explorer/models/AddressBalance.java
/**
     * Find coin balance by coin name
     *
     * @param name coin name
     * @return optional value, empty if not found
     */
Find coin balance by coin name
@param name coin name
@return optional value, empty if not found
Find coin balance by coin name @param name coin name @return optional value empty if not found
public Optional<CoinBalance> findCoin(String name) {
        if (name == null) {
            return Optional.empty();
        }
        return Stream.of(getCoinsList())
                .filter(v -> name.toUpperCase().equals(v.coin.symbol.toUpperCase()))
                .findFirst();
    }
public Optional < CoinBalance > findCoin ( String name ) { if ( name == null ) { return Optional . empty ( ) ; } return Stream . of ( getCoinsList ( ) ) . filter ( v -> name . toUpperCase ( ) . equals ( v . coin . symbol . toUpperCase ( ) ) ) . findFirst ( ) ; }
Find coin balance by coin name
 @param name coin name
 @return optional value, empty if not found
Find coin balance by coin name @param name coin name @return optional value empty if not found