代码搜索:println
找到约 10,000 项符合「println」的源代码
代码结果 10,000
www.eeworm.com/read/373369/9460159
java interfaceextractorprocessor.java
//: annotations/InterfaceExtractorProcessor.java
// APT-based annotation processing.
// {Exec: apt -factory
// annotations.InterfaceExtractorProcessorFactory
// Multiplier.java -s ../annotations}
www.eeworm.com/read/373369/9460164
java testable.java
//: annotations/Testable.java
package annotations;
import net.mindview.atunit.*;
public class Testable {
public void execute() {
System.out.println("Executing..");
}
@Test void test
www.eeworm.com/read/373369/9460212
java whiletest.java
//: control/WhileTest.java
// Demonstrates the while loop.
public class WhileTest {
static boolean condition() {
boolean result = Math.random() < 0.99;
System.out.print(result + ", ")
www.eeworm.com/read/373369/9460224
java commaoperator.java
//: control/CommaOperator.java
public class CommaOperator {
public static void main(String[] args) {
for(int i = 1, j = i + 10; i < 5; i++, j = i * 2) {
System.out.println("i = " + i
www.eeworm.com/read/177296/9460225
java table.java
/**
* 符号类型,为避免和Java的关键字Object冲突,我们改成Objekt
*/
enum Objekt {
constant, variable, procedure
}
/**
* 这个类封装了PL/0编译器的符号表,C语言版本中关键的全局变量tx和table[]就在这里。
*/
public class Table {
/**
* 即C
www.eeworm.com/read/177296/9460229
java err.java
/**
* 这个类只是包含了报错函数以及错误计数器。
*/
public class Err {
/**
* 错误计数器,编译过程中一共有多少个错误
*/
public static int err = 0;
/**
* 报错函数
* @param errcode 错误码
*/
public static void report(in
www.eeworm.com/read/177296/9460233
java interpreter.java
/**
* 类P-Code指令类型
*/
enum Fct {
LIT, OPR, LOD, STO, CAL, INT, JMP, JPC,LDA,STA //后两个是数组操作
}
/**
* 这个类对应C语言版本中的 fct 枚举类型和 instruction 结构,代表虚拟机指令
*/
class Instruction {
/**
* 虚拟机代
www.eeworm.com/read/373369/9460242
java meal.java
//: enumerated/menu/Meal.java
package enumerated.menu;
public class Meal {
public static void main(String[] args) {
for(int i = 0; i < 5; i++) {
for(Course course : Course.values())
www.eeworm.com/read/373369/9460287
java burrito.java
//: enumerated/Burrito.java
package enumerated;
import static enumerated.Spiciness.*;
public class Burrito {
Spiciness degree;
public Burrito(Spiciness degree) { this.degree = degree;}
p
www.eeworm.com/read/373369/9460305
java nonenum.java
//: enumerated/NonEnum.java
public class NonEnum {
public static void main(String[] args) {
Class intClass = Integer.class;
try {
for(Object en : intClass.getEnumConsta