File: A_testAll60_in.java

package info (click to toggle)
eclipse-jdt-ui 4.10-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 82,480 kB
  • sloc: java: 694,753; xml: 12,788; jsp: 33; makefile: 5
file content (44 lines) | stat: -rw-r--r-- 1,106 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
package p;

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

class A {
	/**
	 * @param to {@link #getList}
	 * @version throwaway
	 * @param from 1st param of {@link A#getList(int, long) me}
	 * @see #getList(int, long)
	 * @param from 2nd
	 * @see #getList(int from, long tho)
	 * @param to
	 * @throws java.io.IOException
	 * @return the list
	 * @throws IOException
	 */
	public ArrayList getList(int from, long to) throws IOException {
		//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)to-from);
	}
}

interface I {
	public ArrayList getList(int from, long to) throws java.io.IOException;
}

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

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