enjoy的用法及短语

关于enjoy的用法及短语的文字专题页,提供各类与enjoy的用法及短语相关的句子数据。我们整理了与enjoy的用法及短语相关的大量文字资料,以各种维度呈现供您参考。如果enjoy的用法及短语未能满足您的需求,请善用搜索找到更适合的句子语录。

句子(158) 语录(349) 说说(1k+) 名言(168) 诗词(4) 祝福(14) 心语(1)

  • with的用法

  •   英语学*最基础的就是词汇量的积累,大量的词汇积累是我们学*英语最重要的。小编为大家精心准备了with的用法,欢迎大家前来阅读。

      with词义

      1.和……一起;由……陪同;有……在场

      Would you like to go to the theatre with us?

      你愿意和我们一齐去剧院看戏吗?

      The money is on the table with the shopping list.

      钱和购物清单都在桌子上呢。

      2.随着

      With time passing by, they have grown into big boys and girls.

      随着时光的流逝,他们都长成大小伙子和大姑娘了。

      The shadows lengtheded with the approach of sunset.

      随着太阳下落,影子也逐渐伸长。

      3.用(表示使用工具或器具)

      It is easy to translate with a dictionary.

      借助字典进行翻译就会很容易。

      You can see it with a microscope.

      用显微镜就能看见它了。

      4.带有(能够作定语,也能够表伴随)

      We need a person with a knowledge of European markets.

      我们需要一个熟悉欧洲市场的人。

      He looked at her with a hurt expression.

      他带着受伤的神情看着她。

      5.因为;由于

      The small child trembled with fear.

      这小孩吓得直打哆嗦。

      It is very stuffy in the room, with all the windows closed.

      由于窗户都关着,屋子里十分闷。

      6.尽管

      With all her faults he still loves her.

      尽管她有那么多缺点,可他仍然爱着她。

      7.用以表示方式、情景、环境或条件

      I'll do it with pleasure.

      我很高兴做这件事。

      She fell asleep with the light on.

      她开着灯睡着了。

      辨析

      1.and 和with

      两者都有“和”的意思。and是连词,with是介词。当and连接两个主语时,谓语动词必须是复数;而with要看“真正主语”的单复数,也就是with前方的名词。如:

      Tom and his mother often _________(go) shopping on weekends.

      Tom with his mother often _________(go) shopping on weekends.

      and连接两个主语,Tom和妈妈,两个人肯定是复数,所以要用动词原形go; with 要看前方的主语,是Tom一个人,所以要用单数goes

      2.as和with

      两者都有“因为”“随着”的意思。不管什么意思,两者的核心区别就在于:as要接从句;with只接短语

      With our teacher ing, the class bee silent.

      As our teacher es, the class bee silent.

      with结构的构成

      它是由介词with或without+复合结构构成,复合结构作介词with或without的复合宾语,复合宾语中第一部分宾语由名词或代词充当,第二部分补足语由形容词、副词、介词短语、动词不定式或分词充当,分词能够是此刻分词,也能够是过去分词。

      With结构构成方式如下:

      1. with或without-名词代词+形容词;

      2. with或without-名词代词+副词;

      3. with或without-名词代词+介词短语;

    [阅读全文]...

