summaryrefslogtreecommitdiff
path: root/BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java
diff options
context:
space:
mode:
authorbculkin2442 <bjculkin@mix.wvu.edu>2016-09-28 13:44:04 -0400
committerbculkin2442 <bjculkin@mix.wvu.edu>2016-09-28 13:44:04 -0400
commitf7a10e0e57d6f0ea83643c3d5763ff405af73337 (patch)
tree7a56cbf7e5a8b6fa738d2cf469a86eea14d5d89a /BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java
parentba0a3f53a88842a94ea6a1a6d45f61416b593e47 (diff)
Formatting pass
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.java9
1 files changed, 6 insertions, 3 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 f05204b..ffc4919 100644
--- a/BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java
+++ b/BJC-Utils2/src/main/java/bjc/utils/data/Lazy.java
@@ -18,7 +18,8 @@ import bjc.utils.funcdata.IList;
public class Lazy<ContainedType> implements IHolder<ContainedType> {
private Supplier<ContainedType> valueSupplier;
- private IList<UnaryOperator<ContainedType>> actions = new FunctionalList<>();
+ private IList<UnaryOperator<
+ ContainedType>> actions = new FunctionalList<>();
private boolean valueMaterialized;
@@ -58,7 +59,8 @@ public class Lazy<ContainedType> implements IHolder<ContainedType> {
@Override
public <BoundType> IHolder<BoundType> bind(
Function<ContainedType, IHolder<BoundType>> binder) {
- IList<UnaryOperator<ContainedType>> pendingActions = new FunctionalList<>();
+ IList<UnaryOperator<
+ ContainedType>> pendingActions = new FunctionalList<>();
actions.forEach(pendingActions::add);
@@ -86,7 +88,8 @@ public class Lazy<ContainedType> implements IHolder<ContainedType> {
@Override
public <MappedType> IHolder<MappedType> map(
Function<ContainedType, MappedType> mapper) {
- IList<UnaryOperator<ContainedType>> pendingActions = new FunctionalList<>();
+ IList<UnaryOperator<
+ ContainedType>> pendingActions = new FunctionalList<>();
actions.forEach(pendingActions::add);