代码搜索:Behavior
找到约 3,820 项符合「Behavior」的源代码
代码结果 3,820
www.eeworm.com/read/409813/11311163
java flynoway.java
package DP.Chapter1.Behavior;
public class FlyNoWay implements FlyBehavior {
public void fly() {
System.out.print("flynoway");
}
}
www.eeworm.com/read/409813/11311166
java squeak.java
package DP.Chapter1.Behavior;
public class Squeak implements QuackBehavior {
public void quack() {
System.out.print("squeak");
}
}
www.eeworm.com/read/409813/11311170
java flywithwings.java
package DP.Chapter1.Behavior;
public class FlyWithWings implements FlyBehavior {
public void fly() {
System.out.print("flywithwings");
}
}
www.eeworm.com/read/409813/11311174
java mallardduck.java
package DP.Chapter1;
import DP.Chapter1.Behavior.FlyWithWings;
import DP.Chapter1.Behavior.Quack;
public class MallardDuck extends Duck {
public MallardDuck(){
qb = new Quack();
fb =
www.eeworm.com/read/158649/11595321
java failfast.java
//: c09:FailFast.java
// Demonstrates the "fail fast" behavior.
// {ThrowsException}
import java.util.*;
public class FailFast {
public static void main(String[] args) {
Collection c = n
www.eeworm.com/read/347629/11652925
vhd 36_gcd.vhd
entity gcd is
port(start: in bit;
clk : in bit;
din : in bit;
xi,yi: in integer;
dout : out bit;
output:out integer);
end gcd;
architecture behavior of gcd is
begin
process
www.eeworm.com/read/259758/11767691
vhd prtsim.vhd
LIBRARY IEEE;
USE IEEE.STD_LOGIC_1164.ALL;
ENTITY PRTSIM IS
PORT (RDY: BUFFER STD_LOGIC; TR, CLK, R: IN STD_LOGIC);
END PRTSIM;
ARCHITECTURE BEHAVIOR OF PRTSIM IS
SIGNAL COUNT: INTEGER RAN