webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | Static Public Member Functions | List of all members
com.google.protobuf.MapFieldLite< K, V > Class Template Reference

Inherits com.google.protobuf.MutabilityOracle.

Classes

class  MutatabilityAwareMap
 

Public Member Functions

Map< K, V > getMap ()
 
Map< K, V > getMutableMap ()
 
void mergeFrom (MapFieldLite< K, V > other)
 
void clear ()
 
boolean equals (Object object)
 
int hashCode ()
 
MapFieldLite< K, V > copy ()
 
void makeImmutable ()
 
boolean isMutable ()
 
void ensureMutable ()
 

Static Public Member Functions

static< K, V > MapFieldLite< K, V > emptyMapField ()
 
static< K, V > MapFieldLite< K, V > newMapField ()
 

Detailed Description

Internal representation of map fields in generated lite-runtime messages.

This class is a protobuf implementation detail. Users shouldn't use this class directly.

Member Function Documentation

◆ clear()

void com.google.protobuf.MapFieldLite< K, V >.clear ( )
inline

◆ copy()

MapFieldLite<K, V> com.google.protobuf.MapFieldLite< K, V >.copy ( )
inline

Returns a deep copy of this map field.

◆ emptyMapField()

static <K, V> MapFieldLite<K, V> com.google.protobuf.MapFieldLite< K, V >.emptyMapField ( )
inlinestatic

Returns an singleton immutable empty MapFieldLite instance.

◆ ensureMutable()

void com.google.protobuf.MapFieldLite< K, V >.ensureMutable ( )
inline

◆ equals()

boolean com.google.protobuf.MapFieldLite< K, V >.equals ( Object  object)
inline

Checks whether two map fields are equal.

◆ getMap()

Map<K, V> com.google.protobuf.MapFieldLite< K, V >.getMap ( )
inline

Gets the content of this MapField as a read-only Map.

◆ getMutableMap()

Map<K, V> com.google.protobuf.MapFieldLite< K, V >.getMutableMap ( )
inline

Gets a mutable Map view of this MapField.

◆ hashCode()

int com.google.protobuf.MapFieldLite< K, V >.hashCode ( void  )
inline

◆ isMutable()

boolean com.google.protobuf.MapFieldLite< K, V >.isMutable ( )
inline

Returns whether this field can be modified.

◆ makeImmutable()

void com.google.protobuf.MapFieldLite< K, V >.makeImmutable ( )
inline

Makes this field immutable. All subsequent modifications will throw an UnsupportedOperationException.

◆ mergeFrom()

void com.google.protobuf.MapFieldLite< K, V >.mergeFrom ( MapFieldLite< K, V >  other)
inline

◆ newMapField()

static <K, V> MapFieldLite<K, V> com.google.protobuf.MapFieldLite< K, V >.newMapField ( )
inlinestatic

Creates a new MapFieldLite instance.


The documentation for this class was generated from the following file: