java.lang.Object
org.freedesktop.dbus.connections.PeerSet
All Implemented Interfaces:
Iterable<String>, Collection<String>, Set<String>, DBusSigHandler<DBus.NameOwnerChanged>

@Deprecated(forRemoval=true, since="4.3.1") public class PeerSet extends Object implements Set<String>, DBusSigHandler<DBus.NameOwnerChanged>
Deprecated, for removal: This API element is subject to removal in a future version.
no longer used
  • Constructor Summary

    Constructors
    Constructor
    Description
    PeerSet(DBusConnection _connection)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    add(String _address)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    addAll(Collection<? extends String> _addresses)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    Handle a signal.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    <T> T[]
    toArray(T[] _a)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Collection

    parallelStream, removeIf, stream, toArray

    Methods inherited from interface java.lang.Iterable

    forEach

    Methods inherited from interface java.util.Set

    spliterator
  • Constructor Details

    • PeerSet

      public PeerSet(DBusConnection _connection)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • handle

      public void handle(DBus.NameOwnerChanged _noc)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: DBusSigHandler
      Handle a signal.
      Specified by:
      handle in interface DBusSigHandler<DBus.NameOwnerChanged>
      Parameters:
      _noc - The signal to handle. If such a class exists, the signal will be an instance of the class with the correct type signature. Otherwise it will be an instance of DBusSignal
    • add

      public boolean add(String _address)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      add in interface Collection<String>
      Specified by:
      add in interface Set<String>
    • addAll

      public boolean addAll(Collection<? extends String> _addresses)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      addAll in interface Collection<String>
      Specified by:
      addAll in interface Set<String>
    • clear

      public void clear()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      clear in interface Collection<String>
      Specified by:
      clear in interface Set<String>
    • contains

      public boolean contains(Object _o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      contains in interface Collection<String>
      Specified by:
      contains in interface Set<String>
    • containsAll

      public boolean containsAll(Collection<?> _os)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      containsAll in interface Collection<String>
      Specified by:
      containsAll in interface Set<String>
    • equals

      public boolean equals(Object _o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      equals in interface Collection<String>
      Specified by:
      equals in interface Set<String>
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      hashCode in interface Collection<String>
      Specified by:
      hashCode in interface Set<String>
      Overrides:
      hashCode in class Object
    • isEmpty

      public boolean isEmpty()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      isEmpty in interface Collection<String>
      Specified by:
      isEmpty in interface Set<String>
    • iterator

      public Iterator<String> iterator()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      iterator in interface Collection<String>
      Specified by:
      iterator in interface Iterable<String>
      Specified by:
      iterator in interface Set<String>
    • remove

      public boolean remove(Object _o)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      remove in interface Collection<String>
      Specified by:
      remove in interface Set<String>
    • removeAll

      public boolean removeAll(Collection<?> _os)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      removeAll in interface Collection<String>
      Specified by:
      removeAll in interface Set<String>
    • retainAll

      public boolean retainAll(Collection<?> _os)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      retainAll in interface Collection<String>
      Specified by:
      retainAll in interface Set<String>
    • size

      public int size()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      size in interface Collection<String>
      Specified by:
      size in interface Set<String>
    • toArray

      public Object[] toArray()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      toArray in interface Collection<String>
      Specified by:
      toArray in interface Set<String>
    • toArray

      public <T> T[] toArray(T[] _a)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      toArray in interface Collection<String>
      Specified by:
      toArray in interface Set<String>