File: A_testAll60_out.java

package info (click to toggle)
eclipse-jdt-ui 4.29-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 93,280 kB
  • sloc: java: 831,977; xml: 14,578; jsp: 33; makefile: 5
file content (46 lines) | stat: -rw-r--r-- 1,175 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
package p;

import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.List;

class A {
	/**
	 * @param tho {@link #getList}
	 * @param tho
	 * @param l TODO
	 * @param to 1st param of {@link A#getList(long, List, int) me}
	 * @param to 2nd
	 * @version throwaway
	 * @throws Exception TODO
	 * @see #getList(long, List, int)
	 * @see #getList(long tho, List l, int to)
	 * @return the list
	 */
	public List getList(long tho, List l, int to) throws Exception {
		//change to: java.util.List getList(long tho, List l, int to) throws Exception
		// (swap parameters, insert new in between, change return type, change Ex.)
		return new ArrayList((int)tho-to);
	}
}

interface I {
	public List getList(long tho, List l, int to) throws Exception;
}

interface J {
	/** Doc: @param t t 
	 * @param l TODO
	 * @throws Exception TODO*/
	public List getList(long t, List l, int f) throws FileNotFoundException, Exception;
}

class B extends A implements I, J {
	/**
	 * @return {@inheritDoc} 
	 * @see p.A#getList(long, List, int)
	 */
	public List getList(long tho, List l, int to) throws FileNotFoundException, Exception {
		return new ArrayList() {};
	}
}