com.qualcomm.robotcore.hardware

## Class ScannedDevices.MapAdapter

- java.lang.Object
- - <any>
  - - com.qualcomm.robotcore.hardware.ScannedDevices.MapAdapter

- Enclosing class:
    ScannedDevices

      protected static class ScannedDevices.MapAdapter
      extends <any>

  There *has* to be an easier way here, somehow.

- - ### Constructor Summary

    Constructors
    Modifier | Constructor and Description
    --- | ---
    `protected` | `MapAdapter()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.util.Map<SerialNumber,DeviceManager.UsbDeviceType>` | `read(JsonReader reader)`
    `void` | `write(JsonWriter writer, java.util.Map<SerialNumber,DeviceManager.UsbDeviceType> map)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MapAdapter

          protected MapAdapter()

  - ### Method Detail

    - #### write

          public void write(JsonWriter writer,
                            java.util.Map<SerialNumber,DeviceManager.UsbDeviceType> map)
                     throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### read

          public java.util.Map<SerialNumber,DeviceManager.UsbDeviceType> read(JsonReader reader)
                                                                       throws java.io.IOException

      Throws:
        `java.io.IOException`