Searched defs:Box (Results 1 - 8 of 8) sorted by relevance

/openjdk7/langtools/test/tools/javac/generics/
H A DUncheckedCovariance.java35 static class Box<T> { } class in class:UncheckedCovariance
37 Box<Integer> f() { return null; }
40 Box f() { return null; }
H A DGenericMerge.java33 class Box<T> {} class
36 <T> Box<T> box(T t);
39 <T> Box<T> box(T t);
/openjdk7/langtools/test/tools/javac/generics/wildcards/pos/
H A DBoundsCollision.java35 static class Box<T extends Number> { class in class:StreinBug
36 void f(Box<T> bt) { }
40 Box<? super Number> b0 = null;
41 Box<Number> b1 = b0;
H A DRvalConversion.java40 class Box<T> { class
45 Box<? extends Integer> bi = null;
/openjdk7/langtools/test/tools/javac/generics/wildcards/
H A DT6450290.java33 static class Box<X extends Box<?,?>, T extends X> { class in class:T6450290
35 Box<X, T> same;
38 static class A extends Box<A,A> {}
39 static class B extends Box<B,B> {}
41 Box<?,?> b = new Box<Box<A,A>,Box<A,A>>();
42 b.value.same = new Box<
[all...]
/openjdk7/langtools/test/tools/javac/foreach/
H A DListOfListTest.java60 static class Box<T> { class in class:ListOfListTest
61 Box(T t) { this.t = t; } method in class:ListOfListTest.Box
67 Box<E> box = new Box<E>(E.c);
73 Box<Integer> boxi = new Box<Integer>(12);
/openjdk7/langtools/test/tools/javac/generics/inference/6215213/
H A DT6215213.java33 static class Box<T> {} class in class:T6215213
42 <T> Box<T> testBox(T t) { return null; }
52 Box<?> box = testBox(null);
/openjdk7/jdk/src/share/classes/javax/swing/
H A DBox.java39 * Box provides several class methods
41 * even non-Box containers.
44 * The <code>Box</code> class can create several kinds
48 * If all the components your <code>Box</code> contains
79 public class Box extends JComponent implements Accessible { class in inherits:JComponent,Accessible
82 * Creates a <code>Box</code> that displays its components
93 public Box(int axis) { method in class:Box
99 * Creates a <code>Box</code> that displays its components
100 * from left to right. If you want a <code>Box</code> that
102 * <code>Box</cod
[all...]

Completed in 23 milliseconds