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 |
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.
javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry.ServiceTypeEntry | ( | String | type | ) | [inline] |
Definition at line 201 of file JmDNSImpl.java.
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
.
subtype | element to be added to this set |
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))
.
subtype | element whose presence in this set is to be tested |
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.
String javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry.getType | ( | ) | [inline] |
The type associated with this entry.
Definition at line 212 of file JmDNSImpl.java.
Iterator<String> javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry.iterator | ( | ) | [inline] |
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).
Definition at line 258 of file JmDNSImpl.java.
String javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry.toString | ( | ) | [inline] |
Definition at line 280 of file JmDNSImpl.java.
final Set<Map.Entry<String, String> > javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry._entrySet [private] |
Definition at line 115 of file JmDNSImpl.java.
final String javax.jmdns.impl.JmDNSImpl.ServiceTypeEntry._type [private] |
Definition at line 117 of file JmDNSImpl.java.