Skip to content

Commit

Permalink
feat(api): BooleanHolder and IntegerHolder
Browse files Browse the repository at this point in the history
  • Loading branch information
WakelessSloth56 committed Mar 27, 2022
1 parent cf7e8e7 commit 4dcd99a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package org.auioc.mods.arnicalib.api.java.holder;

public class BooleanHolder extends ObjectHolder<Boolean> {

public BooleanHolder(Boolean value) {
super(value);
}

public void reverse() {
this.value = !this.value;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package org.auioc.mods.arnicalib.api.java.holder;

public class IntegerHolder extends ObjectHolder<Integer> {

public IntegerHolder(Integer value) {
super(value);
}

}

0 comments on commit 4dcd99a

Please sign in to comment.