public class VectorUtilities
extends java.lang.Object
Constructor and Description |
---|
VectorUtilities() |
Modifier and Type | Method and Description |
---|---|
static void |
addAlphabeticallyOrdered(java.util.Vector v,
java.lang.Object obj)
Adds an item in alphabetical order.
|
static void |
addAlphabeticallyOrdered(java.util.Vector v,
java.lang.Object obj,
java.util.Comparator comp)
Adds an item in alphabetical order using a comparator for compare the objects.
|
public static void addAlphabeticallyOrdered(java.util.Vector v, java.lang.Object obj)
v
- java.util.Vector in alphabetical order.obj
- java.lang.Objectpublic static void addAlphabeticallyOrdered(java.util.Vector v, java.lang.Object obj, java.util.Comparator comp)
v
- java.util.Vector in alphabetical order.obj
- java.lang.Objectcomp
- java.util.Comparator