New and improved lint removal.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4438 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-10-26 23:00:20 +00:00
parent 9437211e40
commit 35082bbaca
6 changed files with 22 additions and 1 deletions
@@ -31,11 +31,13 @@ import java.util.Random;
*
* @deprecated moved to {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public class RandomUtil
{
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getInt (int high)
{
return com.samskivert.util.RandomUtil.getInt(high);
@@ -44,6 +46,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getInt (int high, int low)
{
return com.samskivert.util.RandomUtil.getInt(high, low);
@@ -52,6 +55,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static float getFloat (float high)
{
return com.samskivert.util.RandomUtil.getFloat(high);
@@ -60,6 +64,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getWeightedIndex (int[] weights)
{
return com.samskivert.util.RandomUtil.getWeightedIndex(weights);
@@ -68,6 +73,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static int getWeightedIndex (float[] weights)
{
return com.samskivert.util.RandomUtil.getWeightedIndex(weights);
@@ -76,6 +82,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (T[] values)
{
return com.samskivert.util.RandomUtil.pickRandom(values);
@@ -84,6 +91,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (T[] values, T skip)
{
return com.samskivert.util.RandomUtil.pickRandom(values, skip);
@@ -92,6 +100,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (Collection<T> values)
{
return com.samskivert.util.RandomUtil.pickRandom(values);
@@ -100,6 +109,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (List<T> values)
{
return com.samskivert.util.RandomUtil.pickRandom(values);
@@ -108,6 +118,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (List<T> values, T skip)
{
return com.samskivert.util.RandomUtil.pickRandom(values, skip);
@@ -116,6 +127,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (List<T> values, T skip, Random r)
{
return com.samskivert.util.RandomUtil.pickRandom(values, skip, r);
@@ -124,6 +136,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (Iterator<T> iter, int count)
{
return com.samskivert.util.RandomUtil.pickRandom(iter, count);
@@ -132,6 +145,7 @@ public class RandomUtil
/**
* @deprecated use {@link com.samskivert.util.RandomUtil}.
*/
@Deprecated
public static <T> T pickRandom (Iterator<T> iter, int count, T skip)
{
return com.samskivert.util.RandomUtil.pickRandom(iter, count, skip);