代码搜索:boolean
找到约 10,000 项符合「boolean」的源代码
代码结果 10,000
www.eeworm.com/read/195670/8136236
java inthashset.java
import java.util.HashSet;
public class IntHashSet extends HashSet implements IntSet{
public boolean add(int a){
return add(new Integer(a)); //调用HashSet类的add(Object o)方法
}
public boole
www.eeworm.com/read/195670/8136241
java intset.java
public interface IntSet{
public boolean add(int a);
public boolean remove(int a);
}
/****************************************************
* 作者:孙卫琴 *
www.eeworm.com/read/195670/8136245
java intset.java
package usecooper;
import java.util.Set;
public class IntSet {
private Set set;
public IntSet(Set set){
this.set=set;
}
public boolean add(int a){
return s
www.eeworm.com/read/195670/8136248
java inttreeset.java
import java.util.TreeSet;
public class IntTreeSet extends TreeSet implements IntSet{
public boolean add(int a){
return add(new Integer(a)); //调用TreeSet类的add(Object o)方法
}
public boole
www.eeworm.com/read/146272/12661194
java activearr.java
//活动安排问题
public class Activearr
{
public static int greedselector(int [] s,int [] f,boolean [] a)
{
int n = s.length - 1;
a [0] = true;
int j = 1;
int count = 1;
for (int i
www.eeworm.com/read/146173/12666204
h c1.h
// c1.h (程序名)
#include
#include
#include // malloc()等
#include // INT_MAX等
#include // EOF(=^Z或F6),NULL
#include // atoi()
#inc
www.eeworm.com/read/247267/12669674
h options.h
/*
* $Id: options.h,v 1.10 2003/07/21 01:09:08 darren Exp $
*
* Copyright (c) 1998-2003, Darren Hiebert
*
* This source code is released for free distribution under the terms of the
* GNU Gene
www.eeworm.com/read/247267/12669697
h parse.h
/*
* $Id: parse.h,v 1.13 2003/07/11 01:21:54 darren Exp $
*
* Copyright (c) 1998-2003, Darren Hiebert
*
* This source code is released for free distribution under the terms of the
* GNU Genera
www.eeworm.com/read/247267/12669840
c asm.c
/*
* $Id: asm.c,v 1.17 2003/07/17 03:08:23 darren Exp $
*
* Copyright (c) 2000-2003, Darren Hiebert
*
* This source code is released for free distribution under the terms of the
* GNU General
www.eeworm.com/read/247267/12669859
c strlist.c
/*
* $Id: strlist.c,v 1.4 2002/02/17 06:04:32 darren Exp $
*
* Copyright (c) 1999-2002, Darren Hiebert
*
* This source code is released for free distribution under the terms of the
* GNU Gener