{
  "translations": {
    "en": {
      "sc1": "The linked list before insertion. 15 is the value to be inserted.",
      "sc2": "Create a new link node.",
      "sc3": "Copy the value of 'it', which is 15, to the new node.",
      "sc4": "The new node's <code>next</code> field is assigned to point to what <code>curr</code> pointed to.",
      "sc5": "The new node's <code>prev</code> field is assigned to point to what <code>curr.prev()</code> pointed to.",
      "sc6": "<code>curr</code> points to the new link node.",
      "sc7": "The <code>curr.prev()</code>'s <code>next</code> field is assigned to point to the new link node, which is now pointed by <code>curr</code>.",
      "sc8": "<code>curr.next()</code>'s <code>prev</code> field is assigned to point to the new link node.",
      "sc9": "The new link node is in its correct position in the list.",
      "sc10": "Increase the list size by 1."
    }
  },
  "code": {
    "java": [{
      "url": "../../../SourceCode/Java/Lists/DList.java",
      "lineNumbers": false,
      "startAfter": "/* *** ODSATag: DListInsert *** */",
      "endBefore": "/* *** ODSAendTag: DListInsert *** */",
      "tags": {
        "sig": 1,
        "new": 2,
        "setNext": 3,
        "setElem": 4,
        "size": 5,
        "return": 6
      }
    }],
    "java_generic": [{
      "url": "../../../SourceCode/Java_Generic/Lists/DList.java",
      "lineNumbers": false,
      "startAfter": "/* *** ODSATag: DListInsert *** */",
      "endBefore": "/* *** ODSAendTag: DListInsert *** */",
      "tags": {
        "sig": 1,
        "new": 2,
        "setNext": 3,
        "setElem": 4,
        "size": 5,
        "return": 6
      }
    }]
  }
}
