代码搜索:extends
找到约 10,000 项符合「extends」的源代码
代码结果 10,000
www.eeworm.com/read/174538/5360885
java runner.java
public class Runner extends Thread {
public int tick = 1;
public void run() {
while (tick < 400000)
tick++;
}
}
www.eeworm.com/read/174538/5360899
java runner.java
public class Runner extends Thread {
public int tick = 1;
public void run() {
while (tick < 10000000)
tick++;
}
}
www.eeworm.com/read/174538/5360917
java runner.java
public class Runner extends Thread {
public int tick = 1;
public void run() {
while (tick < 400000)
tick++;
}
}
www.eeworm.com/read/173855/5367341
java pricerexception.java
package examples;
/**
* Exceptions thrown by Pricer
*/
public class PricerException extends Exception {
public PricerException() {
super();
}
public PricerException(Exception e) {
www.eeworm.com/read/173855/5367385
java orderexception.java
package examples;
/**
* Exceptions thrown by Order
*/
public class OrderException extends Exception {
public OrderException() {
super();
}
public OrderException(Exception e) {
www.eeworm.com/read/171479/5394789
groovy comparetypestest.groovy
/**
* @version $Revision: 1.2 $
*/
class NumberTest extends GroovyTestCase {
void testCompareByteToInt() {
Byte a = 12
Integer b = 10
assert a instanceof Byte
www.eeworm.com/read/171479/5394806
groovy namedparametertest.groovy
class NamedParameterTest extends GroovyTestCase {
void testPassingNamedParametersToMethod() {
someMethod(name:"gromit", eating:"nice cheese", times:2)
}
protected void someMe
www.eeworm.com/read/171479/5394810
groovy defaultparamclosuretest.groovy
class DefaultParamClosureTest extends GroovyTestCase {
void testDefaultParameters() {
// Default parameters working for closures
def doSomething = { a, b = 'defB', c = 'defC' ->
prin
www.eeworm.com/read/171479/5394835
groovy iftest.groovy
class IfTest extends GroovyTestCase {
void testUsingNumber() {
def x = 1
if (x) {
println "${x} is true"
}
else {
fail("should not be fals
www.eeworm.com/read/171479/5394874
groovy benchmarkinterceptortest.groovy
package groovy.lang
/**
* Test for the BenchmarkInterceptor
* @author Dierk Koenig
**/
class BenchmarkInterceptorTest extends GroovyTestCase{
Interceptor benchmarkInterceptor
def proxy