1 package net.pterodactylus.sone.database;
3 import java.util.Collection;
5 import net.pterodactylus.sone.data.LocalSone;
6 import net.pterodactylus.sone.data.Sone;
9 * Provides information about {@link Sone#getFriends() friends} of a {@link Sone}.
11 * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
13 public interface FriendProvider {
15 Collection<String> getFriends(LocalSone localSone);
16 boolean isFriend(LocalSone localSone, String friendSoneId);