Javadoc: Remove redundant "java.lang" prefix
This commit is contained in:
parent
40fc3496bd
commit
4c2224dd1b
|
@ -36,7 +36,7 @@ import org.apache.commons.lang3.stream.LangCollectors;
|
|||
import org.apache.commons.lang3.stream.Streams;
|
||||
|
||||
/**
|
||||
* Operations on {@link java.lang.String} that are
|
||||
* Operations on {@link String} that are
|
||||
* {@code null} safe.
|
||||
*
|
||||
* <ul>
|
||||
|
|
|
@ -27,7 +27,7 @@ import org.apache.commons.lang3.ArrayUtils;
|
|||
import org.apache.commons.lang3.ObjectUtils;
|
||||
|
||||
/**
|
||||
* Assists in implementing {@link java.lang.Comparable#compareTo(Object)} methods.
|
||||
* Assists in implementing {@link Comparable#compareTo(Object)} methods.
|
||||
*
|
||||
* <p>It is consistent with {@code equals(Object)} and
|
||||
* {@code hashCode()} built with {@link EqualsBuilder} and
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
* Assists in creating consistent {@code equals(Object)}, {@code toString()}, {@code hashCode()}, and {@code compareTo(Object)} methods.
|
||||
* These classes are not thread-safe.
|
||||
*
|
||||
* <p>When you write a {@link java.lang.Object#hashCode() hashCode()}, do you check Bloch's Effective Java? No?
|
||||
* <p>When you write a {@link Object#hashCode() hashCode()}, do you check Bloch's Effective Java? No?
|
||||
* You just hack in a quick number?
|
||||
* Well {@link org.apache.commons.lang3.builder.HashCodeBuilder} will save your day.
|
||||
* It, and its buddies ({@link org.apache.commons.lang3.builder.EqualsBuilder}, {@link org.apache.commons.lang3.builder.CompareToBuilder}, {@link org.apache.commons.lang3.builder.ToStringBuilder}), take care of the nasty bits while you focus on the important bits, like which fields will go into making up the hash code.</p>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
* Provides classes to work with the {@link java.lang.Comparable} and {@link java.util.Comparator} interfaces.
|
||||
* Provides classes to work with the {@link Comparable} and {@link java.util.Comparator} interfaces.
|
||||
*
|
||||
* @since 3.10
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
*
|
||||
* <p>
|
||||
* Contains failable functional interfaces that address the fact that lambdas are supposed not to throw Exceptions, at
|
||||
* least not checked Exceptions, A.K.A. instances of {@link java.lang.Exception}. A failable functional interface
|
||||
* least not checked Exceptions, A.K.A. instances of {@link Exception}. A failable functional interface
|
||||
* declares a type of Exception that may be raised if the function fails.
|
||||
* </p>
|
||||
*
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
* These include classes to a {@link org.apache.commons.lang3.math.Fraction} class, various utilities for random numbers, and the flagship class, {@link org.apache.commons.lang3.math.NumberUtils} which contains a handful of classic number functions.</p>
|
||||
*
|
||||
* <p>There are two aspects of this package that should be highlighted.
|
||||
* The first is {@link org.apache.commons.lang3.math.NumberUtils#createNumber(String)}, a method which does its best to convert a String into a {@link java.lang.Number} object.
|
||||
* The first is {@link org.apache.commons.lang3.math.NumberUtils#createNumber(String)}, a method which does its best to convert a String into a {@link Number} object.
|
||||
* You have no idea what type of Number it will return, so you should call the relevant {@code xxxValue} method when you reach the point of needing a number.
|
||||
* NumberUtils also has a related {@link org.apache.commons.lang3.math.NumberUtils#isCreatable(String)} method.</p>
|
||||
*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
* <h2>String manipulation - StringUtils, StringEscapeUtils, RandomStringUtils</h2>
|
||||
*
|
||||
* <p>Lang has a series of String utilities.
|
||||
* The first is {@link org.apache.commons.lang3.StringUtils}, oodles and oodles of functions which tweak, transform, squeeze and cuddle {@link java.lang.String java.lang.Strings}.
|
||||
* The first is {@link org.apache.commons.lang3.StringUtils}, oodles and oodles of functions which tweak, transform, squeeze and cuddle {@link String java.lang.Strings}.
|
||||
* In addition to StringUtils, there are a series of other String manipulating classes; {@link org.apache.commons.lang3.RandomStringUtils} and {@link org.apache.commons.lang3.StringEscapeUtils StringEscapeUtils}.
|
||||
* RandomStringUtils speaks for itself.
|
||||
* It's provides ways in which to generate pieces of text, such as might be used for default passwords.
|
||||
|
@ -72,7 +72,7 @@
|
|||
*
|
||||
* <h3>Assorted functions - ObjectUtils, ClassUtils, ArrayUtils, BooleanUtils</h3>
|
||||
*
|
||||
* <p>Would you believe it, {@link org.apache.commons.lang3.ObjectUtils} contains handy functions for Objects, mainly null-safe implementations of the methods on {@link java.lang.Object}.</p>
|
||||
* <p>Would you believe it, {@link org.apache.commons.lang3.ObjectUtils} contains handy functions for Objects, mainly null-safe implementations of the methods on {@link Object}.</p>
|
||||
*
|
||||
* <p>{@link org.apache.commons.lang3.ClassUtils} is largely a set of helper methods for reflection.
|
||||
* Of special note are the comparators hidden away in ClassUtils, useful for sorting Class and Package objects by name; however they merely sort alphabetically and don't understand the common habit of sorting {@code java} and {@code javax} first.</p>
|
||||
|
|
|
@ -946,7 +946,7 @@ public class TypeUtils {
|
|||
* {@link java.util.Hashtable Hashtable} are also both {@link Object}.
|
||||
* In cases where the interface specified by {@code toClass} is
|
||||
* (indirectly) implemented more than once (e.g. where {@code toClass}
|
||||
* specifies the interface {@link java.lang.Iterable Iterable} and
|
||||
* specifies the interface {@link Iterable Iterable} and
|
||||
* {@code type} specifies a parameterized type that implements both
|
||||
* {@link java.util.Set Set} and {@link java.util.Collection Collection}),
|
||||
* this method will look at the inheritance hierarchy of only one of the
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
* intended to be instantiated (i.e. they are not utility classes with lots of static methods).
|
||||
*
|
||||
* <p>
|
||||
* Amongst other classes, the text package provides a replacement for {@link java.lang.StringBuffer} named {@link org.apache.commons.lang3.text.StrBuilder}, a
|
||||
* Amongst other classes, the text package provides a replacement for {@link StringBuffer} named {@link org.apache.commons.lang3.text.StrBuilder}, a
|
||||
* class for substituting variables within a String named {@link org.apache.commons.lang3.text.StrSubstitutor} and a replacement for
|
||||
* {@link java.util.StringTokenizer} named {@link org.apache.commons.lang3.text.StrTokenizer}. While somewhat ungainly, the {@code Str} prefix has been used to
|
||||
* ensure we don't clash with any current or future standard Java classes.
|
||||
|
|
Loading…
Reference in New Issue