javadoc tweaks

git-svn-id: https://wala.svn.sourceforge.net/svnroot/wala/trunk@1684 f5eafffb-2e1d-0410-98e4-8ec43c5233c4
This commit is contained in:
sjfink 2007-08-28 12:22:36 +00:00
parent fac5130054
commit 994f5a3c13
2 changed files with 4 additions and 5 deletions

View File

@ -171,10 +171,6 @@ public class IntSetUtil {
}
/**
* @param data
* @param key
* @param low
* @param high
* @return index \in [low,high] s.t. data[index] = key, or -1 if not found
*/
public static int binarySearch(int[] data, int key, int low, int high) throws IllegalArgumentException {

View File

@ -38,7 +38,10 @@ public final class MutableSparseLongSet extends SparseLongSet implements Mutable
private final static int INITIAL_NONEMPTY_SIZE = 2;
public static MutableSparseLongSet make(LongSet set) {
public static MutableSparseLongSet make(LongSet set) throws UnimplementedError {
if (!(set instanceof SparseLongSet)) {
Assertions.UNREACHABLE("implement me");
}
return new MutableSparseLongSet(set);
}