Searched defs:delegate (Results 26 - 50 of 1356) sorted by last modified time

1234567891011>>

/external/mockito/src/org/mockito/internal/stubbing/defaultanswers/
H A DReturnsMocks.java18 private Answer<Object> delegate = new ReturnsMoreEmptyValues(); field in class:ReturnsMocks
21 Object ret = delegate.answer(invocation);
H A DReturnsMoreEmptyValues.java51 private Answer<Object> delegate = new ReturnsEmptyValues(); field in class:ReturnsMoreEmptyValues
57 Object ret = delegate.answer(invocation);
H A DReturnsSmartNulls.java40 private final Answer<Object> delegate = new ReturnsMoreEmptyValues(); field in class:ReturnsSmartNulls
43 Object defaultReturnValue = delegate.answer(invocation);
/external/mockito/src/org/mockito/internal/util/
H A DDefaultMockingDetails.java16 private MockUtil delegate; field in class:DefaultMockingDetails
18 public DefaultMockingDetails(Object toInspect, MockUtil delegate){ argument
20 this.delegate = delegate;
27 return delegate.isMock( toInspect );
35 return delegate.isSpy( toInspect );
/external/mockito/src/org/mockito/internal/verification/
H A DVerificationWithTimeoutImpl.java13 VerificationMode delegate; field in class:VerificationWithTimeoutImpl
17 public VerificationWithTimeoutImpl(int treshhold, int millis, VerificationMode delegate) { argument
20 this.delegate = delegate;
28 delegate.verify(data);
50 return delegate;
/external/mockito/src/org/mockito/verification/
H A DTimeout.java29 public Timeout(int millis, VerificationMode delegate) { argument
30 this(10, millis, delegate);
36 Timeout(int treshhold, int millis, VerificationMode delegate) { argument
37 this.impl = new VerificationWithTimeoutImpl(treshhold, millis, delegate);
/external/llvm/include/llvm/CodeGen/
H A DMachineRegisterInfo.h132 void resetDelegate(Delegate *delegate) { argument
133 // Ensure another delegate does not take over unless the current
134 // delegate first unattaches itself. If we ever need to multicast
136 assert(TheDelegate == delegate &&
137 "Only the current delegate can perform reset!");
141 void setDelegate(Delegate *delegate) { argument
142 assert(delegate && !TheDelegate &&
143 "Attempted to set delegate to null, or to change it without "
146 TheDelegate = delegate;
/external/jsilver/src/com/google/clearsilver/jsilver/data/
H A DDelegatedData.java31 private final Data delegate; field in class:DelegatedData
33 public DelegatedData(Data delegate) { argument
34 if (delegate == null) {
37 this.delegate = delegate;
51 return delegate;
174 * @return Iterator of children of delegate Data object that returns wrapped Data nodes.
H A DUnmodifiableData.java30 public UnmodifiableData(Data delegate) { argument
31 super(delegate);
/external/jmdns/src/javax/jmdns/
H A DJmmDNS.java36 * This interface defines a delegate to the EOClassDescriptionRegister class to enable subclassing.
41 * Allows the delegate the opportunity to construct and return a different JmmDNS.
58 * Assigns <code>delegate</code> as JmmDNS's class delegate. The class delegate is optional.
60 * @param delegate
61 * The object to set as JmmDNS's class delegate.
65 public static void setClassDelegate(ClassDelegate delegate) { argument
66 _databaseClassDelegate.set(delegate);
70 * Returns JmmDNS's class delegate
[all...]
H A DNetworkTopologyDiscovery.java12 * To create you own filtering class for Internet Addresses you will need to implement the class and the factory delegate. These must be called before any other call to JmDNS.
60 * This interface defines a delegate to the NetworkTopologyDiscovery.Factory class to enable subclassing.
65 * Allows the delegate the opportunity to construct and return a different NetworkTopologyDiscovery.
81 * Assigns <code>delegate</code> as NetworkTopologyDiscovery's class delegate. The class delegate is optional.
83 * @param delegate
84 * The object to set as NetworkTopologyDiscovery's class delegate.
88 public static void setClassDelegate(Factory.ClassDelegate delegate) { argument
89 _databaseClassDelegate.set(delegate);
[all...]
/external/jmdns/src/javax/jmdns/impl/
H A DDNSTaskStarter.java42 * This interface defines a delegate to the DNSTaskStarter class to enable subclassing.
47 * Allows the delegate the opportunity to construct and return a different DNSTaskStarter.
66 * Assigns <code>delegate</code> as DNSTaskStarter's class delegate. The class delegate is optional.
68 * @param delegate
69 * The object to set as DNSTaskStarter's class delegate.
73 public static void setClassDelegate(Factory.ClassDelegate delegate) { argument
74 _databaseClassDelegate.set(delegate);
78 * Returns DNSTaskStarter's class delegate
[all...]
H A DJmDNSImpl.java2217 public Delegate setDelegate(Delegate delegate) { argument
2219 this._delegate = delegate;
H A DServiceInfoImpl.java1310 * @return the delegate
1317 * @param delegate
1318 * the delegate to set
1320 void setDelegate(Delegate delegate) { argument
1321 this._delegate = delegate;
/external/javassist/src/main/javassist/scopedpool/
H A DScopedClassPoolRepositoryImpl.java176 public void insertDelegate(ScopedClassPoolRepository delegate) { argument
/external/jarjar/lib/
H A Dapache-ant-1.9.4.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/apache/ org/apache/tools/ org/apache/tools/ant/ ...
/external/javassist/src/main/javassist/
H A DCtNewMethod.java296 * Creates a method forwarding to a delegate in
298 * by <code>delegate</code> with all the parameters passed to the
299 * created method. If the delegate method returns a value,
301 * The delegate method must be declared in a super class.
312 * @param delegate the method that the created method forwards to.
316 public static CtMethod delegator(CtMethod delegate, CtClass declaring) argument
320 return delegator0(delegate, declaring);
327 private static CtMethod delegator0(CtMethod delegate, CtClass declaring) argument
330 MethodInfo deleInfo = delegate.getMethodInfo2();
343 boolean isStatic = Modifier.isStatic(delegate
[all...]
/external/icu/icu4c/source/i18n/
H A Dcoll.cpp688 CFactory(CollatorFactory* delegate, UErrorCode& status) argument
689 : LocaleKeyFactory(delegate->visible() ? VISIBLE : INVISIBLE)
690 , _delegate(delegate)
H A Dnumfmt.cpp879 NFFactory(NumberFormatFactory* delegate) argument
880 : LocaleKeyFactory(delegate->visible() ? VISIBLE : INVISIBLE)
881 , _delegate(delegate)
/external/guava/guava/src/com/google/common/base/
H A DSuppliers.java82 * <p>If {@code delegate} is an instance created by an earlier call to {@code
85 public static <T> Supplier<T> memoize(Supplier<T> delegate) { argument
86 return (delegate instanceof MemoizingSupplier)
87 ? delegate
88 : new MemoizingSupplier<T>(Preconditions.checkNotNull(delegate));
93 final Supplier<T> delegate; field in class:Suppliers.MemoizingSupplier
99 MemoizingSupplier(Supplier<T> delegate) { argument
100 this.delegate = delegate;
109 T t = delegate
140 memoizeWithExpiration( Supplier<T> delegate, long duration, TimeUnit unit) argument
147 final Supplier<T> delegate; field in class:Suppliers.ExpiringMemoizingSupplier
153 ExpiringMemoizingSupplier( Supplier<T> delegate, long duration, TimeUnit unit) argument
214 synchronizedSupplier(Supplier<T> delegate) argument
220 final Supplier<T> delegate; field in class:Suppliers.ThreadSafeSupplier
222 ThreadSafeSupplier(Supplier<T> delegate) argument
[all...]
/external/guava/guava/src/com/google/common/cache/
H A DForwardingCache.java45 protected abstract Cache<K, V> delegate(); method in class:ForwardingCache
53 return delegate().getIfPresent(key);
61 return delegate().get(key, valueLoader);
69 return delegate().getAllPresent(keys);
77 delegate().put(key, value);
82 delegate().invalidate(key);
90 delegate().invalidateAll(keys);
95 delegate().invalidateAll();
100 return delegate().size();
105 return delegate()
144 private final Cache<K, V> delegate; field in class:ForwardingCache.SimpleForwardingCache
146 SimpleForwardingCache(Cache<K, V> delegate) argument
151 protected final Cache<K, V> delegate() { method in class:ForwardingCache.SimpleForwardingCache
[all...]
H A DForwardingLoadingCache.java44 protected abstract LoadingCache<K, V> delegate(); method in class:ForwardingLoadingCache
48 return delegate().get(key);
53 return delegate().getUnchecked(key);
58 return delegate().getAll(keys);
63 return delegate().apply(key);
68 delegate().refresh(key);
80 private final LoadingCache<K, V> delegate; field in class:ForwardingLoadingCache.SimpleForwardingLoadingCache
82 protected SimpleForwardingLoadingCache(LoadingCache<K, V> delegate) { argument
83 this.delegate = Preconditions.checkNotNull(delegate);
87 protected final LoadingCache<K, V> delegate() { method in class:ForwardingLoadingCache.SimpleForwardingLoadingCache
[all...]
H A DLocalCache.java1049 * strong entries store the key reference directly while soft and weak entries delegate to their
4600 transient Cache<K, V> delegate; field in class:LocalCache.ManualSerializationProxy
4674 this.delegate = builder.build();
4678 return delegate;
4682 protected Cache<K, V> delegate() { method in class:LocalCache.ManualSerializationProxy
4683 return delegate;
/external/guava/guava/src/com/google/common/collect/
H A DAbstractBiMap.java51 private transient Map<K, V> delegate; field in class:AbstractBiMap
61 delegate = backward;
65 @Override protected Map<K, V> delegate() { method in class:AbstractBiMap
66 return delegate;
70 * Specifies the delegate maps going in each direction. Called by the
74 checkState(delegate == null);
79 delegate = forward;
114 V oldValue = delegate.put(key, value);
124 inverse.delegate.put(newValue, key);
132 V oldValue = delegate
169 @Override protected Set<K> delegate() { method in class:AbstractBiMap.KeySet
232 @Override protected Set<V> delegate() { method in class:AbstractBiMap.ValueSet
279 @Override protected Set<Entry<K, V>> delegate() { method in class:AbstractBiMap.EntrySet
[all...]
H A DAbstractMapBasedMultiset.java329 private final Set<E> delegate; field in class:AbstractMapBasedMultiset.MapBasedElementSet
333 delegate = map.keySet();
336 @Override protected Set<E> delegate() { method in class:AbstractMapBasedMultiset.MapBasedElementSet
337 return delegate;

Completed in 2655 milliseconds

1234567891011>>