Searched refs:delegate (Results 1 - 25 of 137) sorted by relevance

123456

/openjdk10/jdk/src/java.base/share/classes/jdk/internal/reflect/
H A DDelegatingConstructorAccessorImpl.java31 change its delegate at run time. */
34 private ConstructorAccessorImpl delegate; field in class:DelegatingConstructorAccessorImpl
36 DelegatingConstructorAccessorImpl(ConstructorAccessorImpl delegate) { argument
37 setDelegate(delegate);
45 return delegate.newInstance(args);
48 void setDelegate(ConstructorAccessorImpl delegate) { argument
49 this.delegate = delegate;
H A DDelegatingMethodAccessorImpl.java31 change its delegate at run time. */
34 private MethodAccessorImpl delegate; field in class:DelegatingMethodAccessorImpl
36 DelegatingMethodAccessorImpl(MethodAccessorImpl delegate) { argument
37 setDelegate(delegate);
43 return delegate.invoke(obj, args);
46 void setDelegate(MethodAccessorImpl delegate) { argument
47 this.delegate = delegate;
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/
H A DDelegatingDefaultFocusManager.java42 private final KeyboardFocusManager delegate; field in class:DelegatingDefaultFocusManager
44 DelegatingDefaultFocusManager(KeyboardFocusManager delegate) { argument
45 this.delegate = delegate;
50 return delegate;
57 delegate.processKeyEvent(focusedComponent, e);
60 delegate.focusNextComponent(aComponent);
63 delegate.focusPreviousComponent(aComponent);
66 // Make sure that we delegate all new methods in KeyboardFocusManager
73 // the delegate
[all...]
H A DDefaultListModel.java59 private Vector<E> delegate = new Vector<E>(); field in class:DefaultListModel
73 return delegate.size();
91 return delegate.elementAt(index);
103 delegate.copyInto(anArray);
112 delegate.trimToSize();
124 delegate.ensureCapacity(minCapacity);
134 int oldSize = delegate.size();
135 delegate.setSize(newSize);
151 return delegate.capacity();
161 return delegate
[all...]
/openjdk10/jdk/src/java.base/share/classes/sun/net/www/protocol/https/
H A DHttpsURLConnectionImpl.java55 * wrong Java Type. Thus it uses the delegate (aka, the
59 * Since it would use a delegate to access
75 protected DelegateHttpsURLConnection delegate; field in class:HttpsURLConnectionImpl
87 delegate = new DelegateHttpsURLConnection(url, p, handler, this);
91 // subclass needs to overwrite this to set delegate to
104 delegate.setNewClient(url, false);
116 delegate.setNewClient(url, useCache);
130 delegate.setProxiedClient(url, proxyHost, proxyPort);
146 delegate.setProxiedClient(url, proxyHost, proxyPort, useCache);
154 delegate
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/plaf/
H A DIconUIResource.java40 * Icon "delegate" object specified at construction.
58 private Icon delegate; field in class:IconUIResource
63 * @param delegate the icon being wrapped
65 public IconUIResource(Icon delegate) { argument
66 if (delegate == null) {
67 throw new IllegalArgumentException("null delegate icon argument");
69 this.delegate = delegate;
73 delegate.paintIcon(c, g, x, y);
77 return delegate
[all...]
/openjdk10/jdk/src/java.base/share/classes/com/sun/net/ssl/internal/www/protocol/https/
H A DHttpsURLConnectionOldImpl.java54 * wrong Java Type. Thus it uses the delegate (aka, the
58 * Since it would use a delegate to access
73 private DelegateHttpsURLConnection delegate; field in class:HttpsURLConnectionOldImpl
85 delegate = new DelegateHttpsURLConnection(url, p, handler, this);
95 delegate.setNewClient(url, false);
107 delegate.setNewClient(url, useCache);
121 delegate.setProxiedClient(url, proxyHost, proxyPort);
137 delegate.setProxiedClient(url, proxyHost, proxyPort, useCache);
145 delegate.connect();
150 * delegating the actual implementation to "delegate", w
[all...]
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/stream/
H A DStreamReaderDelegateTest.java63 StreamReaderDelegate delegate = null;
68 delegate = new StreamReaderDelegate(reader);
70 Assert.assertTrue(delegate.standaloneSet());
71 Assert.assertFalse(delegate.isStandalone());
72 while (delegate.hasNext()) {
73 delegate.next();
74 if (delegate.getEventType() == XMLStreamConstants.START_ELEMENT || delegate.getEventType() == XMLStreamConstants.ATTRIBUTE) {
75 if (delegate.getLocalName().equals("foo")) {
76 Assert.assertTrue(delegate
[all...]
H A DEventReaderDelegateTest.java60 EventReaderDelegate delegate = new EventReaderDelegate(reader);
61 while (delegate.hasNext()) {
62 XMLEvent event = (XMLEvent) delegate.next();
67 System.out.println(delegate.getElementText());
70 delegate.getElementText();
79 delegate.close();
98 EventReaderDelegate delegate = new EventReaderDelegate(reader);
99 delegate.remove();
120 EventReaderDelegate delegate = new EventReaderDelegate();
121 delegate
[all...]
/openjdk10/hotspot/test/compiler/types/correctness/hierarchies/
H A DNullableType.java29 public NullableType(TypeHierarchy<M, N> delegate) { argument
30 super(delegate.getM(), null,
31 delegate.getClassM(), delegate.getClassN());
/openjdk10/jdk/src/java.desktop/share/classes/sun/font/
H A DDelegatingShape.java41 Shape delegate; field in class:DelegatingShape
43 public DelegatingShape(Shape delegate) { argument
44 this.delegate = delegate;
48 return delegate.getBounds(); // assumes all delegates are immutable via the returned Rectangle
52 return delegate.getBounds2D(); // assumes all delegates are immutable via the returned Rectangle2D
56 return delegate.contains(x, y);
60 return delegate.contains(p);
64 return delegate.intersects(x, y, w, h);
68 return delegate
[all...]
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/message/
H A DFilterMessageImpl.java59 * contained Message delegate. Subclasses of <code>FilterMessageImpl</code>
66 private final Message delegate; field in class:FilterMessageImpl
68 protected FilterMessageImpl(Message delegate) { argument
69 this.delegate = delegate;
73 return delegate.hasHeaders();
77 return delegate.getHeaders();
81 return delegate.getAttachments();
85 return delegate.hasAttachments();
89 return delegate
[all...]
H A DMessageWrapper.java60 Message delegate; field in class:MessageWrapper
81 delegate = m;
88 return delegate.hashCode();
93 return delegate.equals(obj);
97 boolean isProtocolMessage() { return delegate.isProtocolMessage(); }
99 void setIsProtocolMessage() { delegate.setIsProtocolMessage(); }
103 return delegate.hasHeaders();
108 return delegate.getAttachments();
113 return "{MessageWrapper: " + delegate.toString() + "}";
118 return delegate
[all...]
/openjdk10/corba/src/java.corba/share/classes/org/omg/CORBA_2_3/portable/
H A DObjectImpl.java54 org.omg.CORBA.portable.Delegate delegate = _get_delegate();
55 if (delegate instanceof Delegate)
56 return ((Delegate) delegate).get_codebase(this);
/openjdk10/corba/src/java.corba/share/classes/com/sun/corba/se/impl/ior/
H A DFreezableList.java44 private List delegate = null ; field in class:FreezableList
57 return delegate.equals( other.delegate ) &&
63 return delegate.hashCode() ;
66 public FreezableList( List delegate, boolean immutable ) argument
68 this.delegate = delegate ;
72 public FreezableList( List delegate )
74 this( delegate, false ) ;
103 return delegate
[all...]
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/beans/finder/
H A DPersistenceDelegateFinder.java49 public void register(Class<?> type, PersistenceDelegate delegate) { argument
51 if (delegate != null) {
52 this.registry.put(type, delegate);
62 PersistenceDelegate delegate;
64 delegate = this.registry.get(type);
66 return (delegate != null) ? delegate : super.find(type);
/openjdk10/nashorn/test/script/basic/
H A DNASHORN-691.js37 var delegate = {
41 var x = new JSAdapter(delegate);
50 delegate.__get__ = func(44);
/openjdk10/langtools/src/jdk.jshell/share/classes/jdk/jshell/execution/
H A DMultiplexingOutputStream.java40 private final OutputStream delegate; field in class:MultiplexingOutputStream
42 MultiplexingOutputStream(String name, OutputStream delegate) { argument
45 this.delegate = delegate;
58 synchronized (delegate) {
67 delegate.write(data);
71 delegate.flush();
78 delegate.flush();
84 delegate.close();
/openjdk10/jdk/src/jdk.unsupported/share/classes/sun/reflect/
H A DReflectionFactory.java48 private static final jdk.internal.reflect.ReflectionFactory delegate = AccessController.doPrivileged( field in class:ReflectionFactory
98 return delegate.newConstructorForSerialization(cl,
112 return delegate.newConstructorForSerialization(cl);
124 return delegate.newConstructorForExternalization(cl);
139 return delegate.readObjectForSerialization(cl);
155 return delegate.readObjectNoDataForSerialization(cl);
170 return delegate.writeObjectForSerialization(cl);
184 return delegate.readResolveForSerialization(cl);
198 return delegate.writeReplaceForSerialization(cl);
209 return delegate
[all...]
/openjdk10/jdk/src/jdk.incubator.httpclient/share/classes/jdk/incubator/http/
H A DPlainTunnelingConnection.java47 final PlainHttpConnection delegate; field in class:PlainTunnelingConnection
53 return delegate.connectAsync()
77 delegate.connect();
81 Response r = connectExchange.responseImpl(delegate);
98 delegate = new PlainHttpConnection(proxy, client);
103 return delegate.channel();
113 return delegate.write(buffers, start, number);
118 return delegate.write(buffer);
123 delegate.writeAsync(buffers);
128 delegate
[all...]
/openjdk10/jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver/
H A DJmxMBeanServerBuilder.java55 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
56 * passing the <var>delegate</var> that should be used by the MBeanServer
58 * <p>Note that the passed <var>delegate</var> might not be directly the
76 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
77 * passing the <var>delegate</var> that should be used by the
79 * <p>Note that the passed <var>delegate</var> might not be directly the
82 * returned delegate.
101 * @param delegate A pointer to the MBeanServerDelegate associated
109 MBeanServerDelegate delegate) {
110 return JmxMBeanServer.newMBeanServer(defaultDomain,outer,delegate,
107 newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate) argument
[all...]
/openjdk10/jdk/src/java.management/share/classes/javax/management/
H A DMBeanServerBuilder.java55 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
56 * passing the <var>delegate</var> that should be used by the MBeanServer
58 * <p>Note that the passed <var>delegate</var> might not be directly the
76 * <code>newMBeanServer(defaultDomain,outer,delegate)</code>
77 * passing the <var>delegate</var> that should be used by the MBeanServer
79 * <p>Note that the passed <var>delegate</var> might not be directly the
82 * returned delegate.
98 * @param delegate A pointer to the MBeanServerDelegate associated
106 MBeanServerDelegate delegate) {
110 return JmxMBeanServer.newMBeanServer(defaultDomain,outer,delegate,
104 newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate) argument
[all...]
/openjdk10/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java39 private final FileSystem delegate; field in class:PassThroughFileSystem
41 PassThroughFileSystem(FileSystemProvider provider, FileSystem delegate) { argument
43 this.delegate = delegate;
62 return ((PassThroughPath)wrapper).delegate;
72 delegate.close();
77 return delegate.isOpen();
82 return delegate.isReadOnly();
87 return delegate.getSeparator();
92 final Iterable<Path> roots = delegate
157 private static volatile PassThroughFileSystem delegate; field in class:PassThroughFileSystem.PassThroughProvider
359 private final Path delegate; field in class:PassThroughFileSystem.PassThroughPath
361 PassThroughPath(FileSystem fs, Path delegate) argument
[all...]
/openjdk10/jdk/test/java/nio/file/spi/
H A DTestProvider.java88 Path delegate = theFileSystem.unwrap(file);
89 return defaultProvider.readAttributes(delegate, attributes, options);
98 Path delegate = theFileSystem.unwrap(file);
99 return defaultProvider.readAttributes(delegate, type, options);
107 Path delegate = theFileSystem.unwrap(file);
108 return defaultProvider.getFileAttributeView(delegate, type, options);
113 Path delegate = theFileSystem.unwrap(file);
114 defaultProvider.delete(delegate);
131 Path delegate = theFileSystem.unwrap(link);
132 Path target = defaultProvider.readSymbolicLink(delegate);
199 private final FileSystem delegate; field in class:TestProvider.TestFileSystem
202 TestFileSystem(FileSystem delegate, TestProvider provider) argument
283 private final Path delegate; field in class:TestProvider.TestPath
285 TestPath(TestFileSystem fs, Path delegate) argument
[all...]
/openjdk10/langtools/src/jdk.compiler/share/classes/com/sun/tools/sjavac/comp/
H A DPooledSjavac.java48 final Sjavac delegate; field in class:PooledSjavac
51 public PooledSjavac(Sjavac delegate, int poolsize) { argument
52 Objects.requireNonNull(delegate);
53 this.delegate = delegate;
63 return delegate.compile(args);
90 delegate.shutdown();

Completed in 306 milliseconds

123456