代码搜索:Inheritance
找到约 1,689 项符合「Inheritance」的源代码
代码结果 1,689
www.eeworm.com/read/129405/5973602
java fruit.java
//$Id: Fruit.java,v 1.1 2004/12/24 11:32:35 epbernard Exp $
package org.hibernate.test.metadata.inheritance;
import javax.ejb.Entity;
import javax.ejb.Inheritance;
import javax.ejb.Id;
import javax.e
www.eeworm.com/read/129405/5973605
java vegetable.java
//$Id: Vegetable.java,v 1.1 2004/12/28 22:19:25 epbernard Exp $
package org.hibernate.test.metadata.inheritance;
import javax.ejb.Id;
import javax.ejb.Entity;
import javax.ejb.Inheritance;
import jav
www.eeworm.com/read/129405/5973607
java tomato.java
//$Id: Tomato.java,v 1.2 2005/02/19 17:32:53 epbernard Exp $
package org.hibernate.test.metadata.inheritance;
import javax.ejb.Entity;
import javax.ejb.Inheritance;
import javax.ejb.InheritanceType;
www.eeworm.com/read/129405/5973608
java apple.java
//$Id: Apple.java,v 1.1 2004/12/24 11:32:35 epbernard Exp $
package org.hibernate.test.metadata.inheritance;
import javax.ejb.Entity;
/**
* @author Emmanuel Bernard
*/
@Entity
public class Apple e
www.eeworm.com/read/129405/5973628
java a320.java
//$Id: A320.java,v 1.1 2004/10/06 23:59:56 epbernard Exp $
package org.hibernate.test.metadata;
import javax.ejb.Entity;
import javax.ejb.Inheritance;
/**
* @author Emmanuel Bernard
*/
@Entity()
@
www.eeworm.com/read/125116/6033340
java ellipse.java
package net.betterjava.design.inheritance.restriction;
public class Ellipse {
Point leftFocus;
Point rightFocus;
double distance;
public Ellipse(Point left, Point right, double d) {
le
www.eeworm.com/read/344239/11895594
java wind.java
//: reusing/Wind.java
// Inheritance & upcasting.
class Instrument {
public void play() {}
static void tune(Instrument i) {
// ...
i.play();
}
}
// Wind objects are instrume
www.eeworm.com/read/253533/12216443
txt 2.7.txt
Listing 2.7 Using Inheritance to Define a Related Set of Objects
using System;
namespace _8_Inheritance
{
// base class definition
public class MediaDevice
{
protected bool on = false;
virtual
www.eeworm.com/read/129685/14233093
h b.h
/** Just to make the class graph look more interesting.
Here we show multiple inheritance from one docified class and a nondocified
one.
This is how this documentation has been generated:
www.eeworm.com/read/128030/14318403
cpp ambigu.cpp
// ambigu.cpp
// demonstrates ambiguity in multiple inheritance
#include
using namespace std;
////////////////////////////////////////////////////////////////
class A
{
public: