public synchronized void putTrust(final WoTTrust trust) { mTrustCache.put(new TrustKey(trust), trust.getValue()); }
public synchronized void putScore( final WoTOwnIdentity truster, final WoTIdentity trustee, final int value) { mScoreCache.put(new TrustKey(truster, trustee), value); }
public synchronized void putTrust( final WoTIdentity truster, final WoTIdentity trustee, final byte value) { mTrustCache.put(new TrustKey(truster, trustee), value); }