All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.openelements.hiero.base.data.ExchangeRates Maven / Gradle / Ivy

The newest version!
package com.openelements.hiero.base.data;

import org.jspecify.annotations.NonNull;

import java.util.Objects;

public record ExchangeRates(@NonNull ExchangeRate currentRate, @NonNull ExchangeRate nextRate) {
    public ExchangeRates {
        Objects.requireNonNull(currentRate, "currentRate must not be null");
        Objects.requireNonNull(nextRate, "nextRate must not be null");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy