Interface ReadOnlyMap<K,​V>

All Known Subinterfaces:
AblyBase.Channels, AblyRealtime.Channels
All Known Implementing Classes:
InternalMap

public interface ReadOnlyMap<K,​V>
Exposes a subset of the Map interface, providing read only access only, removing mutating interfaces. Used in the Ably API where we have previously overexposed the full Map interface, providing a level of acceptable support for users who had relied upon this overexposure for valid reasons including testing and runtime inspection (e.g. iterating channels, counting channels, etc..). Developers should not rely upon any methods in this interface as they will eventually be remove from the Ably API, after a period of deprecation.
  • Method Summary

    Modifier and Type Method Description
    boolean containsKey​(java.lang.Object key)  
    boolean containsValue​(java.lang.Object value)  
    java.lang.Iterable<java.util.Map.Entry<K,​V>> entrySet()  
    V get​(java.lang.Object key)  
    boolean isEmpty()  
    java.lang.Iterable<K> keySet()  
    int size()  
    java.lang.Iterable<V> values()  
  • Method Details

    • containsKey

      boolean containsKey​(java.lang.Object key)
    • containsValue

      boolean containsValue​(java.lang.Object value)
    • entrySet

      java.lang.Iterable<java.util.Map.Entry<K,​V>> entrySet()
    • get

      V get​(java.lang.Object key)
    • isEmpty

      boolean isEmpty()
    • keySet

      java.lang.Iterable<K> keySet()
    • size

      int size()
    • values

      java.lang.Iterable<V> values()