Product SiteDocumentation Site Adding to an Existing List
These are "instance methods," meaning that they operate on a specific list.
  • put( index, item ) adds item into the List at index number index.
  • add( item ) adds item to the end of a List.
  • addFirst( item ) adds item to the beginning of a List.