javadocs updates
removing unused import statements and variables

X-SVN-Rev: 10349
This commit is contained in:
Syn Wee Quek 2002-11-22 22:45:19 +00:00
parent 43148de5a5
commit 0c0c1c0416
5 changed files with 27 additions and 30 deletions

View file

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/Collator.java,v $
* $Date: 2002/11/21 23:47:42 $
* $Revision: 1.15 $
* $Date: 2002/11/22 22:45:19 $
* $Revision: 1.16 $
*
*******************************************************************************
*/
@ -305,7 +305,7 @@ public abstract class Collator implements Comparator, Cloneable
* is created successfully. Otherwise if there is no Collator
* associated with the current locale, the default UCA collator
* will be returned.
* @see java.util.Locale#getDefault
* @see java.util.Locale#getDefault()
* @see #getInstance(Locale)
* @draft 2.2
*/

View file

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/NumberFormat.java,v $
* $Date: 2002/11/16 00:59:32 $
* $Revision: 1.18 $
* $Date: 2002/11/22 22:45:19 $
* $Revision: 1.19 $
*
*****************************************************************************************
*/
@ -22,20 +22,16 @@ import java.text.Format;
import java.text.ParseException;
import java.text.ParsePosition;
import java.util.Collections;
import java.util.HashSet;
import java.util.Hashtable;
import java.util.Locale;
import java.util.Map;
import java.util.ResourceBundle;
import java.util.Set;
import com.ibm.icu.impl.ICULocaleData;
import com.ibm.icu.impl.ICUService;
import com.ibm.icu.impl.ICUService.Key;
import com.ibm.icu.impl.ICUService.Factory;
import com.ibm.icu.impl.ICULocaleService;
import com.ibm.icu.impl.ICULocaleService.ICUResourceBundleFactory;
import com.ibm.icu.impl.ICULocaleService.LocaleKey;
import com.ibm.icu.impl.ICULocaleService.LocaleKeyFactory;
import com.ibm.icu.impl.LocaleUtility;
@ -163,7 +159,7 @@ import com.ibm.icu.impl.LocaleUtility;
*
* see DecimalFormat
* see java.text.ChoiceFormat
* @version $Revision: 1.18 $
* @version $Revision: 1.19 $
* @author Mark Davis
* @author Helena Shih
* @author Alan Liu
@ -223,7 +219,7 @@ public abstract class NumberFormat extends Format{
/**
* Specialization of format.
* @see java.text.Format#format
* @see java.text.Format#format(Object)
*/
public final String format (double number) {
return format(number,new StringBuffer(),
@ -232,7 +228,7 @@ public abstract class NumberFormat extends Format{
/**
* Specialization of format.
* @see java.text.Format#format
* @see java.text.Format#format(Object)
*/
public final String format (long number) {
return format(number,new StringBuffer(),
@ -268,7 +264,7 @@ public abstract class NumberFormat extends Format{
/**
* Specialization of format.
* @see java.text.Format#format
* @see java.text.Format#format(Object, StringBuffer, FieldPosition)
*/
public abstract StringBuffer format(double number,
StringBuffer toAppendTo,
@ -276,7 +272,7 @@ public abstract class NumberFormat extends Format{
/**
* Specialization of format.
* @see java.text.Format#format
* @see java.text.Format#format(Object, StringBuffer, FieldPosition)
*/
public abstract StringBuffer format(long number,
StringBuffer toAppendTo,
@ -285,6 +281,7 @@ public abstract class NumberFormat extends Format{
/**
* <strong><font face=helvetica color=red>NEW</font></strong>
* Format a BigInteger.
* @see java.text.Format#format(Object, StringBuffer, FieldPosition)
*/
public abstract StringBuffer format(BigInteger number,
StringBuffer toAppendTo,
@ -293,6 +290,7 @@ public abstract class NumberFormat extends Format{
/**
* <strong><font face=helvetica color=red>NEW</font></strong>
* Format a BigDecimal.
* @see java.text.Format#format(Object, StringBuffer, FieldPosition)
*/
public abstract StringBuffer format(java.math.BigDecimal number,
StringBuffer toAppendTo,
@ -301,6 +299,7 @@ public abstract class NumberFormat extends Format{
/**
* <strong><font face=helvetica color=red>NEW</font></strong>
* Format a BigDecimal.
* @see java.text.Format#format(Object, StringBuffer, FieldPosition)
*/
public abstract StringBuffer format(com.ibm.icu.math.BigDecimal number,
StringBuffer toAppendTo,
@ -315,7 +314,7 @@ public abstract class NumberFormat extends Format{
* Does not throw an exception; if no object can be parsed, index is
* unchanged!
* @see #isParseIntegerOnly
* @see java.text.Format#parseObject
* @see java.text.Format#parseObject(String, ParsePosition)
*/
public abstract Number parse(String text, ParsePosition parsePosition);

View file

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/SimpleDateFormat.java,v $
* $Date: 2002/08/22 21:55:29 $
* $Revision: 1.14 $
* $Date: 2002/11/22 22:45:19 $
* $Revision: 1.15 $
*
*****************************************************************************************
*/
@ -15,7 +15,6 @@ package com.ibm.icu.text;
import com.ibm.icu.impl.ICULocaleData;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.util.GregorianCalendar;
import com.ibm.icu.util.SimpleTimeZone;
import com.ibm.icu.util.TimeZone;
import com.ibm.icu.lang.UCharacter;
@ -149,7 +148,8 @@ import java.util.ResourceBundle;
* "01/11/12" would be interpreted as Jan 11, 2012 while the string "05/04/64"
* would be interpreted as May 4, 1964.
* During parsing, only strings consisting of exactly two digits, as defined by
* {@link Character#isDigit(char)}, will be parsed into the default century.
* {@link java.lang.Character#isDigit(char)}, will be parsed into the default
* century.
* Any other numeric string, such as a one digit string, a three or more digit
* string, or a two digit string that isn't all digits (for example, "-1"), is
* interpreted literally. So "01/02/3" or "01/02/003" are parsed, using the

View file

@ -5,8 +5,8 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/text/UnicodeSet.java,v $
* $Date: 2002/11/15 01:58:29 $
* $Revision: 1.77 $
* $Date: 2002/11/22 22:45:19 $
* $Revision: 1.78 $
*
*****************************************************************************************
*/
@ -250,7 +250,7 @@ import java.util.Iterator;
* </blockquote>
*
* @author Alan Liu
* @version $RCSfile: UnicodeSet.java,v $ $Revision: 1.77 $ $Date: 2002/11/15 01:58:29 $
* @version $RCSfile: UnicodeSet.java,v $ $Revision: 1.78 $ $Date: 2002/11/22 22:45:19 $
*/
public class UnicodeSet extends UnicodeFilter {
@ -492,9 +492,8 @@ public class UnicodeSet extends UnicodeFilter {
* string to the given <code>StringBuffer</code>.
*/
private static void _appendToPat(StringBuffer buf, String s, boolean useHexEscape) {
int cp;
for (int i = 0; i < s.length(); i += UTF16.getCharCount(i)) {
_appendToPat(buf, cp = UTF16.charAt(s, i), useHexEscape);
_appendToPat(buf, UTF16.charAt(s, i), useHexEscape);
}
}
@ -1815,7 +1814,7 @@ public class UnicodeSet extends UnicodeFilter {
* Returns the hash code value for this set.
*
* @return the hash code value for this set.
* @see Object#hashCode()
* @see java.lang.Object#hashCode()
*/
public int hashCode() {
int result = len;

View file

@ -5,15 +5,14 @@
*******************************************************************************
*
* $Source: /xsrl/Nsvn/icu/icu4j/src/com/ibm/icu/util/Attic/CalendarAstronomer.java,v $
* $Date: 2002/02/16 03:06:25 $
* $Revision: 1.6 $
* $Date: 2002/11/22 22:45:19 $
* $Revision: 1.7 $
*
*****************************************************************************************
*/
package com.ibm.icu.util;
import java.util.*;
import java.text.*;
/**
* <code>CalendarAstronomer</code> is a class that can perform the calculations to
@ -177,7 +176,7 @@ public class CalendarAstronomer {
* the specified time. The time is expressed as a number of milliseconds since
* January 1, 1970 AD (Gregorian).
*
* @see java.util.Date#getTime
* @see java.util.Date#getTime()
*/
public CalendarAstronomer(long aTime) {
time = aTime;
@ -194,7 +193,7 @@ public class CalendarAstronomer {
* @param latitude The desired latitude, in <em>degrees</em>. Positive
* values signify North, negative South.
*
* @see java.util.Date#getTime
* @see java.util.Date#getTime()
*/
public CalendarAstronomer(double longitude, double latitude) {
this();