Top Description Inners Fields Constructors Methods
com.google.protobuf.nano

public final Class MapFactories

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map

Utility class for maps support.

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
public static interface

Field Summary

Modifier and TypeField and Description
private static volatile MapFactories.MapFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static MapFactories.MapFactory
pack-priv static void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

mapFactoryback to summary
private static volatile MapFactories.MapFactory mapFactory

Constructor Detail

MapFactoriesback to summary
private MapFactories()

Method Detail

getMapFactoryback to summary
public static MapFactories.MapFactory getMapFactory()
setMapFactoryback to summary
pack-priv static void setMapFactory(MapFactories.MapFactory newMapFactory)
com.google.protobuf.nano back to summary

private Class MapFactories.DefaultMapFactory

extends Object
implements MapFactory
Class Inheritance
All Implemented Interfaces
com.google.protobuf.nano.MapFactories.MapFactory

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public <K, V> Map<K, V>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultMapFactoryback to summary
private DefaultMapFactory()

Method Detail

forMapback to summary
public <K, V> Map<K, V> forMap(Map<K, V> oldMap)

Implements com.google.protobuf.nano.MapFactories.MapFactory.forMap.

com.google.protobuf.nano back to summary

public Interface MapFactories.MapFactory

Known Direct Implementers
com.google.protobuf.nano.MapFactories.DefaultMapFactory

Method Summary

Modifier and TypeMethod and Description
public <K, V> Map<K, V>
forMap(Map<K, V> oldMap)

Method Detail

forMapback to summary
public <K, V> Map<K, V> forMap(Map<K, V> oldMap)