代码搜索:shape
找到约 10,000 项符合「shape」的源代码
代码结果 10,000
www.eeworm.com/read/179693/5302462
java shape.java
// Page 101
abstract class Shape {
abstract double area();
}
class Circle extends Shape {
final double radius;
Circle(double radius) { this.radius = radius; }
double area(
www.eeworm.com/read/179541/5303915
hpp shape.hpp
/*************************************************************************
This software module was originally developed by
Wei-ge Chen (wchen@microsoft.com), Microsoft Corporation
(date: Ap
www.eeworm.com/read/179541/5303949
cpp shape.cpp
/*************************************************************************
This software module was originally developed by
Wei-ge Chen (wchen@microsoft.com), Microsoft Corporation
(April, 1
www.eeworm.com/read/179541/5304101
hpp shape.hpp
/*************************************************************************
This software module was originally developed by
Wei-ge Chen (wchen@microsoft.com), Microsoft Corporation
(date: Ap
www.eeworm.com/read/179541/5304135
cpp shape.cpp
/*************************************************************************
This software module was originally developed by
Wei-ge Chen (wchen@microsoft.com), Microsoft Corporation
(April, 1
www.eeworm.com/read/170433/5403870
java shape.java
/****************************************************************
* Copyright (c) 2001, David N. Main, All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* wi
www.eeworm.com/read/167133/5467985
java shape.java
/* Shape.java -- the classic Object-Oriented shape interface
Copyright (C) 1999, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can re
www.eeworm.com/read/166250/5475935
java shape.java
// Shape.java
// 定义形状接口
public interface Shape {
public abstract double area();
public abstract double volume();
public abstract String getName();
}
www.eeworm.com/read/165570/5481380
java shape.java
/** A shape with a position. */
public class Shape
{
/** x and y coordinantes of the position of the shape. */
public int x, y;
/** Go to the position newX and newY.
Analysis: Time = O(1
www.eeworm.com/read/349834/3138863
java shape.java
package cn.itcast.tetris.entities;
import java.awt.Color;
import java.awt.Graphics;
import java.util.TooManyListenersException;
import cn.itcast.tetris.listener.ShapeListener;
import cn.itcas