org.gcube.indexmanagement.common.dupelimination
Class ResultsIdentifierSet

java.lang.Object
  extended by org.gcube.indexmanagement.common.dupelimination.ResultsIdentifierSet

public class ResultsIdentifierSet
extends Object


Constructor Summary
ResultsIdentifierSet()
           
 
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
 

Constructor Detail

ResultsIdentifierSet

public ResultsIdentifierSet()
Method Detail

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 © 2012. All Rights Reserved.