Preview

Stylistic Analysis of the Text "The Last Leaf

Good Essays
Open Document
Open Document
1540 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Stylistic Analysis of the Text "The Last Leaf
/* * 请完善这里的注释 */ package javafxgrouping;

/** * * @author 孙平 094632220 */ public class StudentEntity { //从这里开始编写你的代码 private String id; private String name; private String className;

public StudentEntity(){
}

public StudentEntity(String aID, String aName, String className) { this.id = aID; this.name = aName; this.className = className;
}

public String getId() { return id; }

public void setId(String id) { this.id = id; }

public String getName() { return name; }

public void setName(String name) { this.name = name; }

public String getClassName() { return className; }

public void setClassName(String className) { this.className = className; }

@Override public String toString() { String str = id + "," + name + "," + className ; return str; }

}

/* * 文件名: TaDB.java * ----------------------------- * 该类用一个HashMap在内存中保存所有助教的记录。HashMap查找关键字为id(研究生学号)。 * 构造函数从文件中读取研究生记录,并完成对名称为taMap的HashMap的构建。 * 除构造函数以外,给类对外提供的方法(public方法): * TaEntity findEntry(String id):按研究生学号查找一个研究生实体对象。 * String findName(String id):按研究生学号查找研究生姓名。 * int rows():返回研究生的数量 * Iterator<String> getIterator():返回查找键(研究生学号)的迭代器。 */ package javafxgrouping;

import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.ArrayList; import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.StringTokenizer;

