Product SiteDocumentation Site

11.3.6.2.2. 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.