org.gcube.indexmanagement.common.dupelimination
Class ResultsIdentifierSet
java.lang.Object
org.gcube.indexmanagement.common.dupelimination.ResultsIdentifierSet
public class ResultsIdentifierSet
- extends Object
|
Method Summary |
boolean |
canSend(String language,
String identifier)
If the element identified by language, identifier is already in the set of results, returns
false. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultsIdentifierSet
public ResultsIdentifierSet()
canSend
public boolean canSend(String language,
String identifier)
- If the element identified by language, identifier is already in the set of results, returns
false. Else it adds it to the set of results and returns true. If either of the arguments
is null then it takes no action and returns true.
- Parameters:
language - identifier -
- Returns:
- true/false
Copyright © 2013. All Rights Reserved.