2022-03-06 21:54:19
  • for的用法

  • for的用法

      大家应该都是认识for吧,for是作为一个常见的英语介词,用法很多,了解它的用法,可以为自己学*英语提供了很多方便。下面是小编给大家带来的for的用法,以供大家参考,我们一起来看看吧!

      for是个常用词,在英语中出现频率高、含义多、用法广,可以与许多名词、形容词和动词搭配。下面举例说明,希望对同学们学好、用准英语知识能够有所帮助。

      一、用作介词。

      1.表示目的,意为“为了”。例如:

      Ann goes home for holidays every year with her parents.安每年与她父母一起回家度假。

      此外,下列动词后跟双宾语,起间接关系作用的介词for均表目的。get/buy/make/draw/play(播放,上演)/save(节约)/find/fly/mend/take/do sb. sth.=get/buy/make/draw/play/end/take/do sth. for sb.

      2.表示对象、用途,意为“对于,供,适合于”。例如:

      Walking is good for health.散步有利于健康。

      Here are books for children.这些是供儿童阅读的书籍。

      3.表示目标、去向,意为“往,向”。例如:

      I’ll leave for Shanghai.我要前往上海。

      What time do you leave home for school?你何时离家上学?

      4.表示等值或交换关系,意为“兑,换”。例如:

      We can get two tickets for eight yuan.用八元钱,我们可以买两张票。

      Don’t put the whole English sentence word for word into Chinese.不要把整个英语句子字对字地译成汉语。

      5.表示愿望、爱好、特长等,意为“对于”。例如:

      He hopes for the best.他抱着乐观的希望。

      The children in China long(vi.渴望) for the Mid-Autumn Festival.*儿童盼望中秋节。

      6.表示原因,意为“由于,因为”。例如:

      Ann,thanks a lot for asking me to your birthday party.安,多谢你邀请我参加你的生日聚会。

      We should thank our mother for doing so much for us.(前一个for表原因,后一个for表目的)我们应当感谢我们的母亲,她为我们做了那么多。

      My classmates jumped for joy at the meeting.我的同学们在会上高兴地跳了起来。

      7.表示时间、距离、数量,意为“长达……之久,计”。例如:

      Hold on for a moment,please.[别挂]请稍等。

      He has lived there for nine years.他在那里住了九年。

      You can see nothing but trees for two miles.(www.fwsir.com)两英里之内,你只能看见树木。

      8.与名词或代词连用,后接动词不定式,构成名词短语。其中介词for后面的名词或代词在逻辑上是不定式的主语。例如:

      It’s time for Li lei to go to bed.李雷睡觉的时间到了。

      It’s important for us to study English well.学好英语对我们很重要。

      9.意为“代替,代表”。例如:

      Our English teacher Mr. Wu was ill,so Miss Gao taught for him yesterday.我们的英语老师吴老师病了,所以高老师昨天替他代了课。

      WTO is short for World Trade Organization.WTO是世界贸易组织的中文缩写。

      10.意为“赞成,拥护”。例如:

      Are you for or against?你是赞成还是反对?

      How many of you are for the idea?你们多少人赞成这个意见?

      11.意为“当做,作为”。例如:

      We often mistake Lucy for Lily.我们时常把露西当做莉莉。

      Most of the houses are used for the teachers’ offices now.这些房子现在多数用作教师的办公室了。

      12.意为“至于,就……而言……”。例如:

      He is tall for his age.就年龄而言,他算是高个子。

      二、用作并列连词,表示因果关系,意为“因为”。

      并列连词for引导的表示原因的从句不能用于句首,较because正式,用于正式文体中,但语气比because弱;回答why引导的问句时,应用because,而不能用for。例如:

      You’d better put on your sweater,for it’s rather cold outside.你最好把毛衣穿上,外边相当冷。

      I must be off now,for my sister is waiting for me.我得走了,因为我姐姐在等我。

      三、用于某些成语,构成固定词组。例如:

      1.for days(years) 连续多日(年)

      2.for ever 永远

      3.for long 长久

      4.long for 渴望

      5.care for 关怀,照顾

    [阅读全文]...

