This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"source": "demo.xml", | |
"namespaces": { | |
"xlink": "http://www.w3.org/1999/xlink", | |
"dhbw": "http://dhbw-mannheim.de" | |
}, | |
"xpaths" : [ | |
{ | |
"expr": "//comment()" | |
},{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> | |
<lehrveranstaltungen | |
status="akkreditiert" | |
xmlns="http://dhbw-mannheim.de" | |
xmlns:xlink="http://www.w3.org/1999/xlink"> | |
<!-- Modul muss überarbeitet werden... --> | |
<modul> | |
<vorlesung id="191" | |
xlink:type="simple" | |
xlink:href="https://www.dhbw-mannheim.de/web_entwicklung"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
# Intro | |
Evaluates a set of XPath expressions against an XML file. | |
Usage: node xpaths_evaluator.js <spec.json> | |
The specification document is a JSON file with the specified JSON schema (see `specSchema` below). | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package code; | |
public class DoublyLinkedList<E> { | |
private static class Node<E> { | |
E value; | |
Node<E> next; | |
Node<E> previous; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.function.BiFunction; | |
import java.util.function.Function; | |
public class FunctionalList<E> { | |
private E[] elements; | |
private int size; | |
@SuppressWarnings("unchecked") | |
public FunctionalList(int capacity) { |