|
What this is
Other links
The source code
package p;
import java.util.*;
class A {
/**
* @param really TODO
* @param f 1st param of {@link A#getList(boolean, int, char) me}
* @param t
* @see getList
* @see #getList(boolean, int, char)
* @see #getList(int from, tho long)
* @see #getList(boolean really, int f, char t)
* @return list
* @param bogus{@link #getList}
*/
public List getList(boolean really, int f, char t) {
return new ArrayList((int)t-f);
}
/** start here
* Doesn't call {@linkplain #getList(boolean, int, char)}
*
* @see getList
* @see #getList
* @see A#getList(boolean, int, char)
* @see A#getList(int, long, Object[][])
* @see A#getList (
* boolean really,int f, char t
* )
* @see #getList(..)
* @see p.A#getList(int, int, boolean)
* @see <a href="spec.html#section">Java Spec
* @see A# getList(boolean, int, char)
*/
public ArrayList getList(int from, long to, Object[] arr[]) {
return new ArrayList(Arrays.asList(arr).subList(from, (int)to));
}
}
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.