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

  • Updating database using SQL prepared statement
  • requestLocationUpdates (LocationManager)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSupportFragmentManager (FragmentActivity)
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Collectors (java.util.stream)
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • 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