代码搜索:boolean
找到约 10,000 项符合「boolean」的源代码
代码结果 10,000
www.eeworm.com/read/138595/13229923
txt 转载:java的文件对象操作.txt
作者:lovefan
email: lovefan@cmmail.com
日期:2001-7-6 11:02:54
java文 件对象操作
在 我 们 进 行 文 件 操 作 时, 需 要 知 道 一些关 于 文 件 的信 息。File类 提供了 一些 成 员 函 数 来 操 纵 文 件 和 获得 一些文 件 的 信 息。
1、创
www.eeworm.com/read/240213/13230413
java listing 3-3.java
public class BasicMIDletShell extends MIDlet
{
public void startApp()
{
}
public void pauseApp()
{
}
public void destroyApp( boolean unconditional)
{
}
}
www.eeworm.com/read/325023/13230611
java constraints.java
//: annotations/database/Constraints.java
package annotations.database;
import java.lang.annotation.*;
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Constrain
www.eeworm.com/read/325023/13230650
java atunitexample1.java
//: annotations/AtUnitExample1.java
package annotations;
import net.mindview.atunit.*;
import net.mindview.util.*;
public class AtUnitExample1 {
public String methodOne() {
return "This
www.eeworm.com/read/325023/13230657
java atunitexternaltest.java
//: annotations/AtUnitExternalTest.java
// Creating non-embedded tests.
package annotations;
import net.mindview.atunit.*;
import net.mindview.util.*;
public class AtUnitExternalTest extends At
www.eeworm.com/read/325023/13230667
java passwordutils.java
//: annotations/PasswordUtils.java
import java.util.*;
public class PasswordUtils {
@UseCase(id = 47, description =
"Passwords must contain at least one numeric")
public boolean validateP
www.eeworm.com/read/325023/13230683
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/325023/13230722
java frog.java
//: frogbean/Frog.java
// A trivial JavaBean.
package frogbean;
import java.awt.*;
import java.awt.event.*;
class Spots {}
public class Frog {
private int jumps;
private Color color;
www.eeworm.com/read/325023/13230989
java allops.java
//: operators/AllOps.java
// Tests all the operators on all the primitive data types
// to show which ones are accepted by the Java compiler.
public class AllOps {
// To accept the results of
www.eeworm.com/read/325023/13231717
java intgenerator.java
//: concurrency/IntGenerator.java
public abstract class IntGenerator {
private volatile boolean canceled = false;
public abstract int next();
// Allow this to be canceled:
public void c