Package org.apache.storm.clojure
Class IndifferentAccessMap
- java.lang.Object
-
- org.apache.storm.clojure.IndifferentAccessMap
-
- All Implemented Interfaces:
clojure.lang.Associative
,clojure.lang.Counted
,clojure.lang.ILookup
,clojure.lang.IPersistentCollection
,clojure.lang.IPersistentMap
,clojure.lang.Seqable
,Iterable
,Map
public class IndifferentAccessMap extends Object implements clojure.lang.ILookup, clojure.lang.IPersistentMap, Map
-
-
Field Summary
Fields Modifier and Type Field Description protected clojure.lang.IPersistentMap
map
-
Constructor Summary
Constructors Constructor Description IndifferentAccessMap(clojure.lang.IPersistentMap map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description clojure.lang.IPersistentMap
assoc(Object k, Object v)
clojure.lang.IPersistentMap
assocEx(Object k, Object v)
void
clear()
clojure.lang.IPersistentCollection
cons(Object o)
boolean
containsKey(Object k)
boolean
containsValue(Object v)
int
count()
clojure.lang.IPersistentCollection
empty()
clojure.lang.IMapEntry
entryAt(Object k)
Set
entrySet()
boolean
equiv(Object o)
Object
get(Object k)
clojure.lang.IPersistentMap
getMap()
boolean
isEmpty()
Iterator
iterator()
Set
keySet()
Object
put(Object k, Object v)
void
putAll(Map m)
Object
remove(Object k)
clojure.lang.ISeq
seq()
clojure.lang.IPersistentMap
setMap(clojure.lang.IPersistentMap map)
int
size()
Object
valAt(Object o)
Object
valAt(Object o, Object def)
Collection
values()
clojure.lang.IPersistentMap
without(Object k)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
getMap
public clojure.lang.IPersistentMap getMap()
-
setMap
public clojure.lang.IPersistentMap setMap(clojure.lang.IPersistentMap map)
-
count
public int count()
- Specified by:
count
in interfaceclojure.lang.Counted
- Specified by:
count
in interfaceclojure.lang.IPersistentCollection
-
seq
public clojure.lang.ISeq seq()
- Specified by:
seq
in interfaceclojure.lang.Seqable
-
valAt
public Object valAt(Object o, Object def)
- Specified by:
valAt
in interfaceclojure.lang.ILookup
-
assoc
public clojure.lang.IPersistentMap assoc(Object k, Object v)
- Specified by:
assoc
in interfaceclojure.lang.Associative
- Specified by:
assoc
in interfaceclojure.lang.IPersistentMap
-
assocEx
public clojure.lang.IPersistentMap assocEx(Object k, Object v)
- Specified by:
assocEx
in interfaceclojure.lang.IPersistentMap
-
without
public clojure.lang.IPersistentMap without(Object k)
- Specified by:
without
in interfaceclojure.lang.IPersistentMap
-
containsKey
public boolean containsKey(Object k)
- Specified by:
containsKey
in interfaceclojure.lang.Associative
- Specified by:
containsKey
in interfaceMap
-
entryAt
public clojure.lang.IMapEntry entryAt(Object k)
- Specified by:
entryAt
in interfaceclojure.lang.Associative
-
cons
public clojure.lang.IPersistentCollection cons(Object o)
- Specified by:
cons
in interfaceclojure.lang.IPersistentCollection
-
empty
public clojure.lang.IPersistentCollection empty()
- Specified by:
empty
in interfaceclojure.lang.IPersistentCollection
-
equiv
public boolean equiv(Object o)
- Specified by:
equiv
in interfaceclojure.lang.IPersistentCollection
-
containsValue
public boolean containsValue(Object v)
- Specified by:
containsValue
in interfaceMap
-
values
public Collection values()
-
-