2022-04-17 12:58:08
  • remind的用法

  • remind的用法

      在**淡淡的学*中,看到知识点,都是先收藏再说吧!知识点在教育实践中,是指对某一个知识的泛称。想要一份整理好的知识点吗?以下是小编为大家收集的remind的用法知识点,仅供参考,大家一起来看看吧。

      remind有想起、提醒的意思。以下是小编带来的remind的`用法,希望对你有帮助。

      (1) remind(vt.) 使(人)想起,使记起

      ① remind sb. of sb. / sth. 使……想到某人或某物 He reminds me of his father. 看到他使我想起他的父亲。

      ② remind sb. that-clause 使人回忆起…… The sight of the clock reminded me that I was late. 看到钟使我想起我已经晚了。

      (2) remind(vt.) 提醒

      ① remind sb. of / about sth. 提醒某人某物;提醒某人注意某事Be sure to remind her of the meeting she has to attend. 务必提醒她要参加那次会议。

      ② remind sb. to do sth. 提醒某人做某事Please remind me to post the letter. 请提醒我寄那封信。

      ③ remind sb. that-clause 提醒某人…… She reminded me that I hadn't written to mother. 她提醒了我,我还没给妈妈写信。

      【练*试题】what you said just now ____ me of that American professor.

      A. mentioned B. informed C. reminded D. memorized

      [考查目标] remind基本用法。

      [答案与解析]C remind表示“提醒;让……想起”。

      remind的用法

      remind的用法1:remind的基本意思是指通过一定的媒介或激发而慢慢想起某事(做过或应做某事)。这事可以是全然忘却的,也可以是一时想不起来的; 这媒介则是引起人们回忆的外界人或事物。

      remind的用法2:remind只用作及物动词,可接名词或代词作宾语,也可接双宾语,其直接宾语可由带或不带疑问词的动词不定式、that从句或以疑问词引导的从句充当。

      remind的用法3:remind常和介词of连用,表示“提醒注意未来的事”或“使想起过去的事”的内容, of的宾语可以是名词、动名词,也可以是疑问词引导的从句。

      remind的用法4:remind作“提醒”解时与remind about同义,其主语只能是人,作“使想起”解时主语通常是事物。

      remind的用法5:remind sb of sth/ v -ing/wh-clause属双宾语结构, of引起的短语是直接宾语,可以把remind sb that/wh-clause中的从句看作是其前省略了介词of。

      remind的用法6:可以把remind sb to- v 中的to- v 看作是直接宾语

      remind相关例句

      Remind me to phone Alan before I go out.

      提醒我在出去之前给艾伦打电话。

      ‘ You had an accident, ’ he reminded her.

      他提醒她道:“你出过一次事故了。”

      You remind me of your father when you say that.

      你说这样的话,使我想起了你的父亲。

      Passengers are reminded no smoking is allowed on this train.

      旅客们请注意,本次列车禁止吸烟。

      That smell reminds me of France.

      这股气味使我想起了法国。

    [阅读全文]...

2022-02-16 23:17:40
  • however的用法

  • 英语,职场,考试
  • however的用法

      英语单词的产生是汉英两种语言双向交流的产物,一些带有*特色的名称和概念进入了英语词汇,同时还有一些英语词汇进入了汉语,在文化环境中衍生出新的含义,形成了英语词汇的语义文化特征。以下是小编精心整理的however的.用法,欢迎大家分享。

      however

      [英][haev(r)][美][haev]

      adv.然而; 可是; 无论如何; 不管到什么程度;

      conj.不管怎样;

      1、用作副词,注意以下用法:

      (1) 表示让步,意为“无论如何”“不管怎样”,用来修饰形容词或副词,其词序为:however+形容词或副词+主语+谓语。这样用的however其实具有连词的功能,用以引导一个让步状语从句。如:

      However much he eats, he never gets fat. 不管他吃多少,他永远吃不胖。

      However cold it is, he always goes swimming. 不管天有多冷,他都去游泳。

      However far it is, I intend to drive there tonight. 不管有多远,我今晚也要开车到那儿去。

      这样用的 however 与 no matter how 大致同义。如:

      No matter how much he eats, he never gets fat.

      No matter how cold it is, he always goes swimming.

      No matter how far it is, I intend to drive there tonight.

      有时从句谓语可用情态动词。如:

      Don’t laugh, however funny it may be. 无论多么有趣也不要笑。

      I’ll try to finish it in time, however hard it may be. 无论多么难,我也要按时完成。

      另外,“however+形容词或副词+主语+谓语”有时可以有所省略。如:

      I refuse, however favourable the conditions. 不管条件如何有利,我都不干。(conditions后省去了are)

      I’d rather have a room of my own, however small (it is), than share a room. 无论房间多么小,我宁愿一个人住一间,而不愿意与别人合住一个房间。

      A grammar rule, however true (it is), is useless unless it can be understood. 一条语法规则,不管如何正确,除非能懂,否则毫无用处。

      (2) 表示转折,尤其用于谈及一个既成事实时,表示转折,其意为“可是”“仍然”等。可放在句首、句中或句末,通常用逗号与句子其他成分隔开。如:

      My father, however, did not agree. 但是,我父亲不同意

      My room is small; however, it’s comfortable. 我的房间很小,但却很舒服。

      He said that it was so; he was mistaken, however. 他说情况如此,可是他错了。

      注意,however不能像 but(但是)那样直接连接两个句子(注意正句中的标点符号)。如:

      我们都已尽了最大的努力,不过我们还是输了。

      误:We all tried our best, however we lost the game.

      正:We all tried our best, but we lost the game.

      正:We all tried our best; however, we lost the game.

      正:We all tried our best. However, we lost the game.

      (3) 表示惊奇或强调,相当于how ever的用法,其意为“究竟怎样,到底以什么方式”。如:

      However did you get here without a car? 没有汽车你究竟是怎样来的呢?

      However does he manage to write music when he is so deaf? 他聋成这个样子,究竟是怎样从事作曲的呢?

      2、用作连词,引导方式状语从句,表示“无论以何种方式”“不管怎样”。如:

      However it may be, I shall take your word. 无论如何,我将会相信你的话。

      The painting looks wrong however you look at it. 这张画不论怎么看都显得不对劲。

      However you travel, it’ll take you at least two days. 无论你怎么个走法,至少要两天时间。

    [阅读全文]...

2022-05-11 22:22:15
  • practice的用法

  • 英语
  • practice的用法

      practice这个单词,它既可以是名词,又可以是动词。当它是名词的时候,它的含义是实践、常规、惯例等。当它是动词的时候,它的含义是练*、实行。practice当动词时,与practise的用法相同以下是小编带来的practice的用法,希望对你有帮助。

      过去式:practiced; 过去分词:practiced; 现在分词:practicing; 复数形式:practices;

      n.

      1. 练*, 实*2. 实践, 实际3. (医生或律师的)业务; 诊所; 律师事务所4. 惯例, 常规5. 惯常做的事;*惯;*俗6. 训练;练*(时间)7. 通常的做法8. (医生、律师等的)开业,业务;生意,主顾 9. 【法律】诉讼手续10. 【宗教】仪式

      vi.

      1. 1.实行;实践 2.实施 3.常做;惯常地进行 4.练*;实* 5.按规则做(专门的事) 6.图谋;利用 7.开业;执业

      vt.

      1. 1.实行;实践 2.实施 3.开业;执业

      practice的用法例句

      1. The practice and doctrines of voodoo.

      伏都教义,巫术信仰伏都教的施行和教义

      2. She never took the veil, but lived and died in severe seclusion, and in the practice of the Roman Catholic religion.

      她从未出家当修女,可直到去世始终过着严格的隐居生活,奉行着罗马天主教的*惯。

      3. If that room is vacant, we can practice there.

      如果那个房间空着,我们可以在那练*。

      4. In our country we have those three unspeakably precious things: freedom of speech, freedom of conscience, and the prudence never to practice either.

      在我国,我们拥有三种不可言喻的宝物:言论的自由、信仰的自由、以及使两者均不获履行的精明。

      5. Just because we underbid our rivals and got a major order, they have accused us of sharp practice.

      只是因为我们投票时出价低于对手得到了一个大数量的订货单,他们便指责我们有欺诈行为。

      6. He has been in practice for twenty years.

      他已有20年的实践经验。

      拓展阅读:practice的用法及短语

      ▼practice的解释

      n.练*;实践;(医生或律师的)业务;惯例

      vi.实行;惯常地进行;练*;实*

      vt.实行,实践;执业;练*;惯常地进行

      ▼practice的用法

      practice作为名词的用法

      1.实行,实施,实践[U]

      I am afraid the idea would never work in practice.

      恐怕这想法实际上行不通。

      2.(反复的)练*,学*[C][U]

      Learning a language needs a lot of practice.

      学*语言需要勤练不辍。

      3.(医生、律师等的)业务,工作,营业[C]

      Dr. Pat is no longer in practice here.

      派特医生不在这儿行医了。

      4.*惯,常规,惯例[C][U]

      The old practice still prevails in the countryside.

      旧*俗在乡间仍然流行。

      5.【律】诉讼手续

      practice作为及物动词的用法

      1.实践,实行

      What I preach, I am resolved to practice.

      我所讲的`道理,我必定身体力行。

      2.练*,实*;训练

      The young girl practices the violin every day.

      这小女孩每天练*拉小提琴。

      3.经常做

      We should practice economy even if we are rich.

    [阅读全文]...

