IT. Expert System.

Android Reference

LinkCapabilities


android.net

Class LinkCapabilities

  • All Implemented Interfaces:
    Parcelable


    public class LinkCapabilities
    extends Object
    implements Parcelable
    A class representing the capabilities of a link
    • Constructor Detail

      • LinkCapabilities

        public LinkCapabilities()
        Constructor
      • LinkCapabilities

        public LinkCapabilities(LinkCapabilities source)
        Copy constructor.
        Parameters:
        source -
    • Method Detail

      • createNeedsMap

        public static LinkCapabilities createNeedsMap(String applicationRole)
        Create the LinkCapabilities with values depending on role type.
        Parameters:
        applicationRole - a LinkSocket.Role
        Returns:
        the LinkCapabilities associated with the applicationRole, empty if none
      • clear

        public void clear()
        Remove all capabilities
      • isEmpty

        public boolean isEmpty()
        Returns whether this map is empty.
      • size

        public int size()
        Returns the number of elements in this map.
        Returns:
        the number of elements in this map.
      • get

        public String get(int key)
        Given the key return the capability string
        Parameters:
        key -
        Returns:
        the capability string
      • put

        public void put(int key,
               String value)
        Store the key/value capability pair
        Parameters:
        key -
        value -
      • containsKey

        public boolean containsKey(int key)
        Returns whether this map contains the specified key.
        Parameters:
        key - to search for.
        Returns:
        true if this map contains the specified key, false otherwise.
      • containsValue

        public boolean containsValue(String value)
        Returns whether this map contains the specified value.
        Parameters:
        value - to search for.
        Returns:
        true if this map contains the specified value, false otherwise.
      • entrySet

        public Set<Map.Entry<Integer,String>> entrySet()
        Returns a set containing all of the mappings in this map. Each mapping is an instance of Map.Entry. As the set is backed by this map, changes in one will be reflected in the other.
        Returns:
        a set of the mappings.
      • keySet

        public Set<Integer> keySet()
        Returns:
        the set of the keys.
      • describeContents

        public int describeContents()
        Implement the Parcelable interface
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.
      • toString

        public String toString()
        Convert to string for debugging
        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.
      • log

        protected static void log(String s)
        Debug logging


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1808 / . Delta: 0.02489 с