Classes | Public Member Functions | Private Attributes
javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry Class Reference
Inheritance diagram for javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry:
Inheritance graph
[legend]

List of all members.

Classes

class  SubTypeEntry

Public Member Functions

boolean add (String subtype)
ServiceTypeEntry clone ()
boolean contains (String subtype)
Set< Map.Entry< String, String > > entrySet ()
String getType ()
Iterator< String > iterator ()
 ServiceTypeEntry (String type)
String toString ()

Private Attributes

final Set< Map.Entry< String,
String > > 
_entrySet
final String _type

Detailed Description

This is used to store type entries. The type is stored as a call variable and the map support the subtypes.

The key is the lowercase version as the value is the case preserved version.

Definition at line 113 of file JmDNSImpl.java.


Constructor & Destructor Documentation

Definition at line 201 of file JmDNSImpl.java.


Member Function Documentation

boolean javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry.add ( String  subtype) [inline]

Adds the specified element to this set if it is not already present. More formally, adds the specified element e to this set if this set contains no element e2 such that (e==null ? e2==null : e.equals(e2)). If this set already contains the element, the call leaves the set unchanged and returns false.

Parameters:
subtypeelement to be added to this set
Returns:
true if this set did not already contain the specified element

Definition at line 245 of file JmDNSImpl.java.

Definition at line 267 of file JmDNSImpl.java.

boolean javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry.contains ( String  subtype) [inline]

Returns true if this set contains the specified element. More formally, returns true if and only if this set contains an element e such that (o==null ? e==null : o.equals(e)).

Parameters:
subtypeelement whose presence in this set is to be tested
Returns:
true if this set contains the specified element

Definition at line 233 of file JmDNSImpl.java.

Set<Map.Entry<String, String> > javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry.entrySet ( ) [inline]

Definition at line 221 of file JmDNSImpl.java.

The type associated with this entry.

Returns:
the type

Definition at line 212 of file JmDNSImpl.java.

Returns an iterator over the elements in this set. The elements are returned in no particular order (unless this set is an instance of some class that provides a guarantee).

Returns:
an iterator over the elements in this set

Definition at line 258 of file JmDNSImpl.java.

Definition at line 280 of file JmDNSImpl.java.


Member Data Documentation

final Set<Map.Entry<String, String> > javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry._entrySet [private]

Definition at line 115 of file JmDNSImpl.java.

Definition at line 117 of file JmDNSImpl.java.


The documentation for this class was generated from the following file:


zeroconf_jmdns_suite
Author(s): Daniel Stonier
autogenerated on Thu Aug 27 2015 15:50:27