package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
-import java.util.Set;
/**
* TODO
public Artist name(String name);
- public Set<Group> groups();
+ public Collection<Group> groups();
- public Artist groups(Set<Group> groups);
+ public Artist groups(Collection<Group> groups);
public Collection<Track> tracks();
package net.pterodactylus.demoscenemusic.data;
import java.util.Collection;
-import java.util.Set;
/**
* TODO
* {@inheritDoc}
*/
@SuppressWarnings("unchecked")
- public Set<Group> groups() {
- return value("groups", Set.class).get();
+ public Collection<Group> groups() {
+ return value("groups", Collection.class).get();
}
/**
* {@inheritDoc}
*/
- public Artist groups(Set<Group> groups) {
- value("groups", Set.class).set(groups);
+ public Artist groups(Collection<Group> groups) {
+ value("groups", Collection.class).set(groups);
return this;
}