|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.limegroup.gnutella.gui.search.TableLineGrouper
Used by TableLineModel to quickly find similar TableLines. This takes advanteage of the fact that two TableLine's are similar only if their file sizes are similar. A typical TableLineGrouper is a set of TableLine's, {a1,..., an}.
| Constructor Summary | |
TableLineGrouper()
|
|
| Method Summary | |
void |
add(TableLine line)
Adds line to this. |
void |
clear()
|
boolean |
isEmpty()
Returns true if empty, i.e., cleared. |
TableLine |
match(TableLine line)
Returns a line G in this s.t. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TableLineGrouper()
| Method Detail |
public boolean isEmpty()
public void clear()
public TableLine match(TableLine line)
public void add(TableLine line)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||