2022-04-17 20:06:34
  • spend的用法

  • 英语,职场,考试
  • spend的用法

      spend,英文单词,名词、及物动词、不及物动词,作名词时意为“预算”,作及物动词时意为“度过,消磨(时光);花费;浪费;用尽”,作不及物动词时意为“花钱;用尽,耗尽”。下面讲由小编为大家整理了spend的用法相关内容,希望对大家有帮助。

      spend的用法

      

      一、take ,spend ,cost, pay的用法都可以表示“花费”,但用法却不尽相同。

      spend的主语必须是人, 常用于以下结构:

      (1) spend time /money on sth. 在……上花费时间(金钱)。例:I spent two hours on this maths problem. 这道数学题花了我两个小时。

      (2) spend time /money (in) doing sth. 花费时间(金钱)做某事。例:They spent two years (in) building this bridge. 造这座桥花了他们两年时间。

      (3)spend money for sth. 花钱买……。例:His money was spent for books. 他的钱用来买书了。

      二、cost的主语是物或某种活动, 还可以表示“值”, 常见用法如下:

      (1)sth. costs (sb.) +金钱,某物花了(某人)多少钱。例:A new com*r costs a lot of money. 买一台新电脑要花一大笔钱。

      (2) (doing) sth. costs (sb.) +时间,某物(做某事)花了(某人)多少时间。例:Remembering these new words cost him a lot of time. 他花了大量时间才记住了这些单词。

      注意:cost的过去式及过去分词都是cost,并且不能用于被动句。

      三、take后面常跟双宾语, 常见用法有以下几种:

      (1) It takes sb. +时间+to do sth. 做某事花了某人多少时间。例:It took them three years to build this road. 他们用了三年时间修完了这条路。

      (2)doing sth. takes sb. +时间,做某事花了某人多少时间。例:Repairing this car took him the whole afternoon. 他花了一下午修车。

      四、pay的.基本用法是:

      (1) pay (sb.) money for sth. 付钱(给某人)买……。例:I have to pay them 20 pounds for this room each month. 我每个月要付20英磅的房租。

      (2)pay for sth. 付……的钱。例:I have to pay for the book lost. 我不得不赔丢失的书款。

      (3)pay for sb. 替某人付钱。例:Don?蒺t worry!Ill pay for you. 别担心, 我会给你付钱的。

      (4)pay sb. 付钱给某人。 例: They pay us every month.他们每月给我们报酬。

      (5)pay money back 还钱。例:May I borrow 12 yuan from you? Ill pay it back next week. 你能借给我12块钱吗?下周还你。

      (6)pay off ones money还清钱。

      区别:

      take 一般用it做主语,例:it take sb sometime to do sth.

      spend 一般是人做主语,例:I spend an hour to finish my homework.

      cost表示某物值什么的(价值或钱)例:The bool cost 200yuan.

      pay一般是人做主语,例:I pay an hour to do my homework.

    [阅读全文]...

2022-03-13 09:45:45
  • have的用法

  • have的用法

      英语是一种西日耳曼语支,最早被中世纪的英国使用,并因其广阔的殖民地而成为世界使用面积最广的语言。下面是小编收集整理的have的用法,仅供参考,希望能够帮助到大家。

      一、have + 宾语 + 不定式

      该结构中have的基本意思是“有”,其主要用法有:

      1. 表示有某事要做,其中的'不 定式为定语。如:

      She didn’t have the courage to refuse. 她没有勇气拒绝。

      Birds have the instinct to learn to fly. 鸟有飞的本能。

      We have every reason to think he may still be alive. 我们有充分理由认为他可能还活着。

      2. 表示因为有A结果发生了B,其中的不定式为结果状语。如:

      I had the luck to find him at home. 我真幸运,找他时他正在家。They had the misfortune to be hit by a violent storm. 他们不幸遇上了猛烈的风暴。

      二、have + 宾语 + 动词原形

      该结构中的动词原形,实为省略了to的不定式,用作宾语补足语,其中的have为使役动词。该结构的主要用法有:

      1. 表示叫(请、使 、让)某人做某事。如:

      He had his son clean the car. 他叫他的儿子擦车。

      I’ll have the gardener plant some trees. 我要让园丁种些树。

      Don’t interrupt her:let her have her say. 别打断她的话,让她把意见说出来。

      2. 表示容忍或允许某人做某事(用于否定句,尤与 won’t, can’t连用)。如:

      I won’t have you tell me what to do. 我不能让你对我做的 事指手划脚。

      三、have + 宾语 + 现在分词

      该结构 中的现在分词用作宾语补足语,其中的have为使役动词。该结构的主要用法有:

      1. 表示使(让)某人(某事物)一直做在做某事或处于做某事的状态之中。如:

      She had her audience listening attentively. 她使听众听得入神

      Within minutes he had the whole audience laughing and clapping. 没出几分钟他就让全体听众笑起来,鼓起掌来。

      The film had us all sitting on the edges of our seats with excitement. 这部影片让我们大家激动不已。

      2. 表示容忍或允许某人做某事(用于否定句,尤与 won’t, can’t连用)。如:

      He won’t have boys arriving late. 他不允许孩子们迟到。

      I won’t have you smoking at your age. 我不能让你在这个年纪就抽烟。

      I hate to have m y boss standing over me. 我不喜欢上司监督我。

      3. 说服或命令某人做某事。如:

      He had me doing all kinds of jobs for her. 他叫我为她做各种事情。

      注:have difficult doing sth是英语中一个很有用的句式,其中的have表示“有”,

      We had the greatest diffi culty imaginable getting here in tim e. 我们为了及时赶到此地,经历了可能想见的最大的困难。

      四、have + 宾语 + 过去分词

      该结构中的过去分词用作宾语补足语,其中的have为使役动词。该结构的最大特点就是,其中的过去分词与其 前的宾语有被动关系。具体说来,该结构有以下主要用法:

      1. 表示请(让)别人做某事。如:

      We had the machine repaired. 我们请人修理了机器

      She’s gone into hospita l to have her appe ndix taken out. 她已住院去切除阑尾。

      What beautiful curls — why do you want to have them cut off? 你那鬈发多漂亮啊——为什么要剪掉呢?

      注:有时指无意志的行为。如:

      He had his salary raised. 他加薪了。

      2. 表示经历或遭遇某情况。如:

      He had his finger cut. 他的手指弄伤了。

      I h ad my w atch stolen yesterday. 我的表昨天被人偷去了。

      3. 表示主动地完成某动作或解决某事。如:

      I’ve had all my mistak es corrected. 我已把所有的错误都改正过来了。

      You should understand the traffic r ule by now. You’ve had it explained often enough 到现在你应该理解这条交通规则了,已经给你解释得够多了。(2005天津卷)

      I have had everything prepared beforehand. 我已事先把一切都准备好了。

      Paul’s mother had him adopted because she couldn’t look after him herself. 保罗的母亲因为自己无力抚养他,便将他送给别人收养了(

      4. 表示容忍或允许做某事(用于否定句,尤与 won’t, can’t 等连用)。如:

      We won’t have anything said against the Party. 我们不允 许有人这 样攻击党。

      注意,下面一句中的worried可视为形容词,而非过去分词:

    [阅读全文]...

2022-06-08 01:09:33
  • 在java中Synchronized的用法

  • 在java中Synchronized的用法

      synchronized关键字可以作为函数的修饰符,也可作为函数内的语句,也就是*时说的同步方法和同步语句块。如果再细的分类,synchronized可作用于instance变量、object reference(对象引用)、static函数和class literals(类名称字面常量)身上。下面是小编收集的在java中Synchronized的用法,希望能帮到你。

      在进一步阐述之前,我们需要明确几点:

      A.无论synchronized关键字加在方法上还是对象上,它取得的锁都是对象,而不是把一段代码或函数当作锁――而且同步方法很可能还会被其他线程的对象访问。

      B.每个对象只有一个锁(lock)与之相关联。

      C.实现同步是要很大的系统开销作为代价的,甚至可能造成死锁,所以尽量避免无谓的同步控制。

      接着来讨论synchronized用到不同地方对代码产生的影响:

      假设P1、P2是同一个类的不同对象,这个类中定义了以下几种情况的同步块或同步方法,P1、P2就都可以调用它们。

      1. 把synchronized当作函数修饰符时,示例代码如下:

      Public synchronized void methodAAA()

      {

      //….

      }

      这也就是同步方法,那这时synchronized锁定的是哪个对象呢?它锁定的是调用这个同步方法对象。也就是说,当一个对象P1在不同的线程中执行这个同步方法时,它们之间会形成互斥,达到同步的效果。但是这个对象所属的Class所产生的另一对象P2却可以任意调用这个被加了synchronized关键字的方法。

      上边的示例代码等同于如下代码:

      public void methodAAA()

      {

      synchronized (this) // (1)

      {

      //…..

      }

      }

      (1)处的this指的是什么呢?它指的就是调用这个方法的对象,如P1。可见同步方法实质是将synchronized作用于object reference。――那个拿到了P1对象锁的线程,才可以调用P1的同步方法,而对P2而言,P1这个锁与它毫不相干,程序也可能在这种情形下摆脱同步机制的控制,造成数据混乱。

      2.同步块,示例代码如下:

      public void method3(SomeObject so)

      {

      synchronized(so)

      {

      //…..

      }

      }

      这时,锁就是so这个对象,谁拿到这个锁谁就可以运行它所控制的.那段代码。当有一个明确的对象作为锁时,就可以这样写程序,但当没有明确的对象作为锁,只是想让一段代码同步时,可以创建一个特殊的instance变量(它得是一个对象)来充当锁:

      class Foo implements Runnable

      {

      private byte[] lock = new byte[0]; // 特殊的instance变量

      Public void methodA()

      {

      synchronized(lock) { //… }

      }

      //…..

      }

      注:零长度的byte数组对象创建起来将比任何对象都经济――查看编译后的字节码:生成零长度的byte[]对象只需3条操作码,而Object lock = new Object()则需要7行操作码。

      3.将synchronized作用于static 函数,示例代码如下:

      Class Foo

      {

      public synchronized static void methodAAA() // 同步的static 函数

      {

      //….

      }

      public void methodBBB()

      {

    [阅读全文]...

2022-07-18 16:00:53
  • not onlybut also的用法及倒装

  • 职业
  • not onlybut also的用法及倒装

      Frankin was considered not only an inventor,but also a statesman. 富兰克林不仅被看作发明家,而且被看作政治家。下面是小编整理关于not onlybut also的用法及倒装。欢迎大家阅读!

      用法:

      首先Not only…..but (also)表示的关系是递进, 其中also可以省略

      But/but also表示的是转折. 在but also中, ring_cheng认为also不属于重复, 所以应当保留.该观点尚未证实.

      not only ...but also表示并列,不能表示转折,不要有先入为主的感觉认为not only...but also必须一起出现。单独出现but also是可能的,此时表示的是转折。

      All-terrain vehicles have allowed vacationers to reach many previously inaccessible areas, but they have also been blamed for causing hundreds of deaths, injury to thousands, and seriously damaging the nation’s recreational areas.

      · deaths, injury to thousands, and seriously damaging

      · deaths and injuring thousands, and serious damage to

      · deaths, thousands who are injured, as well as seriously damaging

      · deaths and thousands of injuries, as well as doing serious damage to (D)

      · deaths, thousands are injured, and they do serious damage to

      关于not only…but also.. 的用法,我根据前人的发言并结合GMAT的思路挑出了这几条:

      1.在正常语序中: not only … but also 应连接两个相对称的并列成分。例如:

      Not only Mr Lin but also his son joined the Party two years ago. (连接两个主语)

      I not only play tennis but also practise shooting. (连接两个谓语动词)

      He plays not only the piano but also the violin. (连接两个宾语)

      在正常语序中: 短语本身不可以加入其它成份,比如变成:not only...but it also...是错误的(因为破坏了*衡)。

      125.The winds that howl across the Great Plains not only blow away valuable topsoil, thereby reducing the potential crop yield of a tract of land, and also damage or destroy young plants.

      · and also damage or destroy

      · as well as damaging or destroying

      · but they also cause damage or destroy

      · but also damage or destroy(D)

      · but also causing damage or destroying

      Choice D, the best answer, correctly employs the correlative construction not only x but also y, where x and y are grammatically parallel and where both x and y (damage and destroy) ap* to young plants. Choices A, (not only... and also), B (not only... as well as), and C (not only... but they also) violate the not only... but also paradigm. Moreover, B contains terms (blow... damaging) that are not parallel. In C and E, damage is used not as a verb with young plants as its direct object but as a noun receiving the action of cause; consequently, these choices fail to state explicitly that the damage is done to young plants. E also violates parallelism (not only blow... but also causing)

      2. not only … but also 连接两个主语时,谓语动词要和与其最*的主语保持人称和数的一致。例如:

      Not only the students but also the teacher was against the plan. / Not only the teacher but also the students were against the plan.

      3. not only … but also 不能用在否定句中。例如:

      误: They dont fear not only hardship but also death.

      正: They fear neither hardship nor death.

      正: They dont fear either hardship or death.

      4. not only … but also 连接两个分句,并且 not only 位于句首时,第一个分句中的主语和谓语要部分倒装。例如:

      Not only does the sun give us light, but also it gives us heat.

      Not only did he speak English correctly, but he also speaks it fluently.

      《新编英语语法》薄冰P633:Not only does he compose music, but he also play./ Not only does he have to type out the answer on a com*r, but he also gets the com*r to translate it into sounds.

      《新编英语语法》章振邦1005:She was not only compelled to stay at home, but she was also forbidden to see her friends

      英语语法大全上的例句是: Not only did they break into his office and steal his books, but they also tore up his manuscripts. 所以我个人认为在倒装的情况下,but also是可以被主语拆开的.

      这里附上ring_cheng的观点:倒装时可以在短语中插入某类成分,如:not only did sb do sth, but sb also did sth (之所以前后都加入主语,不是为了连接主语,而是为了句子的'对仗工整而补足主语,连接的其实是主语的两个不同的谓语动作。又因为not only在句首已经倒装过了,所以but also用正常语序即可。依然满足句子*衡的要求).如大全354中but also被主语+助动词拆开:

      354.In 1978 a national study found that not only had many contractors licensed by a self-policing private guild failed to pass qualifying exams, they in addition falsified their references.

      · they in addition falsified their references

      · they had their references falsified in addition

      · but they had also falsified their references

      · they had also falsified their references(C)

      · but their references were falsified as well

      倒装:

      “not only...but also...“是并列关联连词,意为”不但.....而且......“,主要用来连接两个并列成分(如主语、谓语、表语、宾语、状语),也可用来连接两个分句,所强调的重点是后面的一个。在具体使用时我们要注意以下几点。

      1.当这一结构连接的是两个同等成分,这个关联词的两部分应分别放在所连接的两个同等成分前面。例如:

      He not only speaks English fluently but also writes English well.他不但英语说得很流利,而且写得很好。(连接谓语)

      He speaks not only English but also French.他不但会说英语,而且会说法语。(连接宾语)

      2.当它连接两个分句时,如果not only位于句首则not only分句要用倒装结构,but also分句不要倒装。例如:

      Not only does he have to type out the answer on a com*r, but he also gets the com*r to translate it into sounds.他不仅要把答语在计算机上打了出来,而且还要让计算机把答语变成声音。

    [阅读全文]...

2022-07-15 16:23:02
  • that用法详解

  • that用法详解

      想要学好考研英语怎么能不知道that的用法呢?下面就让小编为大家详解一下吧。欢迎阅读收藏。

      that是英语中十分常见的单词,用法灵活多样,是英语中最常用的词汇之一。正因为它是我们认为自己最熟悉的单词,反而容易忽视它。在考研英语中,对that的考查包括三个方面:

      (1)that作指示代词的用法;

      (2)that作连词引导各类从句时,需要准确辨别从句类型。

      一、that 作限定词或代词

      that可以作限定词或代词连接名词或名词短语,也可单独使用,用以指代人或者物。此外,that不仅可以指代单独的人或物,还可以指代一句话。

      例:Furthermore, in the early days of long line fishing, a lot of fish were lost to sharks after they had been hooked. That is no longer a problem, because there are fewer sharks around now. [2006, text3]

      分析:

      A.分析句子结构。Furthermore, in the early days of long line fishing, a lot of fish were lost to sharks //after they had been hooked. That is no longer a problem, //because there are fewer sharks around now.

      第一个句子的主句为a lot of fish were lost to sharks,介词短语in the early days of long line fishing作状语,after引导时间状语从句。第二个句子主句是That is no longer a problem, that为代词,because引导原因状语从句。

      B.分析that指代。that指代第一句话,“a lot of fish were lost to sharks after they had been hooked”,其中after引导时间状语从句。

      C.译文:而且,在使用多钩长线捕鱼的初期,许多鱼被钩住后又被鲨鱼夺走。这不再是一个问题,因为附*的鲨鱼更少了。

      二、that作副词表示程度,相当于so

      例:It isn’t all that cold. 天没有那么冷。

      三、that作连词引导各类从句

      (1)that引导名词性从句

      that后面连接一个完整的陈述句,可以位于主语、宾语、表语或同位语的位置,分别引导主语从句、宾语从句、表语从句和同位语从句。此时,that没有实意,而且不在从句中做任何成分。that引导主语从句和同位语从句时不可以省略。

      例1:That the plates are movingis now beyond dis*. (主语从句)

      地球板块是在漂移的,这一事实毋庸置疑。

      例2:The truth is that everyone should take care of orphan, not just the authorities.(表语从句)

      事实是,所有人都应该照顾孤儿,而不仅仅是完全由*承担。

      例3:All people believed that it was right to rescue the temple. (宾语从句)(注:that可以省略)

      所有人都认为拯救古庙是正确的。

      例4:The students expressed their hope that they could be admitted by that university.(同位语从句)

      学生们表达了他们向被这所大学录取的愿望。

      (2)that引导定语从句

      that引导定语从句,在从句中充当主语、表语或者宾语,既可以指代人,也可以指代物。that在定语从句中作宾语时,引导词that可以省略。

      例1:The professor that you admire most will visit our university next month.

      你敬仰的那个教授下月会到我们学校参观。

      例2:This is one of the subways that will be put into use in two years.

      这是未来两年内将开通的地铁之一。

      例3:I have nothing that is worth reading.

      我没有什么值得一读的东西。

      (注:当先行词中有不定代词、形容词最高级、序数词或者先行词被the only,the very等限定词修饰等情况下,定语从句引导词也只能用that。)

      (3)that与其他单词结合引导状语从句

      that可以和其他单词结构共同引导状语从句,例如such...that,so...that等引导结果状语从句,in order that,so that等引导目的状语从句,in that,now that,on the grounds that等引导原因状语从句,suppose/supposing/assume/assuming/provided/providing that,on condition that等引导条件状语从句等。

      例1:She has made suchrapid progress thatbefore long she could pass the exam.

      她进步很快,不久就能通过考试的。

      例2:You should make full use of this opportunityso thatyou can get rich experience.

      你应该充分利用这次机会,以便获得丰富的经验。

      例3:Supposing thatyou were in my position, what would you do?

      如果你在我的位置,你会怎么做?

      例4:On condition thatyou were lost in the desert, you should ask for help as soon as possible.

      如果你在沙漠中迷路,你应该尽早寻求帮助。

      (4)that引导强调句

      “It is/was+被强调部分+that从句”是高频使用的一种强调句型,其中被强调部分可以作从句的主语、宾语和状语等。强调句中去掉“it is/was”和“that”后,句子成分和语义仍然完整。

      例:It was after the war was over that Einstein was able to come back to his research work again.

      战争结束后爱因斯坦才能重新进行他的研究工作。

      拓展阅读

      关系代词that 的用法

    [阅读全文]...

2022-07-08 00:31:09
enjoy的用法及短语 - 句子
enjoy的用法及短语 - 语录
enjoy的用法及短语 - 说说
enjoy的用法及短语 - 名言
enjoy的用法及短语 - 诗词
enjoy的用法及短语 - 祝福
enjoy的用法及短语 - 心语