Home
last modified time | relevance | path

Searched refs:MyIterable (Results 1 – 5 of 5) sorted by relevance

/external/mockito/src/test/java/org/mockitousage/bugs/
DInheritedGenericsPolimorphicCallTest.java27 protected interface MyIterable<T> extends Iterable<T> { interface in InheritedGenericsPolimorphicCallTest
36 MyIterable<String> iterable = Mockito.mock(MyIterable.class);
63 iterable = (MyIterable<String>) Proxy.newProxyInstance( in shouldWorkExactlyAsJavaProxyWould()
65 new Class<?>[] { MyIterable.class }, in shouldWorkExactlyAsJavaProxyWould()
/external/cldr/tools/java/org/unicode/cldr/util/
DDelegatingIterator.java44 return new MyIterable<T>(s); in iterable()
52 private static class MyIterable<T> implements Iterable<T> { class in DelegatingIterator
56 public MyIterable(Iterable<T>... s) { in MyIterable() method in DelegatingIterator.MyIterable
/external/python/cpython2/Doc/library/
Dabc.rst92 class MyIterable:
105 if cls is MyIterable:
110 MyIterable.register(Foo)
112 The ABC ``MyIterable`` defines the standard iterable method,
115 is also part of the ``MyIterable`` abstract base class, but it does not have
121 via the :attr:`~class.__mro__` list) is considered a ``MyIterable`` too.
123 Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``,
/external/python/cpython3/Doc/library/
Dabc.rst124 class MyIterable(ABC):
136 if cls is MyIterable:
141 MyIterable.register(Foo)
143 The ABC ``MyIterable`` defines the standard iterable method,
146 is also part of the ``MyIterable`` abstract base class, but it does not have
152 via the :attr:`~class.__mro__` list) is considered a ``MyIterable`` too.
154 Finally, the last line makes ``Foo`` a virtual subclass of ``MyIterable``,
Dtyping.rst287 :data:`Any` for each position. In the following example, ``MyIterable`` is
292 class MyIterable(Iterable): # Same as Iterable[Any]