/*
- * Sone - Identity.java - Copyright © 2010–2019 David Roden
+ * Sone - Identity.java - Copyright © 2010–2020 David Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
package net.pterodactylus.sone.freenet.wot;
-import java.util.Collection;
-import java.util.Collections;
import java.util.Map;
import java.util.Set;
-import com.google.common.base.Function;
-
/**
* Interface for web of trust identities, defining all functions that can be
* performed on an identity. An identity is only a container for identity data
* @param contexts
* All contexts of the identity
*/
- public void setContexts(Collection<String> contexts);
+ public void setContexts(Set<String> contexts);
/**
* Removes the given context from this identity.