摘要:
isOper($ch)==true){ //是运算符 /** 3.如果发现是运算符 3.1 如果符号栈为空,就直接入符号栈 3.2. 如何符号栈,不为空,就判断 如果当... 阅读全文
posted @ 2019-03-30 18:32
千载白云
阅读(367)
评论(0)
推荐(0)
摘要:
<?php//观察者模式//抽象通知者abstract class Subject { protected $observer = array() ; //添加观察者 public abstract function Attach(observer $observer); //移除观察者 publi 阅读全文
posted @ 2019-03-30 15:22
千载白云
阅读(132)
评论(0)
推荐(0)
摘要:
<?php//中介者模式 -- //抽象中介者abstract class UnitedNationa{ punlic abstract function Declared($message,country $colleague)} class UnitedCommit extends United 阅读全文
posted @ 2019-03-30 13:30
千载白云
阅读(230)
评论(0)
推荐(0)

浙公网安备 33010602011771号