JmDNS 3.4.1

javax.jmdns.impl
Class DNSCache._CacheEntry

java.lang.Object
  extended by javax.jmdns.impl.DNSCache._CacheEntry
All Implemented Interfaces:
Map.Entry<String,List<? extends DNSEntry>>
Enclosing class:
DNSCache

protected static class DNSCache._CacheEntry
extends Object
implements Map.Entry<String,List<? extends DNSEntry>>


Constructor Summary
protected DNSCache._CacheEntry(Map.Entry<String,List<? extends DNSEntry>> entry)
           
protected DNSCache._CacheEntry(String key, List<? extends DNSEntry> value)
           
 
Method Summary
 boolean equals(Object entry)
          
 String getKey()
          
 List<? extends DNSEntry> getValue()
          
 int hashCode()
          
 boolean isEmpty()
          Returns true if this list contains no elements.
 List<? extends DNSEntry> setValue(List<? extends DNSEntry> value)
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DNSCache._CacheEntry

protected DNSCache._CacheEntry(String key,
                               List<? extends DNSEntry> value)
Parameters:
key -
value -

DNSCache._CacheEntry

protected DNSCache._CacheEntry(Map.Entry<String,List<? extends DNSEntry>> entry)
Parameters:
entry -
Method Detail

getKey

public String getKey()

Specified by:
getKey in interface Map.Entry<String,List<? extends DNSEntry>>

getValue

public List<? extends DNSEntry> getValue()

Specified by:
getValue in interface Map.Entry<String,List<? extends DNSEntry>>

setValue

public List<? extends DNSEntry> setValue(List<? extends DNSEntry> value)

Specified by:
setValue in interface Map.Entry<String,List<? extends DNSEntry>>

isEmpty

public boolean isEmpty()
Returns true if this list contains no elements.

Returns:
true if this list contains no elements

equals

public boolean equals(Object entry)

Specified by:
equals in interface Map.Entry<String,List<? extends DNSEntry>>
Overrides:
equals in class Object

hashCode

public int hashCode()

Specified by:
hashCode in interface Map.Entry<String,List<? extends DNSEntry>>
Overrides:
hashCode in class Object

toString

public String toString()

Overrides:
toString in class Object

Last updated 2011-08-25 12:40

Copyright © 2002-2011 JmDNS. All Rights Reserved.