congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MapField.convertMapToList
Code IndexAdd Tabnine to your IDE (free)

How to use
convertMapToList
method
in
com.google.protobuf.MapField

Best Java code snippets using com.google.protobuf.MapField.convertMapToList (Showing top 4 results out of 315)

origin: com.google.protobuf/protobuf-java

/** Gets a mutable List view of this MapField. */
List<Message> getMutableList() {
 if (mode != StorageMode.LIST) {
  if (mode == StorageMode.MAP) {
   listData = convertMapToList(mapData);
  }
  mapData = null;
  mode = StorageMode.LIST;
 }
 return listData;
}
origin: com.google.protobuf/protobuf-java

/** Gets the content of this MapField as a read-only List. */
List<Message> getList() {
 if (mode == StorageMode.MAP) {
  synchronized (this) {
   if (mode == StorageMode.MAP) {
    listData = convertMapToList(mapData);
    mode = StorageMode.BOTH;
   }
  }
 }
 return Collections.unmodifiableList(listData);
}
origin: yeriomin/play-store-api

/** Gets a mutable List view of this MapField. */
List<Message> getMutableList() {
 if (mode != StorageMode.LIST) {
  if (mode == StorageMode.MAP) {
   listData = convertMapToList(mapData);
  }
  mapData = null;
  mode = StorageMode.LIST;
 }
 return listData;
}
origin: yeriomin/play-store-api

/** Gets the content of this MapField as a read-only List. */
List<Message> getList() {
 if (mode == StorageMode.MAP) {
  synchronized (this) {
   if (mode == StorageMode.MAP) {
    listData = convertMapToList(mapData);
    mode = StorageMode.BOTH;
   }
  }
 }
 return Collections.unmodifiableList(listData);
}
com.google.protobufMapFieldconvertMapToList

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
  • <init>
  • hashCode,
  • <init>,
  • convertKeyAndValueToMessage,
  • convertListToMap,
  • convertMessageToKeyAndValue,
  • getList,
  • getMapEntryMessageDefaultInstance,
  • getMutableList

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getContentResolver (Context)
  • onRequestPermissionsResult (Fragment)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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