Mercurial Hosting > luan
view src/luan/impl/Pointer.java @ 1461:e5d48b85351c
start lucene.logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sat, 28 Mar 2020 21:30:42 -0600 |
parents | 6a7c6879158d |
children | e1a13e707bf3 |
line wrap: on
line source
package luan.impl; import luan.LuanCloneable; import luan.LuanCloner; public final class Pointer implements LuanCloneable { public Object o; public Pointer() {} public Pointer(Object o) { this.o = o; } @Override public Pointer shallowClone() { return new Pointer(); } @Override public void deepenClone(LuanCloneable clone,LuanCloner cloner) { ((Pointer)clone).o = cloner.get(o); } }