代码搜索:Random
找到约 10,000 项符合「Random」的源代码
代码结果 10,000
www.eeworm.com/read/112620/15481582
java bigbomb.java
import java.awt.*;
public class bigBomb{
private int xPos, yPos;
private int timeofbomb = 6;
public bigBomb(int a, int b){
xPos = a;
yPos = b;
}
public void draw(Graphics g){
www.eeworm.com/read/112620/15481587
java enemy3.java
import java.awt.*;
public class Enemy3{
// control varibles
private final int UP = 0;
private final int DOWN = 1;
private final int LEFT = 2;
private final int RIGHT = 3;
// Physical in
www.eeworm.com/read/112620/15481589
java smallbomb.java
import java.awt.*;
public class smallBomb{
private int xPos, yPos;
private int timeofbomb = 3;
public smallBomb(Point a){
xPos = a.x;
yPos = a.y;
}
public void draw(Graphics g){
www.eeworm.com/read/112603/15482137
java randomboolean.java
import java.util.*;
class RandomBoolean
{
public static void main(String[] args)
{
Random r = new Random();
System.out.println( r.nextBoolean() );
System.out.pri
www.eeworm.com/read/112603/15482138
java randomint.java
import java.util.*;
class RandomInt
{
public static void main(String[] args)
{
Random r = new Random();
System.out.println( r.nextInt() );
System.out.println( r.ne
www.eeworm.com/read/112466/15484814
makefile
# MAKE FILE for GSNAKE API
# Change the following line to reflect where your X11-include directory
X11Include = /usr/openwin/include
CC = g++ -I$(X11Include)
LIBSOURCE = ../lib
SOURCE
www.eeworm.com/read/112353/15489417
java qmsortal.java
/*
* QMSortAlgorithm.java
* Patrick Morin takes no responsibility for anything. So there.
*
*/
import java.util.Random;
/**
* A Randomized Sorting demonstration algorithm. In case you ha
www.eeworm.com/read/112279/15490372
java randvals.java
//: c08:RandVals.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Initializing interface fields with
// non-constant initia
www.eeworm.com/read/112273/15490457
java arraynew.java
//: c04:ArrayNew.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Creating arrays with new.
import java.util.*;
public cl
www.eeworm.com/read/112273/15490463
java arrayclassobj.java
//: c04:ArrayClassObj.java
// From 'Thinking in Java, 2nd ed.' by Bruce Eckel
// www.BruceEckel.com. See copyright notice in CopyRight.txt.
// Creating an array of nonprimitive objects.
import jav