/** * * @author 你的学号和姓名 */ public class TaDB { /*请编写代码请完成该类*/

private Map<String, TaEntity> taMap; //保存全部助教的散列表(HashMap)

/* 构造函数 * 创建一个新TaDB,用参数指定的文件(TA.txt)数据对助教数据库进行初始化。 * 如果指定的文件不存在或读取文件发生错误,构造函数都会抛出错误异常。 */ public TaDB(String filename) { taMap = new HashMap<>(); //初始化散列表

/*打开文件*/ FileReader fr = null; try {

You May Also Find These Documents Helpful

  • Good Essays

    PASSAGE: “I have been afraid of putting an air in a tire ever since I saw a tractor tire blow up and throw Newt Hardbine’s father over the top of the Standard Oil Sign.” (pg. 1.Barabara Kingsolver)…

    • 1912 Words
    • 8 Pages
    Good Essays
  • Good Essays

    In the novel, The Poisonwood Bible, Kingsolver uses both short and long sentences to show Rachel’s aging in the story and also uses run on sentences to show how scattered Rachel’s thoughts are. At the start of the story, Rachel is only fifteen years old and only uses basic sentences such as “Then he just stopped, just froze perfectly still” (27). Her limited vocabulary and poor grammar shows that she is young and has not been very well educated. As Rachel grows, as does her word choice and sentence structure. When Rachel is about fifty, she begins to use more complex sentences. One example is “I have a little sign in every room telling guests they are expected to complain at the office between the hour of nine and eleven daily” (511). This…

    • 253 Words
    • 2 Pages
    Good Essays
  • Better Essays

    The novel, A Lesson before Dying, was written by Ernest J. Gaines in 1993. Gaines was born on the River Lake plantation in Louisiana, where he was raised by his aunt, Miss Augusteen Jefferson. Racism was prevalent shown by the whites-only libraries in Louisiana. After 15 years of living in Louisiana, Gaines moved to California, although he states Louisiana never left him. California had libraries available for the blacks also. In California, he lived with his mother and which inspired him to the point of writing about six novels and scores of short stories. In 1953, Gaines was drafted into the Army, and he later went on to study creative writing at Stanford University. While in the library, Gaines…

    • 1176 Words
    • 5 Pages
    Better Essays
  • Good Essays

    Throughout the novel, Hawthorne uses plant imagery to symbolize both the negative and positive character traits and to set the mood of the novel. The Scarlet Letter, by Nathaniel Hawthorne takes place during the age of Puritanism in Boston where a young and attractive Puritan woman commits adultery with the Reverend Mr. Dimmesdale. Chillingworth, Hesters' husband, whom everyone thought was captured by Indians comes to town, but only Hester knows his true identity. Chillingworth vows to figure out who Hesters' lover is and he succeeds. Ultimately, this novel contains deception and guilt which is in the form of plant imagery.…

    • 729 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Mary Shelley’s massively influential novel, Frankenstein, uses many shrewd literary devices. Robert Walton’s letter to his sister on August 13th is but one example of Shelley’s keen writing style. Although Shelley tells the majority of the novel through Victor Frankenstein’s memories, she begins the novel with letters from Robert Walton to his sister, Margaret Saville. These letters serve as an introduction to the main story, but they contain information just as important as that in the main story. In particular, the letter written on August 13th demonstrates her masterful use of tone and point of view. This letter also shows Shelley’s considerable ability to paint a character’s personality in a few lines of prose through descriptive language.…

    • 881 Words
    • 4 Pages
    Good Essays
  • Good Essays

    The book Of Mice and Men has a major theme put in the story which is the “American Dream”. Although everyone’s dream dies with Curley’s wife in the end. Lennie, George, Candy, and Crooks had a dream set together, and when George has to kill Lennie that dream died with him and all of the men sunk more into the depressions hold (they became depressed). The characters talked about all have something in common, they contain a lack of confidence from something they cannot change. These characters feel that this external limitation of theirs will keep them from surviving the depression.…

    • 773 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    * This program allows a user to calculate a mortgage payment based on their input.…

    • 469 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Neolithic Revolution Food: seeds, nuts, fruits, plants (gatherers) Eventually: small to large game (hunters) Hunting = working together, tools, and communication Hunting = migration, move from Africa to Asia Homo sapiens – 100,000 to 400,000 years ago first appear What is the Neolithic Revolution? Neolithic Revolution: agricultural revolution.…

    • 362 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Of Mice and Men is a novel about two men and their struggle to reach their dreams of owning their own ranch. George Milton and Lennie Small are best friends, who despite of all their extremely difference personalities, but still manage to work together, travel together and get rid of anything that gets in their way. The friendship between George and Lennie is prevalent throughout the book, but it is shown most explicitly in their plan to live on a farm together in the future. The way in which this dream is articulated to represent the idealized friendship they share. The author Steinbeck uses nearly all of the characters in this novel to express the importance of having a real and true friendship. 
However, a large part in the novel Of Mice and Men expresses the loneliness suffered by many of the characters and their longing for companionship. Each of these characters searches for friends who truly care about each other throughout the story. The main theme that the author attempts to convey through various dialogues between characters is basically the brother kind of love between Lennie and George: the theme of an idealized male friendship.…

    • 1226 Words
    • 5 Pages
    Better Essays
  • Good Essays

    How to you feel now a days? I hope all is well. I am sure Aunt Rosie would not mind to keep you company.…

    • 509 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    “Somebody tell me- tell me, who decides which woman is suppose to wear pearls in this world? I tell you I am a man- and I think my wife should wear some pearls in this world” (Hansberry 143). Walter Lee, the poor soul and victim of the society in the 1950s Chicago, just wanted…. The Raisin in the Sun by Lorraine Hansberry focuses on an oppressed black family, the Youngers, as they tackle destruction of dreams, racism, and discrimination. Walter Lee the ambitious, proud protagonist faces many challenges brought upon him by the antagonist, society. In the beginning of the drama, the family's abominable situation comes to light. With the detailed description of…

    • 1781 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    In the early 1930’s in the small town by the name of Maycomb lived a family of a wealthy lawyer, two outgoing children, and their ever so helpful housekeeper. This story takes us through a huge problem within the south and the struggles the Finch family later face due to the outrageous outcome of Mr.Finch’s actions.…

    • 1110 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    “You can make bad choices and find yourself in a downward spiral or you can find something that gets you out of it.”-Ray LaMontagne…

    • 1337 Words
    • 6 Pages
    Powerful Essays
  • Better Essays

    I believe Mark Twain’s work is worthy to be considered American literature reasons being as follows:…

    • 1153 Words
    • 5 Pages
    Better Essays
  • Good Essays

    This is one of a group of 26 poems that William Blake published in 1793. The poems collectively are known as Songs of Experience. Blake said that his poems are about what he calls a state of "innocence," and how it turns in on itself after it has been suppressed and forced to conform to rules, systems, and doctrines, which he calls a state of "experience”. This also comes from the fall of innocence experienced by Adam and Eve when they ate from the forbidden fruit in the Garden of Eden.…

    • 836 Words
    • 4 Pages
    Good Essays