|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.hiveutils.collections.SetOperations
public class SetOperations
Helper class that performs some operations on "sets".
| Constructor Summary | |
|---|---|
protected |
SetOperations()
|
| Method Summary | |
|---|---|
static boolean |
intersects(java.lang.String[] list1,
java.lang.String[] list2)
Checks if two lists have common items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SetOperations()
| Method Detail |
|---|
public static boolean intersects(java.lang.String[] list1,
java.lang.String[] list2)
list1 - first list of items. This list must be sorted.list2 - second list of items. This list must be sorted.
true if list1 and list2
have at least one item in common
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||