Hi All. I have a question about the java interface signature. I wasgiven the fol
ID: 3617258 • Letter: H
Question
Hi All.I have a question about the java interface signature. I wasgiven the following code
public interface Top-N {
public Set<Tuple> topN(stringQ,int K, Score F)
}
public class TopNImpl implements TopN{
public Set<Tuple> topN(stringQ, int K, Score F)
}
I am not sure what the Set<tuple> is used for in interfacesignature definition. Is this a way to inherit all thefunctionality from class Tuple?
I have a class Tuple defined
and an interface Score and ScoreImpl
Any help would be appreciated. Thx.