Move Pair og Triblet to new basic library

This commit is contained in:
2026-06-10 08:57:47 +02:00
parent f1a5c87ad3
commit f9c5391688
4 changed files with 15 additions and 19 deletions
@@ -1,9 +0,0 @@
package com.fanitas.evelyn.core;
import java.math.BigDecimal;
public record Pair(
ΩAmountΩ amountA,
ΩAmountΩ amountB
) {
}
@@ -1,10 +0,0 @@
package com.fanitas.evelyn.core;
import java.math.BigDecimal;
public record Triblet(
ΩAmountΩ currentAmount,
ΩAmountΩ suggestedAmount,
ΩAmountΩ diff
) {
}
@@ -0,0 +1,7 @@
package com.r35157.libs.basic;
public record Pair<L, R>(
L left,
R right
) {
}
@@ -0,0 +1,8 @@
package com.r35157.libs.basic;
public record Triblet<L, M, R>(
L left,
M middle,
R right
) {
}