Move Pair og Triblet to new basic library
This commit is contained in:
@@ -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
|
||||||
|
) {
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user