congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MapField.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.google.protobuf.MapField
constructor

Best Java code snippets using com.google.protobuf.MapField.<init> (Showing top 6 results out of 315)

origin: com.google.protobuf/protobuf-java

/** Returns an immutable empty MapField. */
public static <K, V> MapField<K, V> emptyMapField(
  MapEntry<K, V> defaultEntry) {
 return new MapField<K, V>(
   defaultEntry, StorageMode.MAP, Collections.<K, V>emptyMap());
}
origin: com.google.protobuf/protobuf-java

/** Creates a new mutable empty MapField. */
public static <K, V> MapField<K, V> newMapField(MapEntry<K, V> defaultEntry) {
 return new MapField<K, V>(
   defaultEntry, StorageMode.MAP, new LinkedHashMap<K, V>());
}
origin: com.google.protobuf/protobuf-java

/** Returns a deep copy of this MapField. */
public MapField<K, V> copy() {
 return new MapField<K, V>(
   converter, StorageMode.MAP, MapFieldLite.copy(getMap()));
}
origin: yeriomin/play-store-api

/** Returns an immutable empty MapField. */
public static <K, V> MapField<K, V> emptyMapField(
  MapEntry<K, V> defaultEntry) {
 return new MapField<K, V>(
   defaultEntry, StorageMode.MAP, Collections.<K, V>emptyMap());
}
origin: yeriomin/play-store-api

/** Creates a new mutable empty MapField. */
public static <K, V> MapField<K, V> newMapField(MapEntry<K, V> defaultEntry) {
 return new MapField<K, V>(
   defaultEntry, StorageMode.MAP, new LinkedHashMap<K, V>());
}
origin: yeriomin/play-store-api

/** Returns a deep copy of this MapField. */
public MapField<K, V> copy() {
 return new MapField<K, V>(
   converter, StorageMode.MAP, MapFieldLite.copy(getMap()));
}
com.google.protobufMapField<init>

Popular methods of MapField

  • getMap
    Returns the content of this MapField as a read-only Map.
  • getMutableMap
    Gets a mutable Map view of this MapField.
  • isMutable
    Returns whether this field can be modified.
  • clear
  • copy
    Returns a deep copy of this MapField.
  • emptyMapField
    Returns an immutable empty MapField.
  • makeImmutable
    Makes this list immutable. All subsequent modifications will throw an UnsupportedOperationException.
  • mergeFrom
  • newMapField
    Creates a new mutable empty MapField.
  • equals
  • hashCode
  • convertKeyAndValueToMessage
  • hashCode,
  • convertKeyAndValueToMessage,
  • convertListToMap,
  • convertMapToList,
  • convertMessageToKeyAndValue,
  • getList,
  • getMapEntryMessageDefaultInstance,
  • getMutableList

Popular in Java

  • Start an intent from android
  • onCreateOptionsMenu (Activity)
  • startActivity (Activity)
  • notifyDataSetChanged (ArrayAdapter)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Kernel (java.awt.image)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • JLabel (javax.swing)
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now