diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-07-28 11:00:25 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-07-28 11:00:25 -0400 |
| commit | df972ae7dbdf051268c5cf7754e07c504524b197 (patch) | |
| tree | 7eb3f7adbccbb64d734e5ec59fcde9d49f7650f1 /BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java | |
| parent | fd0a1a0a63818fc1098b01b561c636457c1284ba (diff) | |
Note something to see if needs to be fixed later
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java b/BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java index fb1a517..112a503 100644 --- a/BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java +++ b/BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java @@ -16,13 +16,13 @@ import bjc.utils.funcdata.IList; * @param <ContainedType> */ public class Lazy<ContainedType> implements IHolder<ContainedType> { - private Supplier<ContainedType> valueSupplier; + private Supplier<ContainedType> valueSupplier; private IList<UnaryOperator<ContainedType>> actions = new FunctionalList<>(); - private boolean valueMaterialized; + private boolean valueMaterialized; - private ContainedType heldValue; + private ContainedType heldValue; /** * Create a new lazy value from the specified seed value @@ -137,7 +137,6 @@ public class Lazy<ContainedType> implements IHolder<ContainedType> { @Override public <NewType> Function<ContainedType, IHolder<NewType>> lift( Function<ContainedType, NewType> func) { - // TODO Auto-generated method stub return (val) -> { return new Lazy<>(func.apply(val)); }; |
