Reorganize

This commit is contained in:
Daniel Mills
2020-07-27 20:48:00 -04:00
parent e1067aeb83
commit dddbcdf088
138 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
package ninja.bytecode.iris.util;
import java.util.function.Function;
public class Contained<T>
{
private T t;
public Contained(T t)
{
set(t);
}
public Contained()
{
this(null);
}
public void mod(Function<T, T> x)
{
set(x.apply(t));
}
public T get()
{
return t;
}
public void set(T t)
{
this.t = t;
}
}