Public Member Functions | |
void | clear () |
Set< Map.Entry< K, V > > | entrySet () |
boolean | equals (Object object) |
int | hashCode () |
boolean | isMutable () |
void | makeImmutable () |
void | mergeFrom (MapFieldLite< K, V > other) |
MapFieldLite< K, V > | mutableCopy () |
V | put (K key, V value) |
V | put (Map.Entry< K, V > entry) |
void | putAll (Map<? extends K, ? extends V > m) |
V | remove (Object key) |
Static Public Member Functions | |
static< K, V > MapFieldLite< K, V > | emptyMapField () |
Private Member Functions | |
void | ensureMutable () |
MapFieldLite () | |
MapFieldLite (Map< K, V > mapData) | |
Static Private Member Functions | |
static int | calculateHashCodeForObject (Object a) |
static void | checkForNullKeysAndValues (Map<?, ?> m) |
static Object | copy (Object object) |
static boolean | equals (Object a, Object b) |
Private Attributes | |
boolean | isMutable |
Static Private Attributes | |
static final MapFieldLite | EMPTY_MAP_FIELD = new MapFieldLite() |
Internal representation of map fields in generated lite-runtime messages.
This class is a protobuf implementation detail. Users shouldn't use this class directly.
Definition at line 47 of file MapFieldLite.java.
|
inlineprivate |
Definition at line 51 of file MapFieldLite.java.
|
inlineprivate |
Definition at line 55 of file MapFieldLite.java.
|
inlinestaticprivate |
Definition at line 161 of file MapFieldLite.java.
|
inlinestaticprivate |
Definition at line 118 of file MapFieldLite.java.
|
inline |
Definition at line 87 of file MapFieldLite.java.
|
inlinestaticprivate |
Definition at line 190 of file MapFieldLite.java.
|
inlinestatic |
Returns an singleton immutable empty MapFieldLite instance.
Definition at line 69 of file MapFieldLite.java.
|
inlineprivate |
Definition at line 230 of file MapFieldLite.java.
|
inline |
Definition at line 82 of file MapFieldLite.java.
|
inlinestaticprivate |
Definition at line 125 of file MapFieldLite.java.
|
inline |
Checks whether two map fields are equal.
Definition at line 157 of file MapFieldLite.java.
|
inline |
Definition at line 186 of file MapFieldLite.java.
|
inline |
Returns whether this field can be modified.
Definition at line 226 of file MapFieldLite.java.
|
inline |
Makes this field immutable. All subsequent modifications will throw an {}.
Definition at line 221 of file MapFieldLite.java.
|
inline |
Definition at line 73 of file MapFieldLite.java.
|
inline |
Returns a deep copy of this map field.
Definition at line 213 of file MapFieldLite.java.
|
inline |
Definition at line 93 of file MapFieldLite.java.
|
inline |
Definition at line 101 of file MapFieldLite.java.
|
inline |
Definition at line 106 of file MapFieldLite.java.
|
inline |
Definition at line 113 of file MapFieldLite.java.
|
staticprivate |
Definition at line 61 of file MapFieldLite.java.
|
private |
Definition at line 49 of file MapFieldLite.java.