src/main/java/network/minter/explorer/models/AddressBalance.java
/**
     * Find coin balance by coin id
     *
     * @param id coin id
     * @return optional value, empty if not found
     */
Find coin balance by coin id
@param id coin id
@return optional value, empty if not found
Find coin balance by coin id @param id coin id @return optional value empty if not found
public Optional<CoinBalance> findCoin(BigInteger id) {
        if (id == null) {
            return Optional.empty();
        }
        if (coinsById.containsKey(id)) {
            return Optional.of(coinsById.get(id));
        }
        return Optional.empty();
    }
public Optional < CoinBalance > findCoin ( BigInteger id ) { if ( id == null ) { return Optional . empty ( ) ; } if ( coinsById . containsKey ( id ) ) { return Optional . of ( coinsById . get ( id ) ) ; } return Optional . empty ( ) ; }
Find coin balance by coin id
 @param id coin id
 @return optional value, empty if not found
Find coin balance by coin id @param id coin id @return optional value empty if not found