The Memento (316) pattern is a good example.
备忘录模式是一个很好的例子。
When Pixie fetches an object of the Memento: : Set: : object class from the database, it will call the px_thaw method on it.
当Pixie从数据库访存Memento:Set:object类的对象时,它将调用该对象的px _ thaw方法。
When this happens, our new px_thaw method will create a Set::Object instance and place the contents of the Memento object in it.
当这个操作发生时,我们新的 px_thaw方法将创建Set::Object实例并把 Memento对象的内容放入其中。
But, fundamentally, reuse via design patterns is fine-grained: one solution (the Flyweight pattern, for example) is orthogonal to another (the Memento pattern).
但是,从根本上来说通过模式实现重用属于细粒度操作:一个解决方案是(比如享元(Flyweight)模式)与另一个解决方案(备忘录模式)正交。
Online, it’s a memento of when you met the person but it’s also a gateway for connecting with them in the future, ” Jacobs said.
而在网上,这同样也是你见过其人的见证,但它同样也是以后联系的渠道”。
I retrieved a small piece from the ruins as a memento - an undistinguished chunk of cast concrete decoration.
于是我从碎石堆里捡拾了一块作为纪念品——一块废弃的难以辨认的水泥装饰品。
The board of the OED decided they would throw a party for these hard working volunteers and give them a little thank you memento.
OED编纂委员会决定为辛苦工作的志愿者举办一个派对,并送上纪念品以示感谢。
From Memento to The Dark Knight to Inception, he manages to create films that are intelligent, thought-provoking and not quite what you would expect.
从《记忆碎片》,《暗夜骑士》再到《盗梦空间》,他试图创造出智慧的,发人深思,但又不太像你所期待的那类电影。
In the front was written: 'Darling Rosie; a memento of a wonderful weekend.
在扉页上赫然写道:亲爱的罗西,永久纪念这愉快的周末。
Consider skipping the flowers. Perhaps share a memento, or make a charitable donation to honor the deceased.
不妨跳过鲜花,也许可以分享一本纪念册,或者做一些慈善捐款来悼念逝去的人。
"A bronzed cast of baby's first poop can be a meaningful memento for the family, " gallery director David Kesting said, adding that he hoped the work would attract bids of up to 25 or 30, 000 dollars.
美术馆馆长大卫·凯斯汀说:“宝宝首次排泄的固体大便的铜像对这个家庭而言是件意味深长的纪念品。” 凯斯汀还补充道,他希望这件作品可以拍卖出2.5万至3万美元的价格。
In the front was written: 'Darling Rosie; a memento of a wonderful weekend.'
在扉页上赫然写道:亲爱的罗西,永久纪念这愉快的周末。
In his best movie, “Memento” (2000), Leonard, the traumatized hero (Guy Pearce), has lost his short-term memory.
在他最为著名的作品“记忆碎片”(2000年)中,剧中的主角莱奥纳多(Guy Pearce)患有"短期失忆症"。
Fabric3 USES a compensation approach based on the concept of memento to undo changes. The upshot is that runtimes are always left in a consistent state.
Fabric3使用了一种基于记忆补偿的方法来回滚更改,其结果是运行时总能处在一致的状态。
Stone is an everlasting memento of the ones we love, and our company is committed to your needs with respect and empathy.
石头是一种我们的爱的永恒的纪念,对于您的需要,我们公司尊重并感同身受。
The director will be presented with a memento for his long years of service.
主管因为公司效力多年将获赠予纪念品。
The congregation at the Church by the Sea in Tampa Bay, Florida, say they regularly see passers-by stopping to get a memento of the unusual-looking building.
这座教堂坐落于美国佛罗里达州的坦帕湾,教堂会众表示,经常看到路过的人驻足欣赏这个外型特别的建筑。
Arkham: of course. He's taking good care of it. After all, it is the only memento left from the mother you both lost.
雅克罕姆:当然了——他非常珍惜著呢。毕竟,那是你们母亲唯一的遗物。
Give something that will live on. Consider skipping the flowers. Perhaps share a memento, or make a charitable donation to honor the deceased.
送一些能够延续下去的东西。不妨跳过鲜花,也许可以分享一本纪念册,或者做一些慈善捐款来悼念逝去的人。
Crowning the entire composition is a vase of cut flowers, an ulterior memento mori juxtaposed to the terrestrial globe, emblematic of royal power.
画面上最冠冕堂皇的物品,就是那花瓶和并排的地球仪,象征着皇家权势。
In classical art, the presence of a skull is a 'memento mori'—a none-too-subtle reminder that death is never far away.
在古典艺术中,骷髅意味着“记住你终有一死”——不怎么委婉地提醒你死亡并不遥远。
Thanks for the compliment. My favorite movie is Memento or the Matrix. Have you seen either?
谢谢你的赞扬。我最爱的电影是“记忆拼图”和“黑客帝国”,你都看过其中一部吗。
The Centennial Community Projects are an excellent way to publicize the Rotary Centennial locally and leave a lasting memento of this anniversary in thousands of communities worldwide.
百周年社区计划是一个极佳的方式,不但可以在地方上宣传扶轮百周年,更可以在全世界数以千计的社区留下扶轮百周年永恒的纪念品。
To extend welcome and memorize the successful call of the new service, SCT representatives, Mr. Yong Yu presented a memento to the master vessels' captain.
为纪念首航船的顺利挂靠,蛇口集装箱码头市场部代表于泳向首航船长赠送了纪念品。
A memento will be given by Sony Corporation to all the finalists.
所有参加决赛的选手将获得索尼公司提供的纪念品一份。
But the fact that we know it for a memento mori justifies us in feeling a certain human pride.
但我们把它看作死亡象征的事实,证明了我们感觉到某种人类的骄傲。
One of the girls insisted till her dying day that she really had seen fairies-the manufactured pictures were a memento of her real experience.
还有个女孩直到死的那一天仍坚称真的见到了小精灵——那些假造的照片倒成了她真实存在过的纪念。
One of the girls insisted till her dying day that she really had seen fairies-the manufactured pictures were a memento of her real experience.
还有个女孩直到死的那一天仍坚称真的见到了小精灵——那些假造的照片倒成了她真实存在过的纪念。
应用推荐