Uses of Class
org.apache.juneau.marshall.collections.MarshalledMap
Packages that use MarshalledMap
Package
Description
Marshalling API
Collections classes.
Internal Utilities
JSON Marshalling Support.
JSON5 Marshalling Support.
Parser API
-
Uses of MarshalledMap in org.apache.juneau.marshall
Methods in org.apache.juneau.marshall that return MarshalledMapModifier and TypeMethodDescriptionprotected MarshalledMapMarshallingSession.newGenericMap()Creates a string-keyed generic map for parser-driven map population. -
Uses of MarshalledMap in org.apache.juneau.marshall.collections
Subclasses of MarshalledMap in org.apache.juneau.marshall.collectionsModifier and TypeClassDescriptionclassJava implementation of a JSON object.classSubclass of aMarshalledMapthat automatically resolves any SVL variables in values.Fields in org.apache.juneau.marshall.collections declared as MarshalledMapModifier and TypeFieldDescriptionstatic final MarshalledMapMarshalledMap.EMPTY_MAPAn empty read-only MarshalledMap.Methods in org.apache.juneau.marshall.collections that return MarshalledMapModifier and TypeMethodDescriptionAdds an entry to this map.Appends all the entries in the specified map to this map.<T> MarshalledMapMarshalledMap.appendFirst(Predicate<T> test, String key, T... values) Adds the first value that matches the specified predicate.Add if flag istrue .<T> MarshalledMapAdd if predicate matches value.MarshalledMap.appendIfAbsent(String key, Object value) Adds a value in this map if the entry does not exist or the current value isnull .<T> MarshalledMapMarshalledMap.appendIfAbsentIf(Predicate<T> predicate, String key, T value) Adds a value in this map if the entry does not exist or the current value isnull and the value matches the specified predicate.static MarshalledMapMarshalledMap.create()Construct an empty map.Returns a copy of this map without the specified keys.MarshalledMap.filtered()Enables filtering based on default values.Enables filtering based on a predicate test.static MarshalledMapMarshalledMap.filteredMap()Construct an empty filtered map.static MarshalledMapMarshalledMap.filteredMap(Object... keyValuePairs) Construct a filtered map initialized with the specified key/value pairs.Returns the first entry that exists converted to aMarshalledMap.MarshalledList.getMap(int index) Shortcut for callingget(index, MarshalledMap..class )Returns the specified entry value converted to aMap.Same asgetMap(String)but creates a new emptyMarshalledMapif it doesn't already exist.MarshalledMap.getMap(String key, MarshalledMap defVal) Returns the specified entry value converted to aMarshalledMap.Returns a copy of this map with only the specified keys.Set an inner map in this map to allow for chained get calls.The opposite ofremoveAll(String...).MarshalledMap.modifiable()Returns a modifiable copy of this map if it's unmodifiable.protected MarshalledMapMarshalledMap.newMarshalledMap(MarshallingSession bs) Factory hook used bycast(Class)/cast(ClassMeta)when the target map type cannot be instantiated directly (e.g. when the caller asks for theMapinterface).static MarshalledMapConstruct a map initialized with the specified key/value pairs.static MarshalledMapConstruct a map initialized with the specified map.static MarshalledMapConstruct a map initialized by parsing the specified reader with the specified parser.static MarshalledMapMarshalledMap.ofString(CharSequence in, Parser p) Construct a map initialized by parsing the specified string with the specified parser.MarshalledMap.session(MarshallingSession session) Override the default bean session used for converting POJOs.MarshalledMap.setBeanSession(MarshallingSession value) Sets theMarshallingSessioncurrently associated with this map.MarshalledMap.unmodifiable()Returns an unmodifiable copy of this map if it's modifiable.Methods in org.apache.juneau.marshall.collections with parameters of type MarshalledMapModifier and TypeMethodDescriptionMarshalledMap.getMap(String key, MarshalledMap defVal) Returns the specified entry value converted to aMarshalledMap. -
Uses of MarshalledMap in org.apache.juneau.marshall.internal
Subclasses of MarshalledMap in org.apache.juneau.marshall.internalModifier and TypeClassDescriptionclassDelegateMap<T extends Map>Represents a wrappedMapwhere entries in the map can be removed without affecting the underlying map. -
Uses of MarshalledMap in org.apache.juneau.marshall.json
Methods in org.apache.juneau.marshall.json that return MarshalledMap -
Uses of MarshalledMap in org.apache.juneau.marshall.json5
Subclasses of MarshalledMap in org.apache.juneau.marshall.json5Methods in org.apache.juneau.marshall.json5 that return MarshalledMap -
Uses of MarshalledMap in org.apache.juneau.marshall.parser
Methods in org.apache.juneau.marshall.parser with parameters of type MarshalledMapModifier and TypeMethodDescriptionprotected final ObjectParserSession.cast(MarshalledMap m, BeanPropertyMeta pMeta, ClassMeta<?> eType) Converts the specifiedMarshalledMapinto a bean identified by the"_type" property in the map.