clojure.lang
Class TaggedLiteral

java.lang.Object
  extended by clojure.lang.TaggedLiteral
All Implemented Interfaces:
ILookup

public class TaggedLiteral
extends Object
implements ILookup


Field Summary
 Object form
           
static Keyword FORM_KW
           
 Symbol tag
           
static Keyword TAG_KW
           
 
Method Summary
static TaggedLiteral create(Symbol tag, Object form)
           
 boolean equals(Object o)
           
 int hashCode()
           
 Object valAt(Object key)
           
 Object valAt(Object key, Object notFound)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG_KW

public static final Keyword TAG_KW

FORM_KW

public static final Keyword FORM_KW

tag

public final Symbol tag

form

public final Object form
Method Detail

create

public static TaggedLiteral create(Symbol tag,
                                   Object form)

valAt

public Object valAt(Object key)
Specified by:
valAt in interface ILookup

valAt

public Object valAt(Object key,
                    Object notFound)
Specified by:
valAt in interface ILookup

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2015. All Rights Reserved.