Because of a lapse in government funding, the information on this website may not be up to date, transactions submitted via the website may not be processed, and the agency may not be able to respond to inquiries until appropriations are enacted. The NIH Clinical Center (the research hospital of NIH) is open. For more details about its operating status, please visit cc.nih.gov. Updates regarding government operating status and resumption of normal operations can be found at OPM.gov.

The SPECIALIST Lexicon

Example - Map

I. Task
Map item to a new form while iterating through the collection.

II. Notes

  • Java 7 - getter
  • Java 8
    • map (T -> R)
    • map (Function<T,R>)

III. Java Codes

  • Ex3_1_Map.java
    => retrieve base form of all records that are adv or adj
    • Field 2: category is "adv" or "adj"
    • retrieve Field 5: base form
  • Ex3_2_uSort.java
    => Distinct & sort
  • Ex3_2_uSort.java
    => Sort(Comparator<T>)
    => Sort by category
    => Reversed sort
    => Composed sort

IV. Results