Experimental Speedy things with New java

This commit is contained in:
Brian Fopiano
2022-12-28 13:23:00 -05:00
parent 78a4b1d2ce
commit b0c5700cf5
7 changed files with 9 additions and 9 deletions

View File

@@ -37,7 +37,7 @@ import lombok.experimental.Accessors;
@Desc("Scale objects")
@Data
public class IrisObjectScale {
private static transient ConcurrentLinkedHashMap<IrisObject, KList<IrisObject>> cache
private static ConcurrentLinkedHashMap<IrisObject, KList<IrisObject>> cache
= new ConcurrentLinkedHashMap.Builder<IrisObject, KList<IrisObject>>()
.initialCapacity(64)
.maximumWeightedCapacity(1024)

View File

@@ -13,7 +13,7 @@ public enum IrisMatterPlacementLocation {
private final Function3<IrisEngine, Integer, Integer, Integer> computer;
private IrisMatterPlacementLocation(Function3<IrisEngine, Integer, Integer, Integer> computer) {
IrisMatterPlacementLocation(Function3<IrisEngine, Integer, Integer, Integer> computer) {
this.computer = computer;
}