public class ANQPData extends Object
Constructor and Description |
---|
ANQPData(Clock clock,
NetworkDetail network,
ANQPData existing) |
ANQPData(Clock clock,
NetworkDetail network,
Map<Constants.ANQPElementType,ANQPElement> anqpElements) |
Modifier and Type | Method and Description |
---|---|
List<Constants.ANQPElementType> |
disjoint(List<Constants.ANQPElementType> querySet) |
boolean |
expired() |
boolean |
expired(long at) |
Map<Constants.ANQPElementType,ANQPElement> |
getANQPElements() |
NetworkDetail |
getNetwork() |
protected boolean |
hasData() |
protected boolean |
isValid(NetworkDetail nwk) |
protected void |
merge(Map<Constants.ANQPElementType,ANQPElement> data) |
String |
toString()
Returns a string representation of the object.
|
String |
toString(boolean brief) |
public ANQPData(Clock clock, NetworkDetail network, Map<Constants.ANQPElementType,ANQPElement> anqpElements)
public ANQPData(Clock clock, NetworkDetail network, ANQPData existing)
public List<Constants.ANQPElementType> disjoint(List<Constants.ANQPElementType> querySet)
public Map<Constants.ANQPElementType,ANQPElement> getANQPElements()
public NetworkDetail getNetwork()
public boolean expired()
public boolean expired(long at)
protected boolean hasData()
protected void merge(Map<Constants.ANQPElementType,ANQPElement> data)
protected boolean isValid(NetworkDetail nwk)
public String toString(boolean brief)
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())