public class MapFieldLite<K,V> extends Object
Modifier and Type | Method and Description |
---|---|
void |
clear() |
MapFieldLite<K,V> |
copy()
Returns a deep copy of this map field.
|
static <K,V> MapFieldLite<K,V> |
emptyMapField()
Returns an singleton immutable empty MapFieldLite instance.
|
boolean |
equals(Object object)
Checks whether two map fields are equal.
|
Map<K,V> |
getMap()
Gets the content of this MapField as a read-only Map.
|
Map<K,V> |
getMutableMap()
Gets a mutable Map view of this MapField.
|
int |
hashCode() |
void |
mergeFrom(MapFieldLite<K,V> other) |
static <K,V> MapFieldLite<K,V> |
newMapField()
Creates a new MapFieldLite instance.
|
public static <K,V> MapFieldLite<K,V> emptyMapField()
public static <K,V> MapFieldLite<K,V> newMapField()
public void mergeFrom(MapFieldLite<K,V> other)
public void clear()
public boolean equals(Object object)
public MapFieldLite<K,V> copy()
Copyright © 2008–2015 Google. All rights reserved.