Question: I'm working on a link list and not currently able to remove a speficic node by a key value. I ask a helper at my school and he is not sure why it isn't working.(There is also a lot of try-catches for another issue I apologize for how gross it looks)

Here is my remove method:

```
public void remove(int key) throws Exception {
        Node tmp = first;
        Node pred = first;

        while (tmp != null) {
            if (tmp.keyValue == key) {
                pred = tmp;
                tmp = tmp.next;

            } else {
                tmp = tmp.next;
            }

        }

```

Here is my main method creaing the list and trying to remove it and print it:

```
OrderedLinkedList oLL3 = new OrderedLinkedList();
        try {
            oLL3.insert("Should be removed", 5);
            oLL3.insert("Shouldn't be removed 2nd", 15);
            oLL3.insert("Shouldn't be removed", 10);
        } catch (Exception e) {
            System.out.println("Error: Two nodes with the same key value and the newest one won't be stored.");
        }
        try {
            oLL3.remove(5);
        } catch (Exception r) {
            System.out.println("Error:No nod with the key value to be removed");
        }
        System.out.print("toString test removing node: \n" + oLL3.toString());

        System.out.println("Number of nodes in the List:" + oLL3.listCount());

        }

```

Answer: 
No, the `import` and `export` keywords are not Angular2 specific.

import
======

The import statement is used to import functions, objects or primitives that have been exported from an external module, another script, etc. Basically we use the `import` module to load the Angular2 bundles. For example:

```
'import {Component, and many more here....} from angular2/core`

```

Here, `Component` is a module which is being imported from the bundles of Angular2. `angular2/core` is not a path - rather, it is predefined bundle of Angular2. If you look at the source code of [angular bundle](https://code.angularjs.org/2.0.0-beta.1/angular2.dev.js), you can see there's `System.register("angular2/core", ....` - for this, we have already imported `system.js` before our Angular in the `index.html` file. `system.js` is the module loader here.

The `import` feature is not implemented in any browsers natively at this time. It is implemented in many transpilers, such as the Traceur Compiler, Babel or Rollup. For more information about the `import` module, you [can read this tutorial](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import) about the import module. For the list of imports for Angular2 you can read about this [here](https://stackoverflow.com/a/34804834/5043867).

export
======

As it is clear from the name, the `export` statement is used to export functions, objects or primitives from a given file (or module). `export` is just an identifier so that it can be imported via import in another script. `export` is also an ES6 module like the import module. An article about `export` is [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/export). As suggested by Eric in the comments, we have used the export class in the Angular2 project to export classes of the component. For an example, you can refer to my repo [here](https://github.com/MrPardeep/Angular2-DatePicker).
It is modules of ECMAScript 6.
<https://hacks.mozilla.org/2015/08/es6-in-depth-modules/>