rlm@10: /** rlm@10: * Copyright (c) Rich Hickey. All rights reserved. rlm@10: * The use and distribution terms for this software are covered by the rlm@10: * Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) rlm@10: * which can be found in the file epl-v10.html at the root of this distribution. rlm@10: * By using this software in any fashion, you are agreeing to be bound by rlm@10: * the terms of this license. rlm@10: * You must not remove this notice, or any other, from this software. rlm@10: **/ rlm@10: rlm@10: /* rich Mar 25, 2006 3:44:58 PM */ rlm@10: rlm@10: package clojure.lang; rlm@10: rlm@10: import java.io.Serializable; rlm@10: rlm@10: public abstract class Obj implements IObj, Serializable { rlm@10: rlm@10: final IPersistentMap _meta; rlm@10: rlm@10: public Obj(IPersistentMap meta){ rlm@10: this._meta = meta; rlm@10: } rlm@10: rlm@10: public Obj(){ rlm@10: _meta = null; rlm@10: } rlm@10: rlm@10: final public IPersistentMap meta(){ rlm@10: return _meta; rlm@10: } rlm@10: rlm@10: abstract public Obj withMeta(IPersistentMap meta); rlm@10: rlm@10: }