⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pycalliter.java

📁 无线通信的主要编程软件,是无线通信工作人员的必备工具,关天相关教程我会在后续传上.
💻 JAVA
字号:
package org.python.core;public class PyCallIter extends PyIterator {    private PyObject callable;    private PyObject sentinel;    private int idx;    public PyCallIter(PyObject callable, PyObject sentinel) {        this.callable = callable;        this.sentinel = sentinel;    }    public PyObject __iternext__() {        PyObject val = null;        try {            val = callable.__call__();        } catch (PyException exc) {            if (Py.matchException(exc, Py.StopIteration))                return null;            throw exc;        }        if (val._eq(sentinel).__nonzero__())            return null;        return val;    }    // __class__ boilerplate -- see PyObject for details    public static PyClass __class__;    protected PyClass getPyClass() { return __class__; }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -