Home
last modified time | relevance | path

Searched refs:MyIterable (Results 1 – 2 of 2) 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/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``,