us.bpsm.edn
Class TaggedValue
- java.lang.Object
-
- us.bpsm.edn.TaggedValue
-
public final class TaggedValue extends java.lang.ObjectA Tagged value that received no specific handling because the Parser was not configured with a handler for its tag.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)TaggetTag()Returns this TaggedValue's tag, which is never null.java.lang.ObjectgetValue()inthashCode()static TaggedValuenewTaggedValue(Tag tag, java.lang.Object value)Return a tagged value for the given tag and value (some edn data).java.lang.StringtoString()
-
-
-
Method Detail
-
newTaggedValue
public static TaggedValue newTaggedValue(Tag tag, java.lang.Object value)
Return a tagged value for the given tag and value (some edn data). The tag must not be null.- Parameters:
tag- not null.value-- Returns:
- a TaggedValue, never null.
-
getTag
public Tag getTag()
Returns this TaggedValue's tag, which is never null.- Returns:
- never null.
-
getValue
public java.lang.Object getValue()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DMelt 3.0 © DataMelt by jWork.ORG