public class Contributors
extends java.lang.Object
Constructor and Description |
---|
Contributors() |
Contributors(Context context) |
Contributors(ListStructure list,
Context context) |
Modifier and Type | Method and Description |
---|---|
void |
add(Contributor contributor)
Add a new Contributor to the list.
|
void |
clear() |
boolean |
contains(Contributor contributor) |
boolean |
contains(java.lang.String type) |
boolean |
equals(java.lang.Object obj)
Two
Contributors are equal if they contain the same set. |
Contributor[] |
getContributors() |
static Contributors |
getInstance(HashStructure hash) |
static Contributors |
getInstance(HashStructure hash,
Context context) |
ListStructure |
getListStructure() |
static Contributors |
getOrCreateInstance(HashStructure hash) |
static Contributors |
getOrCreateInstance(HashStructure hash,
Context context) |
void |
remove(Contributor contributor)
Remove a Contributor
|
void |
setContributors(Contributor[] newContributors)
Overwrite the existing list with a new list of Contributors.
|
public Contributors(ListStructure list, Context context)
public Contributors(Context context)
public Contributors()
public Contributor[] getContributors()
public void setContributors(Contributor[] newContributors)
newContributors
- public void add(Contributor contributor)
contributor
- public void remove(Contributor contributor)
contributor
- public boolean contains(Contributor contributor)
public boolean contains(java.lang.String type)
public void clear()
public static Contributors getOrCreateInstance(HashStructure hash, Context context)
public static Contributors getOrCreateInstance(HashStructure hash)
public static Contributors getInstance(HashStructure hash, Context context)
public static Contributors getInstance(HashStructure hash)
public ListStructure getListStructure()
public boolean equals(java.lang.Object obj)
Contributors
are equal if they contain the same set.equals
in class java.lang.Object
obj
-