Mercurial Hosting > luan
diff core/src/luan/impl/Pointer.java @ 671:82f130eba7b0
improve declarations
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 12 Apr 2016 14:44:10 -0600 |
parents | 58ebfec6178b |
children |
line wrap: on
line diff
--- a/core/src/luan/impl/Pointer.java Tue Apr 12 01:05:57 2016 -0600 +++ b/core/src/luan/impl/Pointer.java Tue Apr 12 14:44:10 2016 -0600 @@ -7,6 +7,12 @@ public final class Pointer implements DeepCloneable { public Object o; + public Pointer() {} + + public Pointer(Object o) { + this.o = o; + } + @Override public Pointer shallowClone() { return new Pointer(); }