org.universAAL.middleware.managers.aalspace
Class MatchingResultImpl
java.lang.Object
org.universAAL.middleware.managers.aalspace.MatchingResultImpl
- All Implemented Interfaces:
- MatchingResult
public class MatchingResultImpl
- extends Object
- implements MatchingResult
The implementation of the MatchingResult
interface
- Version:
- $LastChangedRevision$ ( $LastChangedDate$ )
- Author:
- Stefano Lenzi
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MatchingResultImpl
public MatchingResultImpl(Map<PeerCard,Map<String,Serializable>> data)
getPeers
public PeerCard[] getPeers()
- Specified by:
getPeers
in interface MatchingResult
- Returns:
- an array of
PeerCard
representing the peers whom matches the search
getPeerAttribute
public Map<String,Serializable> getPeerAttribute(PeerCard peer)
- Specified by:
getPeerAttribute
in interface MatchingResult
- Parameters:
peer
- the that we are asking the attribute for
- Returns:
- a
Map
with the current value of the all the attribute that were searched
Copyright © 2014 universAAL Consortium. All Rights Reserved.