Added API doc.
This commit is contained in:
parent
3661061ed0
commit
686347b64c
@ -29,6 +29,10 @@ public class Keywords implements Serializable {
|
|||||||
this.keywords = keywords;
|
this.keywords = keywords;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param typeName the keyword type as a string, the type of the keyword (s) used in the specific comparison
|
||||||
|
* @return List<Keyword> return a list of keywords of the specified type
|
||||||
|
*/
|
||||||
public List<Keyword> getFiltered(String typeName) {
|
public List<Keyword> getFiltered(String typeName) {
|
||||||
List<Keyword> keywords = new ArrayList<Keyword>();
|
List<Keyword> keywords = new ArrayList<Keyword>();
|
||||||
for (Keyword keyword : getAll()) {
|
for (Keyword keyword : getAll()) {
|
||||||
@ -39,6 +43,10 @@ public class Keywords implements Serializable {
|
|||||||
return keywords;
|
return keywords;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param type the keyword type, the type of the keyword (s) used in the specific comparison
|
||||||
|
* @return List<Keyword> return a list of keywords of the specified type
|
||||||
|
*/
|
||||||
public List<Keyword> getFiltered(KeywordType type) {
|
public List<Keyword> getFiltered(KeywordType type) {
|
||||||
return getFiltered(type.getName());
|
return getFiltered(type.getName());
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user