Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a85228cb9 | ||
|
|
1dc36d6457 | ||
|
|
da6db310d7 | ||
|
|
0f13ac3ecf | ||
|
|
3877fa2001 | ||
|
|
ec1f78df24 | ||
|
|
2a9547060f | ||
|
|
8d1698133e | ||
|
|
36543b108a | ||
|
|
dc6bd5c19f | ||
|
|
bdd9485c1a | ||
|
|
23e6ff5bbe | ||
|
|
b86f780237 | ||
|
|
fa95e34b79 | ||
|
|
13d091da29 | ||
|
|
e23b55517e | ||
|
|
52d3a5908e | ||
|
|
a85932a67f | ||
|
|
51dbf2f5fa | ||
|
|
3380531e56 | ||
|
|
0f603a4dcf | ||
|
|
1076392257 | ||
|
|
6f25750b54 | ||
|
|
2a7520c861 | ||
|
|
1ef79453a3 | ||
|
|
6c9e4dc679 | ||
|
|
bca08de57e | ||
|
|
ee81c3a200 | ||
|
|
61e7841de8 | ||
|
|
8176f0114a | ||
|
|
863f1ec8c3 | ||
|
|
e81b56c81d | ||
|
|
6713294a5a | ||
|
|
fdeb6bee53 |
No files matched your search
@@ -1,10 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
|
||||
<attributes>
|
||||
<attribute name="module" value="true"/>
|
||||
</attributes>
|
||||
</classpathentry>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
<classpathentry kind="output" path="bin"/>
|
||||
</classpath>
|
||||
@@ -1,3 +1,4 @@
|
||||
.idea
|
||||
.metadata
|
||||
bin/
|
||||
tmp/
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Lab1</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.jdt.core.javabuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.jdt.core.javanature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@@ -1,27 +0,0 @@
|
||||
/*
|
||||
* Ziad Arafat
|
||||
* I just imported my strToFile function from the fileops package I created
|
||||
*/
|
||||
|
||||
import fileops.fileops;
|
||||
import java.io.IOException;
|
||||
public class Addition {
|
||||
|
||||
/**
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
||||
int number = 10;
|
||||
int step = 1;
|
||||
int summation =0;
|
||||
|
||||
for (int i=0; i<number; i++){
|
||||
summation+=step;
|
||||
step *= 2;
|
||||
}
|
||||
|
||||
System.out.println("Summation for number " + number +" is: " + summation);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<output url="file://$MODULE_DIR$/bin" />
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
|
||||
</content>
|
||||
<orderEntry type="jdk" jdkName="11" jdkType="JavaSDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
@@ -1,178 +0,0 @@
|
||||
package fileops;
|
||||
|
||||
import java.io.FileReader;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
|
||||
/*
|
||||
* Ziad Arafat
|
||||
* Used powerpoint functions as reference
|
||||
* I then created seperate functions to get and store the column names and the data
|
||||
* I used switch statements to only print the specific columns and checked the age
|
||||
* IMPORTANT: Check the README
|
||||
*/
|
||||
public class fileops {
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
writeData(readCSV("core_dataset.csv"),
|
||||
readCSVCols("core_dataset.csv"),"young_employee.csv");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Read the data from the CSV and return as a 2D String array.
|
||||
public static String[][] readCSV(String inFname) throws IOException {
|
||||
BufferedReader inputStream = new BufferedReader(new FileReader(inFname));
|
||||
String line;
|
||||
int lineno = 1;
|
||||
String[][] data = new String[302][20];
|
||||
while ((line = inputStream.readLine()) != null) {
|
||||
String[] numbers = line.split(",");
|
||||
if (lineno == 1) {
|
||||
System.out.println();
|
||||
}else {
|
||||
data[lineno-2] = numbers;
|
||||
}
|
||||
lineno++;
|
||||
}
|
||||
inputStream.close();
|
||||
|
||||
return(data);
|
||||
}
|
||||
|
||||
|
||||
// Read only the column labels from the fiile and store in it's own 1D array for later use
|
||||
public static String[] readCSVCols(String inFname) throws IOException {
|
||||
BufferedReader inputStream = new BufferedReader(new FileReader(inFname));
|
||||
String line = inputStream.readLine();
|
||||
String[] cols = new String[25];
|
||||
String[] labels = line.split(",");
|
||||
cols = labels;
|
||||
inputStream.close();
|
||||
return(cols);
|
||||
}
|
||||
|
||||
// Write data from 2D String array containing data and 1D String array containing labels
|
||||
public static void writeData(
|
||||
String[][] inData, String[] inDataLabels, String outFname
|
||||
) throws IOException {
|
||||
PrintWriter outputStream = null;
|
||||
Integer ageInt;
|
||||
String ageStr;
|
||||
|
||||
// print the data labels to the file
|
||||
try {
|
||||
outputStream = new PrintWriter(new FileWriter(outFname));
|
||||
for (int j = 0; j < inDataLabels.length
|
||||
&& (inDataLabels[j] != null); j++) {
|
||||
|
||||
// This switch case is to ensure only the correct column labels are used in the labels array.
|
||||
switch (inDataLabels[j]) {
|
||||
case "Employee Fname":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Employee Lname":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Employee Number":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "State":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Zip":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Age":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Sex":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
// print the data to the file
|
||||
outputStream.println();
|
||||
for (int i = 0; (i < inData.length-1) && (inData[i] != null); i++) {
|
||||
// I parse the age value to an integer for checking age.
|
||||
ageStr = new String(inData[i][6]);
|
||||
ageInt = Integer.parseInt(ageStr);
|
||||
if (ageInt <= 30) {
|
||||
for (int j = 0; j < inDataLabels.length
|
||||
&& (inData[i][j] != null); j++) {
|
||||
|
||||
// This switch case is to ensure only the correct column labels are used in the data array.
|
||||
switch (inDataLabels[j]) {
|
||||
case "Employee Fname":
|
||||
System.out.println(inData[i][j]);
|
||||
System.out.println();
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Employee Lname":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Employee Number":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "State":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Zip":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Age":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Sex":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
// print a newline when we finish a row
|
||||
outputStream.println();
|
||||
}
|
||||
}
|
||||
|
||||
} finally {
|
||||
if (outputStream != null) {
|
||||
outputStream.close();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// This function is not used here it is for later use. It's a simple function to write strings to a file.
|
||||
public static void strToFile(String inStr, String outFname)
|
||||
throws IOException {
|
||||
String inputStr;
|
||||
PrintWriter outputStream = null;
|
||||
try {
|
||||
inputStr = new String(inStr);
|
||||
outputStream = new PrintWriter(new FileWriter(outFname));
|
||||
outputStream.println(inputStr);
|
||||
} finally {
|
||||
if (outputStream != null) {
|
||||
outputStream.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,19 +1,17 @@
|
||||
# CS-272 - Lab 1
|
||||
# CS 272 Labs Ziad Arafat
|
||||
|
||||
- Compiles with Java 11 on eclipse.
|
||||
- Place I/O files in "root" folder (uppermost in eclipse)
|
||||
## Structure
|
||||
- All the source files are in /src
|
||||
- all the supplementary files are in the root directory.
|
||||
|
||||
## IDE used
|
||||
- I am using IntelliJ IDEA because it has much better git support than Eclipse.
|
||||
|
||||
|
||||
## Important notes
|
||||
|
||||
### 1
|
||||
I edited the data file to have a seperate Firstname and Lastname column.
|
||||
I did this because all the values were separated by commas incuding the
|
||||
first and last name so this was the most practical fix I could think of in the alloted time.
|
||||
|
||||
|
||||
### 2
|
||||
When I first started the Lab I thought "copy running output to file" meant to programatically write the results of the code to the file.
|
||||
e.g for the addition to output the answer of the addition to the file.
|
||||
Near the deadline I was informed that this actually just meant to run them and paste the output manually to the file.
|
||||
So that's what I did.
|
||||
## Notes
|
||||
### Lab 1
|
||||
### Lab 2
|
||||
### Lab 3
|
||||
### Lab 4
|
||||
- created recursive functions before Dr. Cao mentioned that we can't use them
|
||||
in class.
|
||||
@@ -1,20 +0,0 @@
|
||||
import java.io.IOException;
|
||||
|
||||
/*
|
||||
* Ziad Arafat
|
||||
* I just imported my strToFile function from the fileops package I created
|
||||
*/
|
||||
|
||||
import fileops.fileops;
|
||||
|
||||
|
||||
public class Welcome {
|
||||
/**
|
||||
* @param args
|
||||
*/
|
||||
public static void main(String[] args) throws IOException {
|
||||
|
||||
System.out.println("Welcome to Java");
|
||||
System.out.println(System.currentTimeMillis());
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
https://github.com/RustyRaptor/CS-272.git
|
||||
@@ -3,7 +3,6 @@
|
||||
* I just imported my strToFile function from the fileops package I created
|
||||
*/
|
||||
|
||||
import fileops.fileops;
|
||||
import java.io.IOException;
|
||||
public class Addition {
|
||||
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
import java.util.Arrays;
|
||||
import java.util.EmptyStackException;
|
||||
|
||||
public class ArrayQueue <E> implements QueueInterface {
|
||||
private E[] data;
|
||||
private int front, rear;
|
||||
private int size;
|
||||
|
||||
|
||||
public ArrayQueue() {
|
||||
this.data = (E[]) new Object[10];
|
||||
this.front = 0;
|
||||
this.rear = 0;
|
||||
this.size = 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void enqueue(Object o) {
|
||||
ensureCapacity();
|
||||
data[rear] = (E) o;
|
||||
rear++;
|
||||
size++;
|
||||
}
|
||||
|
||||
@Override
|
||||
public E dequeue() {
|
||||
if (isEmpty()) {
|
||||
throw new EmptyStackException();
|
||||
}
|
||||
|
||||
size--;
|
||||
if (!isEmpty()) {
|
||||
return data[front++];
|
||||
}
|
||||
return data[0];
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public void ensureCapacity() {
|
||||
if (front > 0 && rear >= data.length-1) {
|
||||
rear = 0;
|
||||
}
|
||||
if (rear < 0) {
|
||||
rear = data.length - 1;
|
||||
}
|
||||
if (front == 0 && rear >= data.length - 1) {
|
||||
E[] bigarr = (E[]) new Object[data.length*2];
|
||||
System.arraycopy(getData(), 0, bigarr, 0, data.length);
|
||||
data = bigarr;
|
||||
}
|
||||
if (rear == front && size >= data.length) {
|
||||
E[] bigarr = (E[]) new Object[data.length*2];
|
||||
System.arraycopy(data, front, bigarr, 0,
|
||||
data.length - front);
|
||||
System.arraycopy(data, 0, bigarr,
|
||||
data.length - front,
|
||||
data.length - (data.length - front));
|
||||
data = bigarr;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public E front() {
|
||||
if (isEmpty()) {
|
||||
throw new EmptyStackException();
|
||||
}
|
||||
return data[front];
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
E[] newarr = (E[]) new Object[data.length];
|
||||
System.arraycopy(data, 0, newarr, 0, size);
|
||||
return "ArrayQueue{" +
|
||||
"data=" + Arrays.toString(newarr) +
|
||||
", front=" + front +
|
||||
", rear=" + rear +
|
||||
", size=" + size +
|
||||
'}';
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return size == 0;
|
||||
}
|
||||
public E[] getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(E[] data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public int getFront() {
|
||||
return front;
|
||||
}
|
||||
|
||||
public void setFront(int front) {
|
||||
this.front = front;
|
||||
}
|
||||
|
||||
public int getRear() {
|
||||
return rear;
|
||||
}
|
||||
|
||||
public void setRear(int rear) {
|
||||
this.rear = rear;
|
||||
}
|
||||
|
||||
public int getSize() {
|
||||
return size;
|
||||
}
|
||||
|
||||
public void setSize(int size) {
|
||||
this.size = size;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,48 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class ArraylistStack<E> implements StackInterface {
|
||||
private ArrayList<E> data;
|
||||
private int cnt;
|
||||
|
||||
ArraylistStack() {
|
||||
data = new ArrayList<>();
|
||||
cnt = -1;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean push(Object o) {
|
||||
cnt++;
|
||||
return data.add((E) o);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public E pop() {
|
||||
if (!isEmpty()) {
|
||||
return data.get(cnt--);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public E top() {
|
||||
if (!isEmpty()) {
|
||||
return data.get(cnt);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return data.size();
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return cnt <= -1;
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
return data.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,613 @@
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Node for Binary Tree
|
||||
*
|
||||
* @author Huiping Cao
|
||||
*/
|
||||
class BSTNode {
|
||||
private int data; //the element value for this node
|
||||
private BST left; //the left child of this node
|
||||
private BST right; //the right child of this node
|
||||
|
||||
/**
|
||||
* No-argument constructor
|
||||
*/
|
||||
public BSTNode() {
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor with the initial element
|
||||
*
|
||||
* @param initData: the initial element
|
||||
*/
|
||||
BSTNode(int initData) {
|
||||
data = initData;
|
||||
left = new BST();
|
||||
right = new BST();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor with the initial element, initial left and right children
|
||||
*
|
||||
* @param initData: the initial element
|
||||
* initParent: the initial parent tree
|
||||
* @param initLeft: left child
|
||||
* @param initRight: right child
|
||||
*/
|
||||
public BSTNode(int initData, BST initLeft, BST initRight) {
|
||||
data = initData;
|
||||
left = initLeft;
|
||||
right = initRight;
|
||||
}
|
||||
|
||||
/**
|
||||
* Evaluate whether this node is a leaf node or not
|
||||
*
|
||||
* @return true if it is a leaf node; otherwise, return false.
|
||||
*/
|
||||
public boolean isLeaf() {
|
||||
return (left == null || left.root == null) && (right == null || right.root == null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return the data
|
||||
*/
|
||||
public int getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data set the element in this node
|
||||
*/
|
||||
public void setData(int data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the left child
|
||||
*/
|
||||
public BST getLeft() {
|
||||
return left;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param left the left child to be set
|
||||
*/
|
||||
public void setLeft(BST left) {
|
||||
this.left = left;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the right child
|
||||
*/
|
||||
public BST getRight() {
|
||||
return right;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param right the right child to be set
|
||||
*/
|
||||
public void setRight(BST right) {
|
||||
this.right = right;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Convert this BTNode to a string
|
||||
*/
|
||||
public String toString() {
|
||||
String str = "";
|
||||
|
||||
if (left == null || left.root == null) str += "(null)";
|
||||
else str += "(" + left.root.getData() + ")";
|
||||
|
||||
str += data;
|
||||
|
||||
if (right == null || right.root == null) str += "(null)";
|
||||
else str += "(" + right.root.getData() + ")";
|
||||
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The class for Binary Search Tree
|
||||
*
|
||||
* @author Huiping Cao
|
||||
*/
|
||||
public class BST {
|
||||
protected BSTNode root; //the tree root
|
||||
|
||||
|
||||
/**
|
||||
* Get the left subtree of this tree
|
||||
*
|
||||
* @return the left subtree of this tree
|
||||
*/
|
||||
private BST getLeftSubtree() {
|
||||
return root.getLeft();
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the right subtree of this tree
|
||||
*
|
||||
* @return the right subtree of this tree
|
||||
*/
|
||||
private BST getRightSubtree() {
|
||||
return root.getRight();
|
||||
}
|
||||
|
||||
/**
|
||||
* Print the tree using in-order traversal strategy
|
||||
*/
|
||||
private void inOrderPrt() {
|
||||
inOrderPrt(0);
|
||||
}
|
||||
|
||||
/**
|
||||
* private, recursive function
|
||||
* I slightly changed the method to print right subtree first
|
||||
* It is to make the display more easier to read
|
||||
* <p>
|
||||
* node
|
||||
*
|
||||
* @param indentation branch
|
||||
*/
|
||||
private void inOrderPrt(int indentation) {
|
||||
if (root != null) {
|
||||
if (getRightSubtree() != null)
|
||||
getRightSubtree().inOrderPrt(indentation + 1);
|
||||
for (int i = 0; i < indentation * 4; i++)
|
||||
System.out.print(" ");
|
||||
|
||||
System.out.println(root.getData());
|
||||
if (getLeftSubtree() != null)
|
||||
getLeftSubtree().inOrderPrt(indentation + 1);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Debug function, print the tree for debugging purpose
|
||||
*/
|
||||
public String toString() {
|
||||
if (root != null) return root.toString();
|
||||
else return null;
|
||||
}
|
||||
|
||||
///////////////////////////////////////
|
||||
///////////////////////////////////////
|
||||
// Please add the functions required for your lab homework here.
|
||||
|
||||
|
||||
/**
|
||||
* inserts an int into the tree
|
||||
*
|
||||
* @param e the integer we want to insert
|
||||
* @return a bool depending if we inserted it or not.
|
||||
*/
|
||||
public boolean insert(int e) {
|
||||
if (this.root == null) {
|
||||
root = new BSTNode(e);
|
||||
return true;
|
||||
}
|
||||
if (root.getData() == e) {
|
||||
return false;
|
||||
}
|
||||
if (this.root != null) {
|
||||
if (this.root.getData() >= e) {
|
||||
return this.getLeftSubtree().insert(e);
|
||||
|
||||
}
|
||||
if (this.root.getData() < e) {
|
||||
return this.getRightSubtree().insert(e);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* remove
|
||||
*
|
||||
* @param e the integer to search and remove.
|
||||
* @return a bool depending if we removed something.
|
||||
*/
|
||||
public boolean remove(int e) {
|
||||
if (this.root == null) {
|
||||
return false;
|
||||
}
|
||||
if (root.getData() == e) {
|
||||
if (getLeftSubtree().root == null && getRightSubtree().root == null) {
|
||||
root = null;
|
||||
} else if (getLeftSubtree().root == null && getRightSubtree().root != null) {
|
||||
root = getRightSubtree().root;
|
||||
} else if (getLeftSubtree().root != null && getRightSubtree().root == null) {
|
||||
root = getLeftSubtree().root;
|
||||
} else if (getLeftSubtree().root != null && getRightSubtree().root != null) {
|
||||
int maxDataLeft =
|
||||
this.getLeftSubtree().removeMax();
|
||||
this.root.setData(maxDataLeft);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
if (root != null) {
|
||||
if (e < root.getData()) {
|
||||
return getLeftSubtree().remove(e);
|
||||
} else if (e > root.getData()) {
|
||||
return getRightSubtree().remove(e);
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* remove max
|
||||
* Removes the max integer in the subtree
|
||||
*
|
||||
* @return the max integer we removed
|
||||
*/
|
||||
private int removeMax() {
|
||||
BST RT = this.getRightSubtree();
|
||||
int maxData;
|
||||
if (RT.root == null) {
|
||||
maxData = this.root.getData();
|
||||
this.root = this.getLeftSubtree().root;
|
||||
return maxData;
|
||||
} else {
|
||||
return RT.removeMax();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Search Recursion
|
||||
*
|
||||
* @param e The int we are looking for
|
||||
* @return The Node of the item we are looking for.
|
||||
*/
|
||||
private BSTNode searchRecursion(int e) {
|
||||
if (this.root == null) {
|
||||
return null;
|
||||
}
|
||||
if (root.getData() == e) {
|
||||
return root;
|
||||
}
|
||||
if (root != null) {
|
||||
if (e < root.getData()) {
|
||||
return getLeftSubtree().searchRecursion(e);
|
||||
} else if (e > root.getData()) {
|
||||
return getRightSubtree().searchRecursion(e);
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Search Non Recursion
|
||||
*
|
||||
* @param e integer to search for
|
||||
* @return The Node of the item we are looking for.
|
||||
*/
|
||||
private BSTNode searchNonRecursion(int e) {
|
||||
BST cursor = this;
|
||||
do {
|
||||
if (cursor.root.getData() == e) {
|
||||
return cursor.root;
|
||||
}
|
||||
if (e < cursor.root.getData()) {
|
||||
cursor = cursor.getLeftSubtree();
|
||||
} else if (e > cursor.root.getData()) {
|
||||
cursor = cursor.getRightSubtree();
|
||||
}
|
||||
} while (cursor.root != null);
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the sum of all items in the tree
|
||||
*
|
||||
* @return sum of all the ints in the tree.
|
||||
*/
|
||||
public int sum() {
|
||||
if (root == null) {
|
||||
return 0;
|
||||
}
|
||||
return root.getData()
|
||||
+ getRightSubtree().sum()
|
||||
+ getLeftSubtree().sum();
|
||||
}
|
||||
|
||||
/**
|
||||
* Test cases provided by the instructor
|
||||
*/
|
||||
private static void test1() {
|
||||
BST tree = new BST();
|
||||
System.out.println("Initial tree:");
|
||||
tree.inOrderPrt(); //test inOrder traversal
|
||||
|
||||
boolean rc;
|
||||
|
||||
// int i = 2;
|
||||
// double b = 1;
|
||||
// while(i < 999){
|
||||
//
|
||||
// tree.insert(i);
|
||||
// i++;
|
||||
// }
|
||||
//test 1: insert method, and test 2 in-order traversal
|
||||
rc = tree.insert(12);
|
||||
System.out.println("\nInsert 12, inserted=" + rc + ", after adding 12:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(6);
|
||||
System.out.println("\nInsert 6, inserted=" + rc + ", after adding 6:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(19);
|
||||
System.out.println("\nInsert 19, inserted=" + rc + ", after adding 19:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(4);
|
||||
System.out.println("\nInsert 4, inserted=" + rc + ", after adding 4:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(8);
|
||||
System.out.println("\nInsert 8, inserted=" + rc + ", after adding 8:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(16);
|
||||
System.out.println("\nInsert 16, inserted=" + rc + ", after adding 16:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(8);
|
||||
System.out.println("\nInsert 8 (second), inserted=" + rc + ", after adding 8:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(5);
|
||||
System.out.println("\nInsert 5, inserted=" + rc + ", after adding 5:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(9);
|
||||
System.out.println("\nInsert 9, inserted=" + rc + ", after adding 9:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(20);
|
||||
System.out.println("\nInsert 20, inserted=" + rc + ", after adding 20:");
|
||||
tree.inOrderPrt();
|
||||
|
||||
System.out.println("Inorder traversal results:");
|
||||
tree.inOrderPrt();
|
||||
System.out.print("\n\n");
|
||||
|
||||
//test 3: search method
|
||||
BSTNode node = tree.searchRecursion(6);
|
||||
System.out.println("searchRecursion 6, node=" + node);
|
||||
node = tree.searchRecursion(22);
|
||||
System.out.println("searchRecursion 22, node=" + node);
|
||||
node = tree.searchRecursion(8);
|
||||
System.out.println("searchRecursion 8, node=" + node + "\n");
|
||||
|
||||
node = tree.searchNonRecursion(6);
|
||||
System.out.println("searchNonRecursion 6, node=" + node);
|
||||
node = tree.searchNonRecursion(22);
|
||||
System.out.println("searchNonRecursion 22, node=" + node);
|
||||
node = tree.searchNonRecursion(8);
|
||||
System.out.println("searchNonRecursion 8, node=" + node);
|
||||
|
||||
// //test 4: remove method
|
||||
rc = tree.remove(30); //test case 0: e does not exist
|
||||
System.out.println("\nRemove 30, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(20); //test case 1: leaf
|
||||
System.out.println("\nRemove 20, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(4); //test case 2: left is empty
|
||||
System.out.println("\nRemove 4, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
|
||||
rc = tree.remove(19); //test case 3: right is empty
|
||||
System.out.println("\nRemove 19, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(6); //test case 4: no subtree is empty
|
||||
System.out.println("\nRemove 6, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(12); //more tests: remove root
|
||||
System.out.println("\nRemove 12, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(8); //more tests
|
||||
System.out.println("\nRemove 8, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(5); //more tests
|
||||
System.out.println("\nRemove 5, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(8); //more tests
|
||||
System.out.println("\nRemove 8, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
rc = tree.remove(16); //more tests
|
||||
System.out.println("\nRemove 16, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
|
||||
System.out.println("\nAdding a series of numbers:");
|
||||
tree.insert(30);
|
||||
tree.insert(20);
|
||||
tree.insert(10);
|
||||
tree.insert(25);
|
||||
tree.insert(28);
|
||||
tree.insert(24);
|
||||
tree.insert(11);
|
||||
tree.insert(5);
|
||||
tree.insert(11);
|
||||
tree.insert(12);
|
||||
tree.insert(50);
|
||||
tree.insert(40);
|
||||
tree.insert(35);
|
||||
tree.inOrderPrt();
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
System.out.print("\n\n");
|
||||
|
||||
System.out.println("\nRemove 20 (removeNode case 4):");
|
||||
tree.remove(20);
|
||||
tree.inOrderPrt();
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
|
||||
System.out.println("Inorder traversal results: ");
|
||||
tree.inOrderPrt();
|
||||
System.out.print("\n");
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
}
|
||||
|
||||
private static void test2() {
|
||||
BST tree = new BST();
|
||||
System.out.println("Ziad's Test Cases");
|
||||
System.out.println("Initial tree:");
|
||||
tree.inOrderPrt(); //test inOrder traversal
|
||||
|
||||
boolean rc;
|
||||
//Just added some extra tests for null cases.
|
||||
tree.remove(1);
|
||||
tree.removeMax();
|
||||
tree.sum();
|
||||
tree.searchRecursion(1);
|
||||
tree.searchNonRecursion(1);
|
||||
|
||||
//test 1: insert method, and test 2 in-order traversal
|
||||
rc = tree.insert(12);
|
||||
System.out.println("\nInsert 12, inserted=" + rc + ", after adding 12:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(6);
|
||||
System.out.println("\nInsert 6, inserted=" + rc + ", after adding 6:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(19);
|
||||
System.out.println("\nInsert 19, inserted=" + rc + ", after adding 19:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(4);
|
||||
System.out.println("\nInsert 4, inserted=" + rc + ", after adding 4:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(8);
|
||||
System.out.println("\nInsert 8, inserted=" + rc + ", after adding 8:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(16);
|
||||
System.out.println("\nInsert 16, inserted=" + rc + ", after adding 16:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(8);
|
||||
System.out.println("\nInsert 8 (second), inserted=" + rc + ", after adding 8:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(5);
|
||||
System.out.println("\nInsert 5, inserted=" + rc + ", after adding 5:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(9);
|
||||
System.out.println("\nInsert 9, inserted=" + rc + ", after adding 9:");
|
||||
tree.inOrderPrt();
|
||||
rc = tree.insert(20);
|
||||
System.out.println("\nInsert 20, inserted=" + rc + ", after adding 20:");
|
||||
tree.inOrderPrt();
|
||||
|
||||
System.out.println("Inorder traversal results:");
|
||||
tree.inOrderPrt();
|
||||
System.out.print("\n\n");
|
||||
|
||||
//test 3: search method
|
||||
BSTNode node = tree.searchRecursion(6);
|
||||
System.out.println("searchRecursion 6, node=" + node);
|
||||
node = tree.searchRecursion(22);
|
||||
System.out.println("searchRecursion 22, node=" + node);
|
||||
node = tree.searchRecursion(8);
|
||||
System.out.println("searchRecursion 8, node=" + node + "\n");
|
||||
|
||||
node = tree.searchNonRecursion(6);
|
||||
System.out.println("searchNonRecursion 6, node=" + node);
|
||||
node = tree.searchNonRecursion(22);
|
||||
System.out.println("searchNonRecursion 22, node=" + node);
|
||||
node = tree.searchNonRecursion(8);
|
||||
System.out.println("searchNonRecursion 8, node=" + node);
|
||||
|
||||
// //test 4: remove method
|
||||
rc = tree.remove(30); //test case 0: e does not exist
|
||||
System.out.println("\nRemove 30, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(20); //test case 1: leaf
|
||||
System.out.println("\nRemove 20, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(4); //test case 2: left is empty
|
||||
System.out.println("\nRemove 4, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
|
||||
rc = tree.remove(19); //test case 3: right is empty
|
||||
System.out.println("\nRemove 19, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(6); //test case 4: no subtree is empty
|
||||
System.out.println("\nRemove 6, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(12); //more tests: remove root
|
||||
System.out.println("\nRemove 12, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(8); //more tests
|
||||
System.out.println("\nRemove 8, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(5); //more tests
|
||||
System.out.println("\nRemove 5, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
|
||||
rc = tree.remove(8); //more tests
|
||||
System.out.println("\nRemove 8, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
rc = tree.remove(16); //more tests
|
||||
System.out.println("\nRemove 16, rc=" + rc);
|
||||
tree.inOrderPrt();
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
|
||||
System.out.println("\nAdding a series of numbers:");
|
||||
tree.insert(30);
|
||||
tree.insert(20);
|
||||
tree.insert(10);
|
||||
tree.insert(25);
|
||||
tree.insert(28);
|
||||
tree.insert(24);
|
||||
tree.insert(11);
|
||||
tree.insert(5);
|
||||
tree.insert(11);
|
||||
tree.insert(12);
|
||||
tree.insert(50);
|
||||
tree.insert(40);
|
||||
tree.insert(35);
|
||||
tree.inOrderPrt();
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
System.out.print("\n\n");
|
||||
|
||||
System.out.println("\nRemove 20 (removeNode case 4):");
|
||||
tree.remove(20);
|
||||
tree.inOrderPrt();
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
|
||||
System.out.println("Inorder traversal results: ");
|
||||
tree.inOrderPrt();
|
||||
System.out.print("\n");
|
||||
System.out.print("sum=" + tree.sum() + "\n");
|
||||
}
|
||||
|
||||
/**
|
||||
* @param args arguments from system
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
//You need to let your program pass the test cases in this function
|
||||
test1();
|
||||
test2();
|
||||
//You can add your own test cases here.
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
|
||||
|
||||
|
||||
/******************************************************************************
|
||||
* DIntNode.java
|
||||
*
|
||||
* A DIntNode provides a node for a doubly linked list with
|
||||
* integer data in each node.
|
||||
*
|
||||
* Lists of nodes can be made of any length, limited only by the amount of
|
||||
* free memory in the heap. But beyond Integer.MAX_VALUE
|
||||
*
|
||||
* @author Huiping Cao
|
||||
*
|
||||
*
|
||||
******************************************************************************/
|
||||
public class DIntNode
|
||||
{
|
||||
private int data; //The integer value for the node
|
||||
private DIntNode next = null; //The next node of the current one
|
||||
//For the last node of a list, this is either null
|
||||
//or is a reference to the dummy tail node
|
||||
private DIntNode prev = null; //The previous node of the current one
|
||||
//For the first node of a list, this is either null
|
||||
//or is a reference to the dummy head node
|
||||
|
||||
/**
|
||||
* No argument constructor
|
||||
*/
|
||||
public DIntNode(){;}
|
||||
|
||||
/**
|
||||
* Initialize a node with a specified initial data
|
||||
* @param initialData: the initial data of this new node
|
||||
* @postcondition This node contains the specified data;
|
||||
* The prev and next are all null references.
|
||||
**/
|
||||
public DIntNode(int initialData)
|
||||
{
|
||||
data = initialData;
|
||||
}
|
||||
|
||||
/**
|
||||
* Initialize a node with a specified initial data and link to the next and prev
|
||||
* nodes. Note that the initialNext and initialPrev may be null,
|
||||
* which indicates that the new node has nothing before and/or after it.
|
||||
* @param initialData: the initial data of this new node
|
||||
* @param initialPrev: the previous node reference of this node
|
||||
* @param initialNext: the next node reference of this node
|
||||
**/
|
||||
public DIntNode(int initialData,DIntNode initialPrev,DIntNode initialNext)
|
||||
{
|
||||
data = initialData;
|
||||
prev = initialPrev;
|
||||
next = initialNext;
|
||||
}
|
||||
|
||||
/**
|
||||
* toString method convert this node's information to a String
|
||||
*/
|
||||
public String toString()
|
||||
{
|
||||
String str="";
|
||||
|
||||
//include previous node's information
|
||||
if(prev==null) str+="(null)";
|
||||
else str += "("+prev.data+")";
|
||||
|
||||
//include the current data
|
||||
str += data;
|
||||
|
||||
//include the next node's information
|
||||
if(next==null) str+="(null)";
|
||||
else str += "("+next.data+")";
|
||||
|
||||
return str;
|
||||
}
|
||||
|
||||
/**
|
||||
* Accessor method to get data from this node.
|
||||
* @param - none
|
||||
* @return the data from this node
|
||||
*/
|
||||
public int getData( )
|
||||
{
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Accessor method to get a reference to the next node after this node.
|
||||
* @param - none
|
||||
* @return a reference to the node after this node (or the null reference if there
|
||||
* is nothing after this node)
|
||||
**/
|
||||
public DIntNode getNext( )
|
||||
{
|
||||
return next;
|
||||
}
|
||||
|
||||
/**
|
||||
* Accessor method to get a reference to the previous node before this node.
|
||||
* @param - none
|
||||
* @return a reference to the node before this node (or the null reference if there
|
||||
* is nothing before this node)
|
||||
**/
|
||||
public DIntNode getPrev( )
|
||||
{
|
||||
return prev;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Modification method to set the data in this node.
|
||||
* @param newData: the new data to place in this node
|
||||
* @postcondition The data of this node has been set to newData.
|
||||
**/
|
||||
public void setData(int newData)
|
||||
{
|
||||
data = newData;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Modification method to set the next link to newnext.
|
||||
* @param newnext: a reference to the node that should appear after this node in the linked
|
||||
* list (or the null reference if there is no node after this node)
|
||||
* @postcondition The link to the node after this node has been set to newnext.
|
||||
**/
|
||||
public void setNext(DIntNode newnext)
|
||||
{
|
||||
next = newnext;
|
||||
}
|
||||
|
||||
/**
|
||||
* Modification method to set the previous link to newprev.
|
||||
* @param newprev a reference to the node that should appear before this node in the linked
|
||||
* list (or the null reference if there is no node before this node)
|
||||
* @postcondition The link to the node before this node has been set to newprev.
|
||||
*/
|
||||
public void setPrev(DIntNode newprev)
|
||||
{
|
||||
prev = newprev;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method increase the value of data by doubling its value
|
||||
* This can be used for testing the clone method
|
||||
*/
|
||||
public void dataDouble()
|
||||
{
|
||||
data = 2*data;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,277 @@
|
||||
public class DoublyLinkedListDummy {
|
||||
private DIntNode head;
|
||||
private DIntNode tail;
|
||||
|
||||
/**
|
||||
* this is used to keep track of the status of the list's emptiness.
|
||||
*/
|
||||
private boolean empty;
|
||||
|
||||
/**
|
||||
* No-arg constructor
|
||||
* sets the head's next to tail and the tail's prev to head
|
||||
* Initializes empty as true.
|
||||
*/
|
||||
public DoublyLinkedListDummy() {
|
||||
this.head = new DIntNode();
|
||||
this.tail = new DIntNode();
|
||||
this.head.setNext(tail);
|
||||
this.tail.setPrev(head);
|
||||
this.empty = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a Node to the end of the list. (after the tail)
|
||||
*
|
||||
* @param element The data to add.
|
||||
* <p>
|
||||
* Time Complexity(worst): O(1)
|
||||
*/
|
||||
public void addEnd(int element) {
|
||||
// new node with element and the previous is the last item
|
||||
// the next is the tail
|
||||
DIntNode newNode = new DIntNode(element, getTail().getPrev(),
|
||||
getTail());
|
||||
|
||||
// set the tail's prev's next to the newNode
|
||||
getTail().getPrev().setNext(newNode);
|
||||
|
||||
// set the tail's prev to the newnode
|
||||
getTail().setPrev(newNode);
|
||||
|
||||
setNotEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes the first node in this list. (The head)
|
||||
* Time Complexity(worst): 0(1)
|
||||
*/
|
||||
public void removeFromHead() {
|
||||
|
||||
// if it's empty return
|
||||
if (checkEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// set the head's next to it's link's link.
|
||||
getHead().setNext(getHead().getNext().getNext());
|
||||
|
||||
// set the head's next's prev to the head.
|
||||
getHead().getNext().setPrev(getHead());
|
||||
|
||||
// check if empty now
|
||||
checkEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* to string which accounts for empty lists.
|
||||
*
|
||||
* @return a string of the list.
|
||||
* Time Complexity(worst): O(n) where n is the size of the list we
|
||||
* are converting to a string.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
if (checkEmpty()) {
|
||||
return "EMPTY LIST";
|
||||
}
|
||||
StringBuilder forward = new StringBuilder("");
|
||||
StringBuilder backward = new StringBuilder("");
|
||||
for (DIntNode cursor = getHead().getNext(); cursor != getTail(); cursor
|
||||
= cursor.getNext()) {
|
||||
forward.append(cursor.getData());
|
||||
if (cursor.getNext() != getTail()) {
|
||||
forward.append("<->");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
for (DIntNode cursor = getTail().getPrev(); cursor != getHead(); cursor
|
||||
= cursor.getPrev()) {
|
||||
backward.append(cursor.getData());
|
||||
if (cursor.getPrev() != getHead()) {
|
||||
backward.append("<->");
|
||||
}
|
||||
}
|
||||
return "DoublyLinkedListDummy: " + "{" + "\n" +
|
||||
"(forward) " + forward.toString() + "\n" +
|
||||
"(backward)" + backward.toString() + "\n" + "}";
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the count of a given data
|
||||
*
|
||||
* @param e the data we want to count occurences of.
|
||||
* @return the count of the data
|
||||
* <p>
|
||||
* Note: In this case the input itself is constant. The real input to
|
||||
* base the time complexity on is the size of the list in the object
|
||||
* it's being called from.
|
||||
* <p>
|
||||
* Time Complexity(worst): O(n) where n is the size of the list.
|
||||
*/
|
||||
public int countOccurrence(int e) {
|
||||
if (checkEmpty()) {
|
||||
return 0;
|
||||
}
|
||||
int count = 0;
|
||||
DIntNode cursor = getHead().getNext();
|
||||
while (cursor != getTail()) {
|
||||
if (cursor.getData() == e) {
|
||||
count++;
|
||||
}
|
||||
cursor = cursor.getNext();
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes all elements that match a given integer from the list.
|
||||
*
|
||||
* @param e an integer to remove from the list.
|
||||
* @return true or false if one was found and removed.
|
||||
* Time Complexity(worst): O(n) where n is the size of the list we are
|
||||
* searching in.
|
||||
*/
|
||||
public boolean removeAll(int e) {
|
||||
if (checkEmpty()) {
|
||||
return false;
|
||||
}
|
||||
DIntNode cursor = getHead().getNext();
|
||||
boolean result = false;
|
||||
while (cursor.getNext() != getTail()) {
|
||||
if (cursor.getData() == e) {
|
||||
cursor.getPrev().setNext(cursor.getNext());
|
||||
cursor.getNext().setPrev(cursor.getPrev());
|
||||
result = true;
|
||||
}
|
||||
cursor = cursor.getNext();
|
||||
}
|
||||
checkEmpty();
|
||||
return result;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* returns a sublist of the current list
|
||||
*
|
||||
* @param beginIdx The starting index of the sublist
|
||||
* @param endIdx The ending index of the sublist
|
||||
* @return a new List being a sublist of this list
|
||||
* Time Complexity(worst): O(n) where n is the number of elements in
|
||||
* the list.
|
||||
* start of the host list to endIdx
|
||||
*/
|
||||
public DoublyLinkedListDummy subList(int beginIdx, int endIdx) {
|
||||
if (checkEmpty()) {
|
||||
return this;
|
||||
}
|
||||
if (beginIdx <= 0 && endIdx >= listLength()) {
|
||||
return this;
|
||||
}
|
||||
if (beginIdx < 0) {
|
||||
beginIdx = 0;
|
||||
}
|
||||
DoublyLinkedListDummy newList = new DoublyLinkedListDummy();
|
||||
DIntNode cursor = getHead().getNext();
|
||||
for (int i = 0; i < endIdx && cursor != getTail(); i++) {
|
||||
if (i >= beginIdx) {
|
||||
newList.addEnd(cursor.getData());
|
||||
}
|
||||
cursor = cursor.getNext();
|
||||
}
|
||||
return newList;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the size of the list
|
||||
*
|
||||
* @return integer of the size
|
||||
* Time Complexity(worst): O(n) where n is the size of the list we
|
||||
* are checking the size of.
|
||||
*/
|
||||
public int listLength() {
|
||||
if (checkEmpty()) {
|
||||
return 0;
|
||||
}
|
||||
int cnt = 2;
|
||||
for (DIntNode cursor = getHead().getNext(); cursor != getTail(); cursor
|
||||
= cursor.getNext()) {
|
||||
cnt++;
|
||||
}
|
||||
return cnt;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* prints a list of all distinct items in the list and their count
|
||||
* Time Complexity(worst): O(n) where n is the size of the list we
|
||||
* are printing.
|
||||
*/
|
||||
public void printStatistics() {
|
||||
if (checkEmpty()) {
|
||||
System.out.println("EMPTY LIST");
|
||||
return;
|
||||
}
|
||||
DoublyLinkedListDummy items =
|
||||
new DoublyLinkedListDummy();
|
||||
for (DIntNode cursor = this.getHead().getNext(); cursor != getTail(); cursor
|
||||
= cursor.getNext()) {
|
||||
if (items.countOccurrence(cursor.getData()) == 0) {
|
||||
items.addEnd(cursor.getData());
|
||||
}
|
||||
}
|
||||
System.out.println("Number | Occurrences");
|
||||
for (DIntNode cursor = items.getHead().getNext(); cursor != items.getTail(); cursor
|
||||
= cursor.getNext()) {
|
||||
System.out.print(cursor.getData() + "\t \t");
|
||||
System.out.print(this.countOccurrence(cursor.getData()) + "\n");
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// getters and setters.
|
||||
public DIntNode getHead() {
|
||||
return head;
|
||||
}
|
||||
|
||||
public void setHead(DIntNode head) {
|
||||
this.head = head;
|
||||
}
|
||||
|
||||
public DIntNode getTail() {
|
||||
return tail;
|
||||
}
|
||||
|
||||
public void setTail(DIntNode tail) {
|
||||
this.tail = tail;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the list to empty
|
||||
*/
|
||||
public void setEmpty() {
|
||||
this.empty = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* set the list to NOT empty
|
||||
*/
|
||||
public void setNotEmpty() {
|
||||
this.empty = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* this checks if the list is empty and sets the status accordingly.
|
||||
*
|
||||
* @return a boolean. True if it's empty False if it's not empty.
|
||||
*/
|
||||
public boolean checkEmpty() {
|
||||
if (getHead().getNext() == getTail() && getTail().getPrev() == getHead()) {
|
||||
setEmpty();
|
||||
return true;
|
||||
}
|
||||
setNotEmpty();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,113 @@
|
||||
public class DoublyLinkedListDummyTest {
|
||||
|
||||
public static void main(String[] args) {
|
||||
announceTest("ADD END");
|
||||
testAddEnd();
|
||||
announceTest("REMOVE FROM HEAD");
|
||||
testRemoveFromHead();
|
||||
announceTest("PRINT STATISTICS");
|
||||
testPrintStatistics();
|
||||
announceTest("SUBLIST");
|
||||
testSubList();
|
||||
announceTest("REMOVEALL");
|
||||
testRemoveAll();
|
||||
}
|
||||
|
||||
public static void announceTest(String name) {
|
||||
for (int i = 0; i < 50; i++) {
|
||||
System.out.print("=");
|
||||
}
|
||||
System.out.println();
|
||||
System.out.println("TESTING " + name);
|
||||
|
||||
System.out.println();
|
||||
}
|
||||
public static void testAddEnd() {
|
||||
DoublyLinkedListDummy test = new DoublyLinkedListDummy();
|
||||
for (int i = 1; i <= 10; i++) {
|
||||
test.addEnd(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
test.addEnd(20);
|
||||
System.out.println(test);
|
||||
|
||||
}
|
||||
|
||||
public static void testRemoveFromHead() {
|
||||
DoublyLinkedListDummy test = new DoublyLinkedListDummy();
|
||||
test.removeFromHead();
|
||||
System.out.println(test);
|
||||
test.removeFromHead();
|
||||
System.out.println(test);
|
||||
for (int i = 1; i <= 10; i++) {
|
||||
test.addEnd(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 5; i++) {
|
||||
test.removeFromHead();
|
||||
}
|
||||
System.out.println(test);
|
||||
|
||||
|
||||
}
|
||||
public static void testPrintStatistics() {
|
||||
DoublyLinkedListDummy test = new DoublyLinkedListDummy();
|
||||
test.printStatistics();
|
||||
test.printStatistics();
|
||||
for (int i = 1; i <= 10; i++) {
|
||||
test.addEnd(i);
|
||||
}
|
||||
test.printStatistics();
|
||||
for (int i = 1; i <= 10; i++) {
|
||||
test.addEnd(i);
|
||||
}
|
||||
test.printStatistics();
|
||||
test.addEnd(10);
|
||||
test.addEnd(5);
|
||||
test.addEnd(1);
|
||||
test.addEnd(10);
|
||||
test.printStatistics();
|
||||
for (int i = 0; i < 5; i++) {
|
||||
test.removeFromHead();
|
||||
}
|
||||
test.printStatistics();
|
||||
for (int i = 0; i < 20; i++) {
|
||||
test.removeFromHead();
|
||||
}
|
||||
test.printStatistics();
|
||||
|
||||
}
|
||||
|
||||
public static void testSubList() {
|
||||
DoublyLinkedListDummy test = new DoublyLinkedListDummy();
|
||||
test.subList(0, 10);
|
||||
test.subList(10, 20);
|
||||
System.out.println(test.subList(0, 10));
|
||||
for (int i = 1; i <= 30; i++) {
|
||||
test.addEnd(i);
|
||||
}
|
||||
System.out.println(test.subList(0, 10));
|
||||
System.out.println(test.subList(10, 20));
|
||||
System.out.println(test.subList(0, 100));
|
||||
System.out.println(test.subList(-1, -10));
|
||||
|
||||
}
|
||||
|
||||
public static void testRemoveAll() {
|
||||
DoublyLinkedListDummy test = new DoublyLinkedListDummy();
|
||||
test.removeAll(0);
|
||||
System.out.println(test);
|
||||
for (int i = 1; i <= 10; i++) {
|
||||
test.addEnd(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
test.removeAll(5);
|
||||
System.out.println(test);
|
||||
for (int i = 1; i <= 5; i++) {
|
||||
test.addEnd(5);
|
||||
}
|
||||
System.out.println(test);
|
||||
test.removeAll(5);
|
||||
System.out.println(test);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.util.Arrays;
|
||||
import java.util.Random;
|
||||
|
||||
/**
|
||||
* @author Ziad Arafat
|
||||
@@ -12,8 +14,17 @@ public class Employee {
|
||||
private int zipCode;
|
||||
private int[] advisors;
|
||||
|
||||
public Employee(String name, int no, int age, String state, int zipCode, int[] advisors) {
|
||||
this.name = name;
|
||||
this.no = no;
|
||||
this.age = age;
|
||||
this.state = state;
|
||||
this.zipCode = zipCode;
|
||||
this.advisors = advisors;
|
||||
}
|
||||
|
||||
// constructor
|
||||
public Employee() {
|
||||
Employee() {
|
||||
this.name = null;
|
||||
this.state = null;
|
||||
this.zipCode = 0;
|
||||
@@ -34,7 +45,9 @@ public class Employee {
|
||||
zipCode = emp.zipCode;
|
||||
no = emp.no;
|
||||
age = emp.age;
|
||||
advisors = emp.advisors;
|
||||
assert false;
|
||||
System.arraycopy(emp.advisors, 0, advisors, 0, emp.advisors.length);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -48,7 +61,7 @@ public class Employee {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public int getNo() {
|
||||
int getNo() {
|
||||
return no;
|
||||
}
|
||||
|
||||
@@ -60,7 +73,7 @@ public class Employee {
|
||||
return age;
|
||||
}
|
||||
|
||||
public void setAge(int age) {
|
||||
void setAge(int age) {
|
||||
this.age = age;
|
||||
}
|
||||
|
||||
@@ -76,15 +89,15 @@ public class Employee {
|
||||
return zipCode;
|
||||
}
|
||||
|
||||
public void setZipCode(int zipCode) {
|
||||
void setZipCode(int zipCode) {
|
||||
this.zipCode = zipCode;
|
||||
}
|
||||
|
||||
public int[] getAdvisors() {
|
||||
private int[] getAdvisors() {
|
||||
return advisors;
|
||||
}
|
||||
|
||||
public void setAdvisors(int[] advisors) {
|
||||
void setAdvisors(int[] advisors) {
|
||||
this.advisors = advisors;
|
||||
}
|
||||
|
||||
@@ -92,7 +105,7 @@ public class Employee {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "Employee [name=" + name + ", no=" + no + ", age=" + age + ", state=" + state + ", zipCode=" + zipCode
|
||||
+ ", advisors=" + Arrays.toString(advisors) + "]";
|
||||
+ ", advisors=" + Arrays.toString(advisors) + "]";
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -109,21 +122,19 @@ public class Employee {
|
||||
return false;
|
||||
}
|
||||
Employee other = (Employee) obj;
|
||||
if (no != other.no) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return no == other.no;
|
||||
}
|
||||
|
||||
// returns all DISTINCT advisors of two employees
|
||||
|
||||
/**
|
||||
* @param e1 an employee object you want to get advisors from
|
||||
* @param e2 another employee object to get advisors from
|
||||
*/
|
||||
public static int[] getAllAdvisors(Employee e1, Employee e2) {
|
||||
private static int[] getAllAdvisors(Employee e1, Employee e2) {
|
||||
if ((e1 == null) || (e2 == null)) {
|
||||
System.out.println("This Employee is NULL");
|
||||
return new int[] { 0, 0, 0 };
|
||||
return new int[]{0, 0, 0};
|
||||
}
|
||||
int[] adv1 = e1.getAdvisors();
|
||||
int[] adv2 = e2.getAdvisors();
|
||||
@@ -134,17 +145,17 @@ public class Employee {
|
||||
removeDup(merged);
|
||||
descBubbleSort(merged);
|
||||
|
||||
int[] newMerged = removeZero(merged);
|
||||
return newMerged;
|
||||
return removeZero(merged);
|
||||
}
|
||||
|
||||
// Merges 2 arrays into 1
|
||||
|
||||
/**
|
||||
* @param arrMerge an empty array you want to merge the two arrays into
|
||||
* @param arr1 the first array (will be placed first in the new array)
|
||||
* @param arr2 the second array (will be inserted after arr1)
|
||||
*/
|
||||
public static void mergeArr(int[] arrMerge, int[] arr1, int[] arr2) {
|
||||
private static void mergeArr(int[] arrMerge, int[] arr1, int[] arr2) {
|
||||
int cnt = 0;
|
||||
for (int i = 0; i < 3; i++) {
|
||||
arrMerge[cnt] = arr1[i];
|
||||
@@ -158,10 +169,11 @@ public class Employee {
|
||||
|
||||
// Sorts an array using bubble sort in descending order
|
||||
// this is done to put the zeroes in an array at the end.
|
||||
|
||||
/**
|
||||
* @param arr the array you want to sort
|
||||
*/
|
||||
public static void descBubbleSort(int[] arr) {
|
||||
private static void descBubbleSort(int[] arr) {
|
||||
int n = arr.length;
|
||||
for (int i = 0; i < n - 1; i++) {
|
||||
for (int j = 0; j < n - i - 1; j++) {
|
||||
@@ -176,10 +188,11 @@ public class Employee {
|
||||
}
|
||||
|
||||
// sets duplicate items in an array to 0
|
||||
|
||||
/**
|
||||
* @param arr the array you want to remove duplicates from
|
||||
*/
|
||||
public static void removeDup(int[] arr) {
|
||||
private static void removeDup(int[] arr) {
|
||||
int n = arr.length;
|
||||
for (int i = 0; i < n - 1; i++) {
|
||||
for (int j = 0; j < n - i - 1; j++) {
|
||||
@@ -194,16 +207,15 @@ public class Employee {
|
||||
}
|
||||
|
||||
// counts number of non-zero items in an array
|
||||
|
||||
/**
|
||||
* @param arr the array you want to count advisors in
|
||||
*/
|
||||
public static int countAdv(int[] arr) {
|
||||
private static int countAdv(int[] arr) {
|
||||
int n = arr.length;
|
||||
int cnt = 0;
|
||||
for (int i = 0; i < n - 1; i++) {
|
||||
if (arr[i] == 0) {
|
||||
continue;
|
||||
} else {
|
||||
if (arr[i] != 0) {
|
||||
cnt++;
|
||||
}
|
||||
}
|
||||
@@ -211,10 +223,11 @@ public class Employee {
|
||||
}
|
||||
|
||||
// creates a new copy of an array without the 0 values
|
||||
|
||||
/**
|
||||
* @param arr the array you want to remove 0s from
|
||||
*/
|
||||
public static int[] removeZero(int[] arr) {
|
||||
private static int[] removeZero(int[] arr) {
|
||||
int cnt = 0;
|
||||
int[] newMerged = new int[countAdv(arr)];
|
||||
for (int i = 0; i < countAdv(arr); i++) {
|
||||
@@ -224,54 +237,27 @@ public class Employee {
|
||||
return newMerged;
|
||||
}
|
||||
|
||||
// random values on an array of employees.
|
||||
/**
|
||||
* @param emps an array of employee objects to set values on
|
||||
*/
|
||||
public static void setAllAdv(Employee[] emps) {
|
||||
int cnt = 0;
|
||||
for (int i = 0; i < emps.length; i++) {
|
||||
if (emps[i] == null) {
|
||||
return;
|
||||
}
|
||||
if (!(emps[i] instanceof Employee)) {
|
||||
return;
|
||||
}
|
||||
emps[i].setName("Student");
|
||||
emps[i].setAdvisors(
|
||||
new int[] { (int) getRandomInt(1, 20), (int) getRandomInt(1, 20), (int) getRandomInt(1, 20) });
|
||||
emps[i].setAge((int) getRandomInt(18, 25));
|
||||
emps[i].setNo((int) getRandomInt(10000, 99999));
|
||||
emps[i].setState("NM");
|
||||
emps[i].setZipCode((int) getRandomInt(87001, 88439));
|
||||
}
|
||||
public static String nameGen() {
|
||||
byte[] array = new byte[7]; // length is bounded by 7
|
||||
new Random().nextBytes(array);
|
||||
|
||||
return new String(array, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
// random values on an array of employees.
|
||||
|
||||
|
||||
// prints out the toString() values of an array of employees
|
||||
/**
|
||||
* @param emps an array of employee objects to get values of
|
||||
*/
|
||||
public static void getAllEmployees(Employee[] emps) {
|
||||
int cnt = 0;
|
||||
for (int i = 0; i < emps.length; i++) {
|
||||
if (emps[i] == null) {
|
||||
return;
|
||||
}
|
||||
if (!(emps[i] instanceof Employee)) {
|
||||
return;
|
||||
}
|
||||
System.out.println(emps[i].toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// generates a random double (to be cast to an int) between a min and max
|
||||
|
||||
/**
|
||||
* @param min the minimum value int
|
||||
* @param max the maximum value int
|
||||
*/
|
||||
public static double getRandomInt(double min, double max) {
|
||||
double x = (int) (Math.random() * ((max - min) + 1)) + min;
|
||||
return x;
|
||||
private static double getRandomInt(double min, double max) {
|
||||
return (int) (Math.random() * ((max - min) + 1)) + min;
|
||||
}
|
||||
|
||||
// Main function
|
||||
@@ -282,13 +268,9 @@ public class Employee {
|
||||
|
||||
Employee Joseph = null;
|
||||
|
||||
Employee[] StudyGroup = { Ziad, Katie, Brianna, Joseph };
|
||||
|
||||
Employee.setAllAdv(StudyGroup);
|
||||
Employee Angel = new Employee(Ziad);
|
||||
Employee.getAllEmployees(StudyGroup);
|
||||
Ziad.setAdvisors(new int[] { 22, 5, 3 });
|
||||
Katie.setAdvisors(new int[] { 10, 22, 3 });
|
||||
Employee Angel = new Employee();
|
||||
Ziad.setAdvisors(new int[]{22, 5, 3});
|
||||
Katie.setAdvisors(new int[]{10, 22, 3});
|
||||
Angel.setName("Angel");
|
||||
Ziad.setName("Ziad");
|
||||
Brianna.setName("Brianna");
|
||||
@@ -301,7 +283,7 @@ public class Employee {
|
||||
|
||||
System.out.println(Ziad.toString());
|
||||
System.out.println(Angel.toString());
|
||||
Ziad.setAdvisors(new int[] { 0, 0, 0 });
|
||||
Ziad.setAdvisors(new int[]{0, 0, 0});
|
||||
System.out.println(Angel.toString());
|
||||
System.out.println(Ziad.toString());
|
||||
}
|
||||
|
||||
@@ -0,0 +1,275 @@
|
||||
import java.io.BufferedReader;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
|
||||
/**
|
||||
* @author ziad
|
||||
*/
|
||||
public class EmployeeSet {
|
||||
private int cnt;
|
||||
private Employee[] empArr;
|
||||
private boolean sorted = false;
|
||||
|
||||
/**
|
||||
* regular constructor
|
||||
*/
|
||||
public EmployeeSet() {
|
||||
this.cnt = 0;
|
||||
this.empArr = new Employee[10];
|
||||
}
|
||||
|
||||
/**
|
||||
* copy constructor
|
||||
*
|
||||
* @param obj an EmployeeSet Object containing non-null values.
|
||||
*/
|
||||
public EmployeeSet(Object obj) {
|
||||
if (obj == null) {
|
||||
return;
|
||||
}
|
||||
if (obj instanceof EmployeeSet) {
|
||||
EmployeeSet emps = (EmployeeSet) obj;
|
||||
this.cnt = emps.cnt;
|
||||
this.empArr = new Employee[emps.empArr.length];
|
||||
System.arraycopy(
|
||||
emps.empArr, 0,
|
||||
this.empArr, 0, emps.cnt);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* add function
|
||||
*
|
||||
* @param a Emplyee object to add
|
||||
*/
|
||||
public void add(Employee a) {
|
||||
if (!(contains(a))) {
|
||||
ensureCapacity(cnt + 1);
|
||||
this.empArr[this.cnt++] = a;
|
||||
this.sorted = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param a Employee object to look for
|
||||
* @return true or false if it was contained
|
||||
*/
|
||||
public boolean contains(Employee a) {
|
||||
if (a == null) {
|
||||
return false;
|
||||
}
|
||||
for (int i = 0; i < cnt; i++) {
|
||||
if (a.equals(empArr[i])) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* removes an employee by their ID number
|
||||
*
|
||||
* @param eno employee number
|
||||
* @return true or false if it found one to remove
|
||||
*/
|
||||
public boolean remove(int eno) {
|
||||
for (int i = 0; i < cnt; i++) {
|
||||
if (empArr[i].getNo() == eno) {
|
||||
empArr[i] = empArr[--cnt];
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* ensures that the array has enough space for new employees
|
||||
*
|
||||
* @param minCap the minimum capacity required. Varies by case
|
||||
*/
|
||||
private void ensureCapacity(int minCap) {
|
||||
if (capacity() <= minCap) {
|
||||
Employee[] bigArr = new Employee[capacity() * 2];
|
||||
System.arraycopy(empArr, 0, bigArr, 0, cnt);
|
||||
this.empArr = bigArr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @param a Employee object to be added in the correct order by eNo
|
||||
* @precondition Objects in current EmployeeSet must be ordered
|
||||
* @precondition Objects in current EmployeeSet must be not NULL
|
||||
*/
|
||||
public void addOrdered(Employee a) {
|
||||
if (a == null) {
|
||||
return;
|
||||
}
|
||||
if (!sorted) {
|
||||
throw new IllegalArgumentException("Employees not " +
|
||||
"sorted");
|
||||
}
|
||||
for (int i = 0; i < cnt; i++) {
|
||||
if (empArr[i].getNo() >= a.getNo()) {
|
||||
shiftRight(i, empArr);
|
||||
this.empArr[i] = a;
|
||||
this.cnt++;
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
add(a);
|
||||
this.cnt++;
|
||||
}
|
||||
|
||||
/**
|
||||
* shifts all the objects to the left when inserting a new one
|
||||
*
|
||||
* @param ind the index where we are inserting
|
||||
* @param arr the array we are inserting to
|
||||
*/
|
||||
private void shiftRight(int ind, Employee[] arr) {
|
||||
// ensure there is enough space to shift them over.
|
||||
ensureCapacity(cnt + 1);
|
||||
System.arraycopy(arr, ind, arr, ind + 1, cnt); // wow
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* toString method for count and array
|
||||
*
|
||||
* @return a string with all the values int he object formatted
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
return "EmployeeSet{" +
|
||||
"cnt=" + cnt +
|
||||
", empArr=" + Arrays.toString(empArr) +
|
||||
'}';
|
||||
}
|
||||
|
||||
/**
|
||||
* getters and setters
|
||||
*
|
||||
* @return a value if a getter else void
|
||||
*/
|
||||
|
||||
public int size() {
|
||||
return cnt;
|
||||
}
|
||||
|
||||
public int capacity() {
|
||||
return getEmpArr().length;
|
||||
}
|
||||
|
||||
public int getCnt() {
|
||||
return cnt;
|
||||
}
|
||||
|
||||
public void setCnt(int cnt) {
|
||||
this.cnt = cnt;
|
||||
}
|
||||
|
||||
public Employee[] getEmpArr() {
|
||||
return empArr;
|
||||
}
|
||||
|
||||
public void setEmpArr(Employee[] empArr) {
|
||||
this.empArr = empArr;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* reads the employee values from a csv object and adds them to
|
||||
* the set
|
||||
*
|
||||
* @param fname the csv filename
|
||||
* @throws IOException
|
||||
* @precondition must be a CSV file with correct order of values
|
||||
* @precondition first line must be the labels
|
||||
* @precondition last line must be empty
|
||||
*/
|
||||
|
||||
public void readCSV(String fname) throws IOException {
|
||||
BufferedReader csvReader =
|
||||
new BufferedReader(new FileReader(fname));
|
||||
String row;
|
||||
while ((row = csvReader.readLine()) != null) {
|
||||
String[] data = row.split(",");
|
||||
System.out.println(Arrays.toString(data));
|
||||
if (data.length > 1 && !(data[6].equals("Age"))) {
|
||||
Employee csvEmp = new Employee();
|
||||
csvEmp.setAdvisors(new int[]{1, 2, 3});
|
||||
csvEmp.setName(new String(data[0]
|
||||
+ data[1]));
|
||||
csvEmp.setAge(Integer.parseInt(data[6]));
|
||||
csvEmp.setNo(Integer.parseInt(data[2]));
|
||||
csvEmp.setState(data[3]);
|
||||
csvEmp.setZipCode(
|
||||
Integer.parseInt(data[4].trim()));
|
||||
add(csvEmp);
|
||||
}
|
||||
}
|
||||
csvReader.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* a simple sort function to test the addOrdered function
|
||||
*/
|
||||
|
||||
public void bubbleSort() {
|
||||
Employee[] arr;
|
||||
arr = empArr;
|
||||
int n = cnt;
|
||||
for (int i = 0; i < n - 1; i++)
|
||||
for (int j = 0; j < n - i - 1; j++)
|
||||
if (arr[j].getNo() > arr[j + 1].getNo()) {
|
||||
// swap arr[j+1] and arr[i]
|
||||
Employee temp = arr[j];
|
||||
arr[j] = arr[j + 1];
|
||||
arr[j + 1] = temp;
|
||||
}
|
||||
|
||||
this.sorted = true;
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
Employee John = new Employee();
|
||||
John.setNo(42);
|
||||
EmployeeSet Janitors = new EmployeeSet();
|
||||
Janitors.readCSV("core_dataset.csv");
|
||||
System.out.println(Janitors.toString());
|
||||
|
||||
EmployeeSet Janitors2 = new EmployeeSet(Janitors);
|
||||
|
||||
Janitors2.add(John);
|
||||
Janitors2.remove(42);
|
||||
|
||||
System.out.println(Janitors2.size());
|
||||
System.out.println(Janitors2.capacity());
|
||||
Employee Jacob = new Employee();
|
||||
Jacob.setNo(42);
|
||||
try {
|
||||
Janitors2.addOrdered(Jacob);
|
||||
} catch (IllegalArgumentException e) {
|
||||
System.out.println(e);
|
||||
System.out.println("Exception for unordered employeed" +
|
||||
" works");
|
||||
}
|
||||
Janitors2.bubbleSort();
|
||||
Janitors2.addOrdered(Jacob);
|
||||
Employee Jingleheimer = new Employee();
|
||||
Jingleheimer.setNo(2147483647);
|
||||
Janitors2.addOrdered(Jingleheimer);
|
||||
|
||||
System.out.println(Janitors2.toString());
|
||||
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,247 @@
|
||||
import java.awt.desktop.SystemEventListener;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.FileReader;
|
||||
import java.io.IOException;
|
||||
import java.util.Arrays;
|
||||
import java.util.HashMap;
|
||||
|
||||
public class EmployeeTable {
|
||||
private Employee[] data;
|
||||
private Integer[] keys;
|
||||
private boolean[] used;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
final String ANSI_RESET = "\u001B[0m";
|
||||
final String ANSI_BLACK = "\u001B[30m";
|
||||
final String ANSI_RED = "\u001B[31m";
|
||||
final String ANSI_GREEN = "\u001B[32m";
|
||||
final String ANSI_YELLOW = "\u001B[33m";
|
||||
final String ANSI_BLUE = "\u001B[34m";
|
||||
final String ANSI_PURPLE = "\u001B[35m";
|
||||
final String ANSI_CYAN = "\u001B[36m";
|
||||
final String ANSI_WHITE = "\u001B[37m";
|
||||
StringBuilder thetable = new StringBuilder();
|
||||
thetable.append("EmployeeTable{ \n data=");
|
||||
for(Employee i : data){
|
||||
if (i != null) {
|
||||
thetable.append(ANSI_GREEN).append(", ").append(i);
|
||||
} else {
|
||||
thetable.append(ANSI_RESET).append(", null");
|
||||
}
|
||||
}
|
||||
thetable.append("\n\n keys=");
|
||||
for(Integer i : keys){
|
||||
if (i != null) {
|
||||
thetable.append(ANSI_GREEN).append(", ").append(i);
|
||||
} else {
|
||||
thetable.append(ANSI_RESET).append(", null");
|
||||
}
|
||||
}
|
||||
thetable.append("\n\n\n\n used=");
|
||||
for(boolean i : used){
|
||||
if (i) {
|
||||
thetable.append(ANSI_BLUE).append(", true");
|
||||
} else {
|
||||
thetable.append(ANSI_RED).append(", false");
|
||||
}
|
||||
}
|
||||
thetable.append(ANSI_RESET);
|
||||
return thetable.toString();
|
||||
}
|
||||
|
||||
/**
|
||||
* default constructor
|
||||
*/
|
||||
private EmployeeTable() {
|
||||
this.data = new Employee[400];
|
||||
this.keys = new Integer[400];
|
||||
this.used = new boolean[400];
|
||||
}
|
||||
|
||||
/**
|
||||
* checks for the index of a key
|
||||
*
|
||||
* @param key the key to find the index of.
|
||||
* @return the index of the key or -1 if not found.
|
||||
*/
|
||||
public int findIndex(Integer key) {
|
||||
int idx = hashCode(key);
|
||||
int counter = hashCode(key);
|
||||
while (counter < data.length && used[idx]) {
|
||||
if (key.equals(keys[idx])) {
|
||||
return idx;
|
||||
} else {
|
||||
idx++;
|
||||
counter++;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param key they key of the new item
|
||||
* @param obj the new items value
|
||||
*/
|
||||
public void put(Integer key, Employee obj) {
|
||||
if (findIndex(key) == -1) {
|
||||
for (int i = hashCode(key); i < keys.length; i++) {
|
||||
if (!used[i]) {
|
||||
keys[i] = key;
|
||||
data[i] = obj;
|
||||
used[i] = true;
|
||||
return;
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
keys[findIndex(key)] = key;
|
||||
data[findIndex(key)] = obj;
|
||||
used[findIndex(key)] = true;
|
||||
}
|
||||
throw new OutOfMemoryError();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* removes a key from the hashtable
|
||||
*
|
||||
* @param key the key of the item to remove.
|
||||
* @return returns false if it didn't remove anything true if it did.
|
||||
*/
|
||||
public boolean remove(Integer key) {
|
||||
if (findIndex(key) != -1) {
|
||||
for (int i = hashCode(key); i < keys.length; i++) {
|
||||
if (keys[i] != null && keys[i].equals(key)) {
|
||||
used[i] = false;
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* find an employee by number.
|
||||
*
|
||||
* @param emp_no the number of the employee to find.
|
||||
* @return the index of the employee.
|
||||
*/
|
||||
public int search(int emp_no) {
|
||||
// for (int i = hashCode(emp_no); i < keys.length; i++) {
|
||||
// if (keys[i] != null && !used[i] && keys[i] == emp_no) {
|
||||
// return i;
|
||||
// }
|
||||
// }
|
||||
// return -1;
|
||||
return findIndex(emp_no);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* generates a hashcode based on employee number.
|
||||
*
|
||||
* @param key the employee number
|
||||
* @return the new key value.
|
||||
*/
|
||||
private int hashCode(Integer key) {
|
||||
return Math.abs(key.hashCode()) % keys.length;
|
||||
}
|
||||
|
||||
|
||||
// getters and setters
|
||||
public Employee[] getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(Employee[] data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public Integer[] getKeys() {
|
||||
return keys;
|
||||
}
|
||||
|
||||
public void setKeys(Integer[] keys) {
|
||||
this.keys = keys;
|
||||
}
|
||||
|
||||
public boolean[] getUsed() {
|
||||
return used;
|
||||
}
|
||||
|
||||
public void setUsed(boolean[] used) {
|
||||
this.used = used;
|
||||
}
|
||||
|
||||
/**
|
||||
* runs the code to import the employees and add them to a hashmap
|
||||
*
|
||||
* @throws IOException if the file isn't there.
|
||||
*/
|
||||
private static void HashMapRead() throws IOException {
|
||||
String line;
|
||||
String[] items;
|
||||
HashMap<Integer, Employee> workers = new HashMap<>();
|
||||
BufferedReader reader =
|
||||
new BufferedReader(new FileReader("core_dataset.csv"));
|
||||
reader.readLine();
|
||||
while ((line = reader.readLine()) != null) {
|
||||
items = line.split(",");
|
||||
if (items.length <= 0) {
|
||||
break;
|
||||
}
|
||||
workers.put(Integer.parseInt(items[2]),
|
||||
new Employee(items[0].concat(items[1]),
|
||||
Integer.parseInt(items[2]),
|
||||
Integer.parseInt(items[6]), items[3],
|
||||
Integer.parseInt(items[4].strip()),
|
||||
null));
|
||||
}
|
||||
System.out.println(workers.size());
|
||||
System.out.println(workers.remove(1112030816));
|
||||
System.out.println(workers.size());
|
||||
System.out.println(workers.remove(1111030148));
|
||||
System.out.println(workers.size());
|
||||
System.out.println(workers.remove(602000312));
|
||||
System.out.println(workers.size());
|
||||
System.out.println(workers.containsKey(1501072093));
|
||||
System.out.println(workers.size());
|
||||
System.out.println(workers.containsKey(1111030148));
|
||||
System.out.println(workers.size());
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
System.out.println("|||FINAL LAB!!!!!|||");
|
||||
System.out.println("|||Testing Our HashTable|||");
|
||||
EmployeeTable test = new EmployeeTable();
|
||||
System.out.println("|||Testing nulls and negatives|||");
|
||||
System.out.println(test.remove(1));
|
||||
System.out.println(test.remove(-1));
|
||||
System.out.println(test.search(-1));
|
||||
System.out.println(test.search(1));
|
||||
System.out.println("|||Adding some dudes|||");
|
||||
test.put(999, new Employee("John", 999, 19, "NM", 88310,
|
||||
new int[]{3, 2, 1}));
|
||||
test.put(1106026572, new Employee("John", 999, 19, "NM", 88310,
|
||||
new int[]{3, 2, 1}));
|
||||
test.put(1106026571, new Employee("John2", 998, 19, "NM2",
|
||||
88310,
|
||||
new int[]{3, 2, 1}));
|
||||
System.out.println(test.search(999));
|
||||
System.out.println(test.remove(999));
|
||||
System.out.println(test.search(999));
|
||||
System.out.println("||||Printing the full hash table... (This" +
|
||||
" " +
|
||||
"won't be pretty)||||");
|
||||
System.out.println(test);
|
||||
System.out.println("|||DONE|||");
|
||||
System.out.println("|||_______________________|||");
|
||||
System.out.println("|||TESTING BUILT IN HASHMAP|||");
|
||||
HashMapRead();
|
||||
System.out.println("|||DONE|||");
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
public interface HashTable {
|
||||
Object get(Object key);
|
||||
|
||||
void put(Object key, Object obj);
|
||||
|
||||
boolean remove(Object key);
|
||||
|
||||
int findIndex(Object key);
|
||||
|
||||
int hashCode(Object key);
|
||||
}
|
||||
@@ -0,0 +1,324 @@
|
||||
public class IntNode {
|
||||
|
||||
/**
|
||||
* data: an integer stored
|
||||
* link: the next intnode in the linked list
|
||||
*/
|
||||
private int data;
|
||||
private IntNode link;
|
||||
|
||||
|
||||
/**
|
||||
* default constructor
|
||||
*/
|
||||
public IntNode() {
|
||||
this.data = 0;
|
||||
this.link = null;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param _data The new data value to assign
|
||||
* @param _node The next IntNode in the list
|
||||
*/
|
||||
public IntNode(int _data, IntNode _node) {
|
||||
this.data = _data;
|
||||
this.link = _node;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* removes an X number of nodes starting from the node it's called
|
||||
* from
|
||||
*
|
||||
* @param count the number of nodes you want to remove
|
||||
*/
|
||||
public void removeXNodesAfterThis(int count) {
|
||||
this.removeNodeAfterThis();
|
||||
if (count < 0 || this.getLink() == null) {
|
||||
return;
|
||||
}
|
||||
this.removeXNodesAfterThis(--count);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* add a range of ints to a List
|
||||
*
|
||||
* @param start the start of the range
|
||||
* @param end the end of the range
|
||||
*/
|
||||
public void addRangeAfterThis(int start, int end) {
|
||||
for (int i = end; i > start; i--) {
|
||||
this.addNodeAfterThis(i);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a range of numbers to end the of the linked list.
|
||||
*
|
||||
* @param start the start of the range
|
||||
* @param end the end of the range
|
||||
*/
|
||||
public void addRangeToEnd(int start, int end) {
|
||||
for (int i = start; i <= end; i++) {
|
||||
this.addToEnd(i);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Getters and setters
|
||||
public int getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(int data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public IntNode getLink() {
|
||||
return link;
|
||||
}
|
||||
|
||||
public void setLink(IntNode link) {
|
||||
this.link = link;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* adds a new IntNode after the node it's called from
|
||||
*
|
||||
* @param newData the data you want to add (int)
|
||||
*/
|
||||
public void addNodeAfterThis(int newData) {
|
||||
setLink(new IntNode(newData, this.link));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* removes the IntNode after the one it's called from
|
||||
*/
|
||||
public void removeNodeAfterThis() {
|
||||
if (getLink() == null) {
|
||||
System.out.println("The list is empty, Nothing to " +
|
||||
"remove");
|
||||
} else {
|
||||
setLink(getLink().getLink());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* gets the number of nodes after the one it's called from.
|
||||
*
|
||||
* @param head the head node you want to start from
|
||||
* @return the number of items in the List
|
||||
*/
|
||||
public static int listLength(IntNode head) {
|
||||
if (head == null) {
|
||||
return 0;
|
||||
}
|
||||
int cnt = 1;
|
||||
for (IntNode cursor = head.getLink(); cursor != null; cursor
|
||||
= cursor.getLink()) {
|
||||
cnt++;
|
||||
}
|
||||
return cnt;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* returns number of even numbers in the list starting from "head" node
|
||||
*
|
||||
* @param head the node to start from.\
|
||||
* @return integer
|
||||
*/
|
||||
public static int listEvenNumber(IntNode head) {
|
||||
if (head == null) {
|
||||
return 0;
|
||||
}
|
||||
int cnt = 1;
|
||||
for (IntNode cursor = head.getLink(); cursor != null; cursor
|
||||
= cursor.getLink()) {
|
||||
if (cursor.data % 2 == 0) {
|
||||
cnt++;
|
||||
}
|
||||
}
|
||||
return cnt;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* adds a new integer to the end of the linked list.
|
||||
*
|
||||
* @param newData the new integer to be added.
|
||||
*/
|
||||
public void addToEnd(int newData) {
|
||||
IntNode cursor;
|
||||
for (cursor = this; cursor.getLink() != null; cursor
|
||||
= cursor.getLink()){
|
||||
}
|
||||
cursor.addNodeAfterThis(newData);
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the sum of the last N items in the linked list
|
||||
* @param head the head
|
||||
* @param num the number of items from the end we want to sum up
|
||||
* @return and integer of the sum.
|
||||
*/
|
||||
public static int sumLast(IntNode head, int num) {
|
||||
int sum = 0;
|
||||
int numLast = IntNode.listLength(head) - num;
|
||||
int cnt = 0;
|
||||
for (IntNode cursor = head; cursor != null; cursor =
|
||||
cursor.getLink()) {
|
||||
if (cnt >= numLast) {
|
||||
sum += cursor.getData();
|
||||
}
|
||||
cnt++;
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
|
||||
/**
|
||||
* searches for a data input and returns whether or not it exists in
|
||||
* the List
|
||||
*
|
||||
* @param head the head node to start from in the search loop
|
||||
* @param _data the data you want to search for
|
||||
* @return true or false depending on what it finds
|
||||
*/
|
||||
public static boolean search(IntNode head, int _data) {
|
||||
if (head == null) {
|
||||
return false;
|
||||
}
|
||||
for (IntNode cursor = head.getLink(); cursor != null; cursor
|
||||
= cursor.getLink()) {
|
||||
if (cursor.data == _data) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* returns a new Linked list with all the odd numbers from source
|
||||
* @param source the source node to copy from.
|
||||
* @return new IntNode with odd nums from source IntNode
|
||||
*/
|
||||
public static IntNode copyOdd (IntNode source) {
|
||||
IntNode copyHead;
|
||||
IntNode copyTail;
|
||||
|
||||
if (source == null) return null;
|
||||
|
||||
copyHead = new IntNode(source.getData(), null);
|
||||
copyTail = copyHead;
|
||||
|
||||
while (source.getLink() != null) {
|
||||
source = source.getLink();
|
||||
if (source.getData() % 2 != 0) {
|
||||
copyTail.addNodeAfterThis(source.getData());
|
||||
copyTail = copyTail.getLink();
|
||||
}
|
||||
}
|
||||
return copyHead;
|
||||
}
|
||||
|
||||
/**
|
||||
* remove all of the items equal to e
|
||||
* @param head the head of the Intnode we want to remove from
|
||||
* @param e the integer we wanna remove
|
||||
* @return a new linked list with the items removed.
|
||||
*/
|
||||
public static IntNode removeAll(IntNode head, int e) {
|
||||
if(head == null) return null;
|
||||
IntNode start = new IntNode(0, head);
|
||||
IntNode cursor = start;
|
||||
while ( cursor.getLink() != null){
|
||||
if (cursor.getLink().getData() == e){
|
||||
cursor.removeNodeAfterThis();
|
||||
} else {
|
||||
cursor = cursor.getLink();
|
||||
}
|
||||
}
|
||||
return start.getLink();
|
||||
}
|
||||
|
||||
/**
|
||||
* returns the given linked list in reverse order
|
||||
* @param head the head of the list we want to reverse
|
||||
* @return a reversed IntNode
|
||||
*/
|
||||
public static IntNode reverse (IntNode head) {
|
||||
IntNode cursor = head;
|
||||
IntNode newHead = new IntNode(0, null);
|
||||
int[] a = new int[IntNode.listLength(head)];
|
||||
for (int i = 0; i < a.length; i++) {
|
||||
a[i] = cursor.getData();
|
||||
cursor = cursor.getLink();
|
||||
}
|
||||
for (int i = a.length-1; i >= 0; i--) {
|
||||
newHead.addToEnd(a[i]);
|
||||
}
|
||||
|
||||
return newHead.getLink();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Checks heuristically if the Linked list goes into a loop
|
||||
* @param head the head of the node we are checking
|
||||
* @return true or false
|
||||
*/
|
||||
public static boolean hasCycle(IntNode head){
|
||||
if (head == null) return false;
|
||||
IntNode cursor = head;
|
||||
while (cursor.link != null) {
|
||||
if (cursor.link.data == head.data) {
|
||||
return true;
|
||||
} else {
|
||||
cursor = cursor.link;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
/**
|
||||
* Builds a string from all the nodes in the list.
|
||||
*
|
||||
* @return a string of the data separated by arrows.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder linkStr = new StringBuilder();
|
||||
IntNode answer = null;
|
||||
linkStr.append(this.getData());
|
||||
if (getLink() != null) {
|
||||
linkStr.append("->");
|
||||
}
|
||||
for (IntNode cursor = getLink(); cursor != null; cursor =
|
||||
cursor.getLink()) {
|
||||
linkStr.append(cursor.getData());
|
||||
if (cursor.getLink() != null) {
|
||||
linkStr.append("->");
|
||||
}
|
||||
}
|
||||
|
||||
return "IntNode{" +
|
||||
"data=" + linkStr +
|
||||
'}';
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* prints out the toString value of the Node.
|
||||
*/
|
||||
public void printData() {
|
||||
System.out.println(this.toString());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,263 @@
|
||||
/**
|
||||
* A set of functions to test all the features of IntNode
|
||||
* also includes a testAll(); function just to run them some more because why
|
||||
* not.
|
||||
*/
|
||||
|
||||
public class IntNodeAdvancedTest {
|
||||
/**
|
||||
* This main function just runs all the test functions.
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Testing add node");
|
||||
testAddNodeAfterThis();
|
||||
System.out.println("Testing Add Range After This");
|
||||
testAddRangeAfterThis();
|
||||
System.out.println("Testing Testing Print");
|
||||
testPrintData();
|
||||
System.out.println("Testing Remove after this");
|
||||
testRemoveNodeAfterThis();
|
||||
System.out.println("Testing toString");
|
||||
testTestToString();
|
||||
System.out.println("Testing Search");
|
||||
testSearch();
|
||||
System.out.println("Testing list even number");
|
||||
testListEvenNumber();
|
||||
System.out.println("Testing List Length");
|
||||
testListLength();
|
||||
System.out.println("Testing Sum Last");
|
||||
testSumLast();
|
||||
System.out.println();
|
||||
System.out.println("Testing Copy ODD");
|
||||
testCopyOdd();
|
||||
System.out.println("TESTING REMOVE ALL");
|
||||
testRemoveAll();
|
||||
System.out.println("TESTING REVERSE ");
|
||||
testReverse();
|
||||
System.out.println("TEST HAS CYCLE");
|
||||
testHasCycle();
|
||||
System.out.println("Testing All");
|
||||
testAll();
|
||||
}
|
||||
|
||||
private static void testRemoveAll() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(IntNode.removeAll(myNode, 5));
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(IntNode.removeAll(myNode, 5));
|
||||
|
||||
}
|
||||
|
||||
private static void testHasCycle() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(IntNode.hasCycle(myNode));
|
||||
myNode.addRangeAfterThis(0, 10);
|
||||
// myNode.getLink().getLink().getLink().getLink().getLink().getLink().getLink().getLink().getLink().getLink().setLink(myNode);
|
||||
System.out.println(IntNode.hasCycle(myNode));
|
||||
}
|
||||
|
||||
private static void testReverse() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(IntNode.reverse(myNode));
|
||||
myNode.addRangeAfterThis(0, 10);
|
||||
System.out.println(IntNode.reverse(myNode));
|
||||
System.out.println(IntNode.reverse(IntNode.reverse(myNode)));
|
||||
|
||||
}
|
||||
|
||||
private static void testCopyOdd() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(IntNode.copyOdd(myNode));
|
||||
myNode.addRangeAfterThis(0, 10);
|
||||
System.out.println(IntNode.copyOdd(myNode));
|
||||
|
||||
}
|
||||
|
||||
private static void testSumLast() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(IntNode.sumLast(myNode, 2));
|
||||
myNode.addRangeToEnd(0, 100);
|
||||
System.out.println(myNode);
|
||||
System.out.println(IntNode.sumLast(myNode, 100));
|
||||
System.out.println(IntNode.sumLast(myNode, 1));
|
||||
for (int i = 0; i < 100; i++){
|
||||
System.out.print(IntNode.sumLast(myNode, i) + " ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private static void testListLength() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(IntNode.listLength(myNode));
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(IntNode.listLength(myNode));
|
||||
myNode.addRangeAfterThis(1000, 2000);
|
||||
System.out.println(IntNode.listLength(myNode));
|
||||
|
||||
}
|
||||
|
||||
|
||||
private static void testAddRangeAfterThis() {
|
||||
IntNode myNode = new IntNode();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.getLink().getLink().getLink().getLink()
|
||||
.addRangeAfterThis(100, 200);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
|
||||
}
|
||||
|
||||
private static void testListEvenNumber() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.getLink().getLink().getLink().getLink()
|
||||
.addRangeAfterThis(100, 200);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
|
||||
}
|
||||
|
||||
|
||||
private static void testAddNodeAfterThis() {
|
||||
IntNode myNode = new IntNode();
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(1000);
|
||||
myNode.addNodeAfterThis(-1000);
|
||||
myNode.addNodeAfterThis(-2000);
|
||||
myNode.addNodeAfterThis(0);
|
||||
}
|
||||
|
||||
|
||||
private static void testRemoveNodeAfterThis() {
|
||||
IntNode myNode = new IntNode();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.removeNodeAfterThis();
|
||||
}
|
||||
|
||||
|
||||
private static void testTestToString() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(myNode.toString());
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private static void testPrintData() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(myNode.toString());
|
||||
myNode.printData();
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.printData();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.printData();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.printData();
|
||||
myNode.removeXNodesAfterThis(100);
|
||||
myNode.printData();
|
||||
}
|
||||
|
||||
private static void testAll() {
|
||||
IntNode myNode = new IntNode();
|
||||
IntNodeAdvancedTest.testSearch();
|
||||
System.out.println(myNode.toString());
|
||||
System.out.println("Testing toString with Null");
|
||||
myNode.printData();
|
||||
myNode.addNodeAfterThis(22);
|
||||
System.out.println("Testing Add Node After This");
|
||||
myNode.printData();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println("Testing add range");
|
||||
myNode.printData();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.removeNodeAfterThis();
|
||||
System.out.println("Testing Remove Node After THis");
|
||||
myNode.printData();
|
||||
myNode.removeXNodesAfterThis(100);
|
||||
System.out.println("Testing Remove X Nodes");
|
||||
myNode.printData();
|
||||
System.out.println(myNode.toString());
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(1000);
|
||||
myNode.addNodeAfterThis(-1000);
|
||||
myNode.addNodeAfterThis(-2000);
|
||||
myNode.addNodeAfterThis(0);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(myNode.toString());
|
||||
IntNodeAdvancedTest.testAddNodeAfterThis();
|
||||
IntNodeAdvancedTest.testAddRangeAfterThis();
|
||||
System.out.println("Testing toString()");
|
||||
System.out.println(myNode.toString());
|
||||
IntNodeAdvancedTest.testPrintData();
|
||||
IntNodeAdvancedTest.testRemoveNodeAfterThis();
|
||||
IntNodeAdvancedTest.testTestToString();
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.getLink().getLink().getLink().getLink()
|
||||
.addRangeAfterThis(100, 200);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
System.out.println(IntNode.listEvenNumber(myNode));
|
||||
}
|
||||
|
||||
private static void testSearch() {
|
||||
IntNode myNode = new IntNode();
|
||||
IntNode bools = new IntNode();
|
||||
for (int i = 0; i < 100000; i++) {
|
||||
IntNode.search(myNode, i);
|
||||
|
||||
}
|
||||
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(1000);
|
||||
myNode.addNodeAfterThis(-1000);
|
||||
myNode.addNodeAfterThis(-2000);
|
||||
myNode.addNodeAfterThis(0);
|
||||
for (int i = 0; i < 100000; i++) {
|
||||
IntNode.search(myNode, i);
|
||||
|
||||
}
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.getLink().getLink().getLink().getLink()
|
||||
.addRangeAfterThis(100, 200);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
for (int i = 0; i < 100000; i++) {
|
||||
if (IntNode.search(myNode, i)) {
|
||||
bools.addNodeAfterThis(1);
|
||||
} else {
|
||||
bools.addNodeAfterThis(0);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
System.out.println("test search results");
|
||||
bools.printData();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,156 @@
|
||||
/**
|
||||
* A set of functions to test all the features of IntNode
|
||||
* also includes a testAll(); function just to run them some more because why
|
||||
* not.
|
||||
*/
|
||||
|
||||
public class IntNodeTest {
|
||||
/**
|
||||
* This main function just runs all the test functions.
|
||||
*/
|
||||
public static void main(String[] args) {
|
||||
IntNodeTest.testAddNodeAfterThis();
|
||||
IntNodeTest.testAddRangeAfterThis();
|
||||
IntNodeTest.testPrintData();
|
||||
IntNodeTest.testRemoveNodeAfterThis();
|
||||
IntNodeTest.testTestToString();
|
||||
IntNodeTest.testSearch();
|
||||
IntNodeTest.testAll();
|
||||
}
|
||||
|
||||
|
||||
private static void testAddRangeAfterThis() {
|
||||
IntNode myNode = new IntNode();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.getLink().getLink().getLink().getLink()
|
||||
.addRangeAfterThis(100,200);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
|
||||
}
|
||||
|
||||
|
||||
private static void testAddNodeAfterThis() {
|
||||
IntNode myNode = new IntNode();
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(1000);
|
||||
myNode.addNodeAfterThis(-1000);
|
||||
myNode.addNodeAfterThis(-2000);
|
||||
myNode.addNodeAfterThis(0);
|
||||
}
|
||||
|
||||
|
||||
private static void testRemoveNodeAfterThis() {
|
||||
IntNode myNode = new IntNode();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.removeNodeAfterThis();
|
||||
}
|
||||
|
||||
|
||||
private static void testTestToString() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(myNode.toString());
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private static void testPrintData() {
|
||||
IntNode myNode = new IntNode();
|
||||
System.out.println(myNode.toString());
|
||||
myNode.printData();
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.printData();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.printData();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.printData();
|
||||
myNode.removeXNodesAfterThis(100);
|
||||
myNode.printData();
|
||||
}
|
||||
|
||||
private static void testAll() {
|
||||
IntNode myNode = new IntNode();
|
||||
IntNodeTest.testSearch();
|
||||
System.out.println(myNode.toString());
|
||||
System.out.println("Testing toString with Null");
|
||||
myNode.printData();
|
||||
myNode.addNodeAfterThis(22);
|
||||
System.out.println("Testing Add Node After This");
|
||||
myNode.printData();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println("Testing add range");
|
||||
myNode.printData();
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.removeNodeAfterThis();
|
||||
System.out.println("Testing Remove Node After THis");
|
||||
myNode.printData();
|
||||
myNode.removeXNodesAfterThis(100);
|
||||
System.out.println("Testing Remove X Nodes");
|
||||
myNode.printData();
|
||||
System.out.println(myNode.toString());
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.removeNodeAfterThis();
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(1000);
|
||||
myNode.addNodeAfterThis(-1000);
|
||||
myNode.addNodeAfterThis(-2000);
|
||||
myNode.addNodeAfterThis(0);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
System.out.println(myNode.toString());
|
||||
IntNodeTest.testAddNodeAfterThis();
|
||||
IntNodeTest.testAddRangeAfterThis();
|
||||
System.out.println("Testing toString()");
|
||||
System.out.println(myNode.toString());
|
||||
IntNodeTest.testPrintData();
|
||||
IntNodeTest.testRemoveNodeAfterThis();
|
||||
IntNodeTest.testTestToString();
|
||||
}
|
||||
|
||||
private static void testSearch() {
|
||||
IntNode myNode = new IntNode();
|
||||
IntNode bools = new IntNode();
|
||||
for (int i = 0; i < 100000; i++){
|
||||
IntNode.search(myNode, i);
|
||||
|
||||
}
|
||||
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(22);
|
||||
myNode.addNodeAfterThis(1000);
|
||||
myNode.addNodeAfterThis(-1000);
|
||||
myNode.addNodeAfterThis(-2000);
|
||||
myNode.addNodeAfterThis(0);
|
||||
for (int i = 0; i < 100000; i++){
|
||||
IntNode.search(myNode, i);
|
||||
|
||||
}
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.getLink().getLink().getLink().getLink()
|
||||
.addRangeAfterThis(100,200);
|
||||
myNode.addRangeAfterThis(0, 100);
|
||||
myNode.addRangeAfterThis(1000, 1100);
|
||||
myNode.getLink().getLink().addRangeAfterThis(1000, 1100);
|
||||
for (int i = 0; i < 100000; i++){
|
||||
if (IntNode.search(myNode, i)) {
|
||||
bools.addNodeAfterThis(1);
|
||||
} else{
|
||||
bools.addNodeAfterThis(0);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
System.out.println("test search results");
|
||||
bools.printData();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
import java.util.EmptyStackException;
|
||||
|
||||
public class LinkStack<E> implements StackInterface {
|
||||
private SNode<E> top;
|
||||
|
||||
public SNode<E> getTop() {
|
||||
return top;
|
||||
}
|
||||
|
||||
public void setTop(SNode<E> top) {
|
||||
this.top = top;
|
||||
}
|
||||
|
||||
LinkStack(){
|
||||
setTop(new SNode<>(null, null));
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean push(Object o) {
|
||||
getTop().addNodeAfterThis((E)o);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public E pop() {
|
||||
if (getTop().getLink() != null) {
|
||||
SNode<E> popped =
|
||||
new SNode<>(this.getTop().getLink().getData(),
|
||||
null);
|
||||
setTop(getTop().getLink());
|
||||
return popped.getData();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public E top() {
|
||||
if (getTop().getLink() != null) {
|
||||
return getTop().getLink().getData();
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
int count = 0;
|
||||
SNode<E> cursor = getTop().getLink();
|
||||
for (cursor = cursor; cursor != null; cursor = cursor.getLink()) count++;
|
||||
return count;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return size() <= 0;
|
||||
}
|
||||
|
||||
public String toString(){
|
||||
if (getTop().getLink() != null) {
|
||||
return this.getTop().toString();
|
||||
}
|
||||
return "EMPTY LIST STACK";
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,81 @@
|
||||
import java.util.EmptyStackException;
|
||||
|
||||
public class LinkedQueue <E> implements QueueInterface {
|
||||
private SNode<E> front;
|
||||
private SNode<E> rear;
|
||||
private int size;
|
||||
|
||||
public LinkedQueue() {
|
||||
this.front = new SNode<E>((E) new Object(), null);
|
||||
this.rear = front;
|
||||
this.size = 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void enqueue(Object o) {
|
||||
rear.setLink(new SNode<E>((E) o, null));
|
||||
rear = rear.getLink();
|
||||
size++;
|
||||
}
|
||||
|
||||
@Override
|
||||
public E dequeue() {
|
||||
if (size <= 0) {
|
||||
throw new EmptyStackException();
|
||||
}
|
||||
if (size == 1){
|
||||
E tempdata = front();
|
||||
this.front = new SNode<E>((E) new Object(), null);
|
||||
this.rear = front;
|
||||
this.size = 0;
|
||||
return tempdata;
|
||||
}
|
||||
E tempdata = front();
|
||||
front.setLink(front.getLink().getLink());
|
||||
size--;
|
||||
return tempdata;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public E front() {
|
||||
if (size <= 0) {
|
||||
throw new EmptyStackException();
|
||||
}
|
||||
return front.getLink().getData();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int size() {
|
||||
return size;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isEmpty() {
|
||||
return size == 0;
|
||||
}
|
||||
public SNode<E> getFront() {
|
||||
return front;
|
||||
}
|
||||
|
||||
public void setFront(SNode<E> front) {
|
||||
this.front = front;
|
||||
}
|
||||
|
||||
public SNode<E> getRear() {
|
||||
return rear;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "LinkedQueue{" +
|
||||
"front=" + front +
|
||||
", rear=" + rear +
|
||||
", size=" + size +
|
||||
'}';
|
||||
}
|
||||
|
||||
public void setRear(SNode<E> rear) {
|
||||
this.rear = rear;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,125 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
public class MinHeap {
|
||||
|
||||
private ArrayList <Integer> data;
|
||||
|
||||
private MinHeap() {
|
||||
data = new ArrayList<>();
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds a new into to the heap and called reheapupward when needed.
|
||||
* @param e the integer we want to add.
|
||||
*/
|
||||
public void add(int e){
|
||||
data.add(e);
|
||||
reHeapUpward(data.size()-1);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* rearranges the heap to fix an illegal placement.
|
||||
* @param idx the index of the illegal item.
|
||||
*/
|
||||
private void reHeapUpward(int idx){
|
||||
if(idx <= 0){
|
||||
return;
|
||||
}
|
||||
int parentidx = ((idx-1)/2);
|
||||
if( data.get(idx) < data.get(parentidx) ){
|
||||
Collections.swap(data,idx, parentidx);
|
||||
}
|
||||
reHeapUpward(parentidx);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* removes the top item of the heap.
|
||||
* @return The integer we removed.
|
||||
*/
|
||||
public int remove(){
|
||||
if (data.size() == 0) {
|
||||
throw new IllegalCallerException("The heap is empty");
|
||||
}
|
||||
int temp = top();
|
||||
data.remove(0);
|
||||
return temp;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gives us the top item of the heap.
|
||||
* @return the smallest integer of the heap.
|
||||
*/
|
||||
|
||||
public int top(){
|
||||
if (data.size() == 0) {
|
||||
throw new IllegalCallerException("The heap is empty");
|
||||
}
|
||||
return data.get(0);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "MinHeap{" +
|
||||
"data=" + data +
|
||||
'}';
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
MinHeap test = new MinHeap();
|
||||
System.out.println(test);
|
||||
// test null exceptions.
|
||||
try {
|
||||
test.remove();
|
||||
} catch (IllegalCallerException e) {
|
||||
System.out.println("Exception works");
|
||||
}
|
||||
try {
|
||||
test.top();
|
||||
} catch (IllegalCallerException e) {
|
||||
System.out.println("Exception works");
|
||||
}
|
||||
|
||||
|
||||
// test adding and removing.
|
||||
test.add(1);
|
||||
System.out.println(test);
|
||||
test.top();
|
||||
test.remove();
|
||||
System.out.println(test);
|
||||
|
||||
// test null cases after adding and removing.
|
||||
try {
|
||||
test.remove();
|
||||
} catch (IllegalCallerException e) {
|
||||
System.out.println("Exception works");
|
||||
}
|
||||
try {
|
||||
test.remove();
|
||||
} catch (IllegalCallerException e) {
|
||||
System.out.println("Exception works");
|
||||
}
|
||||
|
||||
// add 0 to 10
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.add(i);
|
||||
}
|
||||
|
||||
// add 10 to 0
|
||||
System.out.println(test);
|
||||
for (int i = 10; i > 0; i--) {
|
||||
test.add(i);
|
||||
}
|
||||
|
||||
// print and test remove on multiple item heap.
|
||||
System.out.println(test);
|
||||
test.remove();
|
||||
System.out.println(test);
|
||||
test.remove();
|
||||
System.out.println(test);
|
||||
test.top();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
//public class NQueen {
|
||||
// public static void main(String[] args) {
|
||||
//
|
||||
// }
|
||||
// public static ArraylistStack<Integer> solveNQueen(int N) {
|
||||
// ArraylistStack<Integer> board = new ArraylistStack<Integer>();
|
||||
// Integer rowid = 1;
|
||||
// Integer Qpos = 1;
|
||||
//
|
||||
// while (board.size() < N){
|
||||
// while (Qpos <= N) {
|
||||
// boolean conflict = checkConflict(Qpos);
|
||||
// if (conflict) {
|
||||
// board.push(Qpos);
|
||||
// Qpos = 1;
|
||||
// rowid = board.size() + 1;
|
||||
// } else {
|
||||
// Qpos++;
|
||||
// }
|
||||
// }
|
||||
// while (!board.isEmpty() && Qpos >= N) {
|
||||
// if (board.pop() < N) {
|
||||
// board.push(++Qpos);
|
||||
// }else {
|
||||
//
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// public static boolean checkConflict(Integer Qpos,
|
||||
// ArraylistStack<Integer> board){
|
||||
// int dist = 1;
|
||||
// while (!board.pop().equals(Qpos) && Math.abs(Qpos - board.pop()) != dist){
|
||||
// dist++;
|
||||
// }
|
||||
// return board.size() == 0;
|
||||
// }
|
||||
//
|
||||
// public static void printBoard(ArraylistStack<Integer> board){
|
||||
//
|
||||
// }
|
||||
//}
|
||||
@@ -0,0 +1,47 @@
|
||||
import java.util.Arrays;
|
||||
import java.util.Scanner;
|
||||
|
||||
public class Palindrome {
|
||||
public static void main(String[] args) {
|
||||
LinkedQueue<String> wordq = new LinkedQueue<String>();
|
||||
LinkedQueue<String> wordj = new LinkedQueue<String>();
|
||||
|
||||
Scanner inp = new Scanner(System.in);
|
||||
|
||||
System.out.println("enter sentence");
|
||||
String nn = inp.nextLine();
|
||||
nn = nn.toLowerCase();
|
||||
String[] punct = {"!", ".", "?",","};
|
||||
System.out.println(nn);
|
||||
for (String s : punct) {
|
||||
nn = nn.replace(s, "");
|
||||
}
|
||||
String[] nn2 = nn.split(" ");
|
||||
System.out.println(Arrays.toString(nn2));
|
||||
for (String s : nn2) {
|
||||
wordq.enqueue(s);
|
||||
}
|
||||
System.out.println(wordq);
|
||||
for (int i = nn2.length-1; i >= 0; i--) {
|
||||
wordj.enqueue(nn2[i]);
|
||||
}
|
||||
System.out.println(wordj);
|
||||
boolean palindrome = true;
|
||||
while(!wordj.isEmpty()) {
|
||||
if (!wordj.dequeue().equals(wordq.dequeue())){
|
||||
palindrome = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (palindrome){
|
||||
|
||||
System.out.println("This sentence is a palindrome " +
|
||||
"indeed");
|
||||
} else {
|
||||
System.out.println("This sentence is not a palindrome");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,52 @@
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
|
||||
public class Permutation {
|
||||
public static void main(String[] args) {
|
||||
ArrayList<String> testArray1 = new ArrayList<>(Arrays.asList(
|
||||
"A"));
|
||||
|
||||
ArrayList<String> testArray2 = new ArrayList<>(Arrays.asList(
|
||||
"A",
|
||||
"B"));
|
||||
|
||||
ArrayList<String> testArray5 = new ArrayList<>(Arrays.asList(
|
||||
"A",
|
||||
"B", "C", "D", "E"));
|
||||
|
||||
ArrayList<String> testArray10 = new ArrayList<>(Arrays.asList(
|
||||
"A",
|
||||
"B", "C", "D", "E", "F", "G", "H", "I", "J"));
|
||||
|
||||
Permutation(testArray1, 0, testArray1.size()-1);
|
||||
Permutation(testArray2, 0, testArray2.size()-1);
|
||||
Permutation(testArray5, 0, testArray5.size()-1);
|
||||
Permutation(testArray10, 0, testArray10.size()-1);
|
||||
}
|
||||
|
||||
public static void Permutation(ArrayList<String> a, int i, int n)
|
||||
{
|
||||
int j;
|
||||
if (i == n) // If we've chosen all the characters then:
|
||||
System.out.println((a.toString())); //
|
||||
// we're done, so
|
||||
// output it
|
||||
else
|
||||
{
|
||||
for (j = i; j <= n; j++) // Otherwise, we've chosen characters a[0] to a[j-1]
|
||||
{ // so let's try all possible characters for a[j]
|
||||
Collections.swap(a, i, j); // Choose
|
||||
// which
|
||||
// one out of a[j] to a[n] you will choose
|
||||
Permutation(a, i+1, n); // Choose the remaining
|
||||
// letters
|
||||
Collections.swap(a, i, j); // Undo the
|
||||
// previous
|
||||
// swap so we
|
||||
// can
|
||||
// choose the next possibility for a[j]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
public interface QueueInterface <E> {
|
||||
void enqueue(E e);
|
||||
E dequeue();
|
||||
E front();
|
||||
int size();
|
||||
boolean isEmpty();
|
||||
}
|
||||
@@ -0,0 +1,197 @@
|
||||
public class QueueTest {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("=====TESTING LinkedList Queue=====");
|
||||
announceTest("LIST Enqueue");
|
||||
testListEnqueue();
|
||||
announceTest("LIST Dequeue");
|
||||
testListDequeue();
|
||||
announceTest("LIST Front");
|
||||
testListFront();
|
||||
announceTest("LIST isEmpty");
|
||||
testListIsEmpty();
|
||||
System.out.println("=====LinkedList Queue TESTS " +
|
||||
"COMPLETE!!!=====");
|
||||
System.out.println("=====TESTING Array Queue=====");
|
||||
announceTest("ARR Enqueue");
|
||||
testArrEnqueue();
|
||||
announceTest("ARR Dequeue");
|
||||
testArrDequeue();
|
||||
announceTest("ARR TOP");
|
||||
testArrFront();
|
||||
announceTest("ARR isEmpty");
|
||||
testArrIsEmpty();
|
||||
announceTest("ARR SIZE");
|
||||
testArrSize();
|
||||
System.out.println("=====Array Queue TESTS " +
|
||||
"COMPLETE!!!=====");
|
||||
|
||||
}
|
||||
static void announceTest(String name) {
|
||||
for (int i = 0; i < 50; i++) {
|
||||
System.out.print("=");
|
||||
}
|
||||
System.out.print("END OF TEST");
|
||||
System.out.println();
|
||||
System.out.println("TESTING " + name);
|
||||
|
||||
System.out.println();
|
||||
}
|
||||
static void testListEnqueue(){
|
||||
LinkedQueue<Integer> test = new LinkedQueue<Integer>();
|
||||
test.enqueue(1);
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 100; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
}
|
||||
|
||||
static void testListDequeue(){
|
||||
LinkedQueue<Integer> test = new LinkedQueue<Integer>();
|
||||
try {
|
||||
test.dequeue();
|
||||
System.out.println("WARNING: EXCEPTION BROKEN");
|
||||
} catch (Exception e) {
|
||||
System.out.println("EMPTY STACK EXCEPTION WORKS!!!");
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
test.dequeue();
|
||||
test.dequeue();
|
||||
for (int i = 0; i < 10; i++) {
|
||||
try {
|
||||
test.dequeue();
|
||||
} catch (Exception e) {
|
||||
System.out.println("EXCEPTION WORKED");
|
||||
}
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
System.out.println(test.dequeue());
|
||||
}
|
||||
static void testListFront(){
|
||||
LinkedQueue<Integer> test = new LinkedQueue<Integer>();
|
||||
try {
|
||||
test.front();
|
||||
System.out.println(test.front());
|
||||
} catch (Exception e) {
|
||||
System.out.println("EXCEPTION SUCCESS!!");
|
||||
}
|
||||
test.enqueue(0);
|
||||
System.out.println(test.front());
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test.front());
|
||||
|
||||
}
|
||||
static void testListIsEmpty(){
|
||||
LinkedQueue<Integer> test = new LinkedQueue<Integer>();
|
||||
System.out.println(test.isEmpty());
|
||||
System.out.println(test.isEmpty());
|
||||
test.enqueue(1);
|
||||
System.out.println(test.isEmpty());
|
||||
test.dequeue();
|
||||
System.out.println(test.isEmpty());
|
||||
}
|
||||
static void testArrEnqueue(){
|
||||
ArrayQueue<Integer> test = new ArrayQueue<Integer>();
|
||||
test.enqueue(1);
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
System.out.println("TESTING CHECK CAPACITY");
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.dequeue();
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 100; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
}
|
||||
|
||||
static void testArrDequeue(){
|
||||
ArrayQueue<Integer> test = new ArrayQueue<Integer>();
|
||||
try {
|
||||
test.dequeue();
|
||||
} catch (Exception e) {
|
||||
System.out.println("EXCEPTION FOR ARRAY WORKS");
|
||||
}
|
||||
test.isEmpty();
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
test.dequeue();
|
||||
test.dequeue();
|
||||
try {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.dequeue();
|
||||
}
|
||||
} catch (Exception e) {
|
||||
System.out.println("EXCEPTION WORKS");
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
System.out.println(test.dequeue());
|
||||
}
|
||||
static void testArrFront(){
|
||||
ArrayQueue<Integer> test = new ArrayQueue<Integer>();
|
||||
|
||||
try {
|
||||
test.front();
|
||||
System.out.println(test.front());
|
||||
} catch (Exception e) {
|
||||
System.out.println("EXCEPTION WORKS");
|
||||
}
|
||||
|
||||
test.enqueue(0);
|
||||
System.out.println(test.front());
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.enqueue(i);
|
||||
}
|
||||
System.out.println(test.front());
|
||||
|
||||
}
|
||||
static void testArrIsEmpty(){
|
||||
ArrayQueue<Integer> test = new ArrayQueue<Integer>();
|
||||
System.out.println(test.isEmpty());
|
||||
System.out.println(test.isEmpty());
|
||||
test.enqueue(1);
|
||||
System.out.println(test.isEmpty());
|
||||
test.dequeue();
|
||||
System.out.println(test.isEmpty());
|
||||
}
|
||||
static void testArrSize(){
|
||||
ArrayQueue<Integer> test = new ArrayQueue<Integer>();
|
||||
test.size();
|
||||
test.enqueue(0);
|
||||
test.size();
|
||||
test.enqueue(0);
|
||||
test.size();
|
||||
test.dequeue();
|
||||
test.size();
|
||||
test.dequeue();
|
||||
test.size();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
public class RecursiveQuestion {
|
||||
public static void main(String[] args) {
|
||||
for (int i = 0; i < 10; i++) {
|
||||
System.out.print(FibBinaryRecursive(i));
|
||||
System.out.print(", ");
|
||||
}
|
||||
System.out.println();
|
||||
System.out.println(showCallLevel(10, 1));
|
||||
int numberOfDisks = 3;
|
||||
HanoiTower(numberOfDisks, 'A', 'B', 'C');
|
||||
|
||||
for (int i = 0; i < 10; i++) {
|
||||
System.out.println(BinaryPrint(i));
|
||||
|
||||
}
|
||||
Pattern(3, 0);
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Fibonacci Calculator
|
||||
* @param k the index of the fibonacci number you want to get. So if
|
||||
* you want the nth fibonacci number, k is n.
|
||||
* @return The fibonacci number you requested
|
||||
*/
|
||||
private static int FibBinaryRecursive(int k) {
|
||||
if (k <= 1) {
|
||||
return k;
|
||||
}
|
||||
return FibBinaryRecursive(k-1) + FibBinaryRecursive(k-2);
|
||||
}
|
||||
|
||||
/**
|
||||
* Print out the call ns of a linear binary function
|
||||
* @param L the base case or end of the sequence.
|
||||
* @param curl The starting number of the sequence. (should be 1
|
||||
* usually)
|
||||
* @return A string containing the call n print.
|
||||
*/
|
||||
private static String showCallLevel(int L, int curl) {
|
||||
if (L == 0) {
|
||||
return "\b\b\b\b\b\b";
|
||||
}
|
||||
String tabs = new String(new char[curl-1]).replace("\0",
|
||||
"\t");
|
||||
|
||||
return tabs + "This was written by call number" + curl + "x" +
|
||||
"\n" + showCallLevel(L-1,curl+1) + "\n" + tabs +
|
||||
"This was written by call number" + curl + "y";
|
||||
}
|
||||
|
||||
/**
|
||||
* prints solution instructions for the Towers of Hanoi game given a
|
||||
* number of disks.
|
||||
* @param a Number of disks.
|
||||
* @param from Starting Peg (String 'A', 'B', or 'C')
|
||||
* @param aux The peg that holds the disks temporarily before making
|
||||
* it to the final peg. (String 'A', 'B', or 'C')
|
||||
* @param to Ending Peg (String 'A', 'B', or 'C')
|
||||
*/
|
||||
private static void HanoiTower(int a, char from, char aux, char to) {
|
||||
if (a == 1) {
|
||||
System.out.println("Move disc 1 from " + from
|
||||
+ " to "+ to);
|
||||
}
|
||||
else {
|
||||
HanoiTower(a - 1, from, to, aux);
|
||||
|
||||
System.out.println("Move disc " + a + " from " + from
|
||||
+ " to " + to);
|
||||
|
||||
HanoiTower(a-1, aux, from, to);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* prints a given base 10 (decimal) number in binary form.
|
||||
* @param n the decimal number you want to print in binary.
|
||||
* @return The unsigned binary form of a decimal number
|
||||
*/
|
||||
private static int BinaryPrint(int n){
|
||||
if(n == 0){
|
||||
return 0;
|
||||
}
|
||||
else {
|
||||
return (n % 2 + 10 * (BinaryPrint(n / 2)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* prints that weird pattern from the book
|
||||
* @param n max asterisks
|
||||
* @param fn starting tabs (usually 0)
|
||||
*/
|
||||
private static void Pattern(int n, int fn){
|
||||
if(n == 0){
|
||||
for(int i = 0; i < fn; i++){
|
||||
System.out.print(" ");
|
||||
}
|
||||
System.out.print("*");
|
||||
} else{
|
||||
Pattern(n-1, fn);
|
||||
System.out.println();
|
||||
int count = 2;
|
||||
for(int i = 1; i < n; i++){
|
||||
count = count * 2;
|
||||
}
|
||||
for(int i = 0; i < fn; i++){
|
||||
System.out.print(" ");
|
||||
}
|
||||
for(int i = 0; i < count; i++){
|
||||
System.out.print("*");
|
||||
}
|
||||
System.out.println();
|
||||
Pattern(n-1, count/2 + fn);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,126 @@
|
||||
public class SNode<E> {
|
||||
|
||||
/**
|
||||
* data: an integer stored
|
||||
* link: the next intnode in the linked list
|
||||
*/
|
||||
private E data;
|
||||
private SNode<E> link;
|
||||
|
||||
|
||||
/**
|
||||
* default constructor
|
||||
*/
|
||||
public SNode() {
|
||||
this.data = null;
|
||||
this.link = null;
|
||||
}
|
||||
|
||||
SNode(E _data, SNode<E> _link) {
|
||||
this.data = _data;
|
||||
this.link = _link;
|
||||
}
|
||||
|
||||
|
||||
// Getters and setters
|
||||
public E getData() {
|
||||
return data;
|
||||
}
|
||||
|
||||
public void setData(E data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public SNode<E> getLink() {
|
||||
return link;
|
||||
}
|
||||
|
||||
public void setLink(SNode<E> link) {
|
||||
this.link = link;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* adds a new SNode after the node it's called from
|
||||
*
|
||||
* @param newData the data you want to add (int)
|
||||
*/
|
||||
void addNodeAfterThis(E newData) {
|
||||
setLink(new SNode<>(newData, this.link));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* removes the SNode after the one it's called from
|
||||
*/
|
||||
public void removeNodeAfterThis() {
|
||||
if (getLink() == null) {
|
||||
System.out.println("The list is empty, Nothing to " +
|
||||
"remove");
|
||||
} else {
|
||||
setLink(getLink().getLink());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* gets the number of nodes after the one it's called from.
|
||||
* @return the number of items in the List
|
||||
*/
|
||||
public int listLength() {
|
||||
if (this.data == null) {
|
||||
return 0;
|
||||
}
|
||||
int cnt = 1;
|
||||
for (SNode<E> cursor = this.getLink(); cursor != null; cursor
|
||||
= cursor.getLink()) {
|
||||
cnt++;
|
||||
}
|
||||
return cnt-1;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* adds a new integer to the end of the linked list.
|
||||
*
|
||||
* @param newData the new integer to be added.
|
||||
*/
|
||||
public void addToEnd(E newData) {
|
||||
SNode cursor = this;
|
||||
while(cursor.getLink() != null){ cursor = cursor.getLink(); }
|
||||
cursor.addNodeAfterThis(newData);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Builds a string from all the nodes in the list.
|
||||
*
|
||||
* @return a string of the data separated by arrows.
|
||||
*/
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder linkStr = new StringBuilder();
|
||||
SNode answer = null;
|
||||
for (SNode<? extends E> cursor = getLink(); cursor != null; cursor =
|
||||
cursor.getLink()) {
|
||||
linkStr.append(cursor.getData());
|
||||
if (cursor.getLink() != null) {
|
||||
linkStr.append("->");
|
||||
}
|
||||
}
|
||||
|
||||
return "SNode{" +
|
||||
"data=" + linkStr +
|
||||
'}';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* prints out the toString value of the Node.
|
||||
*/
|
||||
public void printData() {
|
||||
System.out.println(this.toString());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,37 @@
|
||||
public class Search {
|
||||
/**
|
||||
* imoplements binary search
|
||||
* @param A the array we want to search in.
|
||||
* @param e the int we are looking for in the array.
|
||||
* @return the index of the item we are finding.
|
||||
*/
|
||||
private static int binarySearch(int[] A, int e){
|
||||
int end = A.length-1;
|
||||
int start = 0;
|
||||
int mid = (end+start)/2;
|
||||
|
||||
while((start <= end)){
|
||||
if(A[mid] == e) {
|
||||
return mid;
|
||||
}
|
||||
if(A[mid] < e){
|
||||
start = mid+1;
|
||||
mid = (end+start)/2;
|
||||
}
|
||||
if(A[mid] > e){
|
||||
end = mid-1;
|
||||
mid = (end+start)/2;
|
||||
}
|
||||
}
|
||||
return -1;
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
int[] myArray = {1,2,3,4,5,6,7,8,9,10};
|
||||
// test for each section of the array.
|
||||
System.out.println(binarySearch(myArray, 6));
|
||||
System.out.println(binarySearch(myArray, 11));
|
||||
System.out.println(binarySearch(myArray, 3));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
interface StackInterface<E> {
|
||||
boolean push(E e);
|
||||
E pop();
|
||||
E top();
|
||||
int size();
|
||||
boolean isEmpty();
|
||||
}
|
||||
@@ -0,0 +1,152 @@
|
||||
public class StackTests {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("=====TESTING LinkedList STACK=====");
|
||||
announceTest("LIST PUSH");
|
||||
testListPush();
|
||||
announceTest("LIST POP");
|
||||
testListPop();
|
||||
announceTest("LIST TOP");
|
||||
testListTop();
|
||||
announceTest("LIST isEmpty");
|
||||
testListIsEmpty();
|
||||
System.out.println("=====LinkedList STACK TESTS " +
|
||||
"COMPLETE!!!=====");
|
||||
System.out.println("=====TESTING ArrayList STACK=====");
|
||||
announceTest("ARR PUSH");
|
||||
testArrPush();
|
||||
announceTest("ARR POP");
|
||||
testArrPop();
|
||||
announceTest("ARR TOP");
|
||||
testArrTop();
|
||||
announceTest("ARR isEmpty");
|
||||
testArrIsEmpty();
|
||||
announceTest("ARR SIZE");
|
||||
testArrSize();
|
||||
System.out.println("=====ARRAYLIST STACK TESTS " +
|
||||
"COMPLETE!!!=====");
|
||||
|
||||
}
|
||||
private static void announceTest(String name) {
|
||||
for (int i = 0; i < 50; i++) {
|
||||
System.out.print("=");
|
||||
}
|
||||
System.out.print("END OF TEST");
|
||||
System.out.println();
|
||||
System.out.println("TESTING " + name);
|
||||
|
||||
System.out.println();
|
||||
}
|
||||
private static void testListPush(){
|
||||
LinkStack<Integer> test = new LinkStack<>();
|
||||
test.push(1);
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
}
|
||||
|
||||
private static void testListPop(){
|
||||
LinkStack<Integer> test = new LinkStack<>();
|
||||
test.pop();
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
test.pop();
|
||||
test.pop();
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.pop();
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
System.out.println(test.pop());
|
||||
}
|
||||
private static void testListTop(){
|
||||
LinkStack<Integer> test = new LinkStack<>();
|
||||
test.top();
|
||||
System.out.println(test.top());
|
||||
test.push(0);
|
||||
System.out.println(test.top());
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
System.out.println(test.top());
|
||||
|
||||
}
|
||||
private static void testListIsEmpty(){
|
||||
LinkStack<Integer> test = new LinkStack<>();
|
||||
System.out.println(test.isEmpty());
|
||||
System.out.println(test.isEmpty());
|
||||
test.push(1);
|
||||
System.out.println(test.isEmpty());
|
||||
test.pop();
|
||||
System.out.println(test.isEmpty());
|
||||
}
|
||||
private static void testArrPush(){
|
||||
ArraylistStack<Integer> test = new ArraylistStack<>();
|
||||
test.push(1);
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
}
|
||||
|
||||
private static void testArrPop(){
|
||||
ArraylistStack<Integer> test = new ArraylistStack<>();
|
||||
test.pop();
|
||||
test.isEmpty();
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
test.pop();
|
||||
test.pop();
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.pop();
|
||||
}
|
||||
System.out.println(test);
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
System.out.println(test);
|
||||
System.out.println(test.pop());
|
||||
}
|
||||
private static void testArrTop(){
|
||||
ArraylistStack<Integer> test = new ArraylistStack<>();
|
||||
test.top();
|
||||
System.out.println(test.top());
|
||||
test.push(0);
|
||||
System.out.println(test.top());
|
||||
for (int i = 0; i < 10; i++) {
|
||||
test.push(i);
|
||||
}
|
||||
System.out.println(test.top());
|
||||
|
||||
}
|
||||
private static void testArrIsEmpty(){
|
||||
ArraylistStack<Integer> test = new ArraylistStack<>();
|
||||
System.out.println(test.isEmpty());
|
||||
System.out.println(test.isEmpty());
|
||||
test.push(1);
|
||||
System.out.println(test.isEmpty());
|
||||
test.pop();
|
||||
System.out.println(test.isEmpty());
|
||||
}
|
||||
private static void testArrSize(){
|
||||
ArraylistStack<Integer> test = new ArraylistStack<>();
|
||||
test.size();
|
||||
test.push(0);
|
||||
test.size();
|
||||
test.push(0);
|
||||
test.size();
|
||||
test.pop();
|
||||
test.size();
|
||||
test.pop();
|
||||
test.size();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import java.util.ArrayList;
|
||||
|
||||
public class Test {
|
||||
public static void main(String[] args) {
|
||||
ArrayList<Integer> test = new ArrayList<>();
|
||||
test.add(10, 10);
|
||||
}
|
||||
}
|
||||
@@ -1,13 +1,4 @@
|
||||
import java.io.IOException;
|
||||
|
||||
/*
|
||||
* Ziad Arafat
|
||||
* I just imported my strToFile function from the fileops package I created
|
||||
*/
|
||||
|
||||
import fileops.fileops;
|
||||
|
||||
|
||||
public class Welcome {
|
||||
/**
|
||||
* @param args
|
||||
|
||||
@@ -0,0 +1,302 @@
|
||||
Employee Name,Employee Number,State,Zip,DOB,Age,Sex,MaritalDesc,CitizenDesc,Hispanic/Latino,RaceDesc,Date of Hire,Date of Termination,Reason For Term,Employment Status,Department,Position,Pay Rate,Manager Name,Employee Source,Performance Score
|
||||
"Brown, Mia",1103024456,MA,1450,11/24/85,32,Female,Married,US Citizen,No,Black or African American,10/27/08,,N/A - still employed,Active,Admin Offices,Accountant I,28.5,Brandon R. LeBlanc,Diversity Job Fair,Fully Meets
|
||||
"LaRotonda, William ",1106026572,MA,1460,4/26/84,33,Male,Divorced,US Citizen,No,Black or African American,1/6/14,,N/A - still employed,Active,Admin Offices,Accountant I,23,Brandon R. LeBlanc,Website Banner Ads,Fully Meets
|
||||
"Steans, Tyrone ",1302053333,MA,2703,9/1/86,31,Male,Single,US Citizen,No,White,9/29/14,,N/A - still employed,Active,Admin Offices,Accountant I,29,Brandon R. LeBlanc,Internet Search,Fully Meets
|
||||
"Howard, Estelle",1211050782,MA,2170,9/16/85,32,Female,Married,US Citizen,No,White,2/16/15,4/15/15,N/A - still employed,Active,Admin Offices,Administrative Assistant,21.5,Brandon R. LeBlanc,Pay Per Click - Google,N/A- too early to review
|
||||
"Singh, Nan ",1307059817,MA,2330,5/19/88,29,Female,Single,US Citizen,No,White,5/1/15,,N/A - still employed,Active,Admin Offices,Administrative Assistant,16.56,Brandon R. LeBlanc,Website Banner Ads,N/A- too early to review
|
||||
"Smith, Leigh Ann",711007713,MA,1844,6/14/87,30,Female,Married,US Citizen,No,Asian,9/26/11,9/25/13,career change,Voluntarily Terminated,Admin Offices,Administrative Assistant,20.5,Brandon R. LeBlanc,Diversity Job Fair,Fully Meets
|
||||
"LeBlanc, Brandon R",1102024115,MA,1460,6/10/84,33,Male,Married,US Citizen,No,White,1/5/16,,N/A - still employed,Active,Admin Offices,Shared Services Manager,55,Janet King,Monster.com,Fully Meets
|
||||
"Quinn, Sean",1206043417,MA,2045,11/6/84,33,Male,Married,Eligible NonCitizen,No,Black or African American,2/21/11,8/15/15,career change,Voluntarily Terminated,Admin Offices,Shared Services Manager,55,Janet King,Diversity Job Fair,Fully Meets
|
||||
"Boutwell, Bonalyn",1307060188,MA,2468,4/4/87,30,Female,Married,US Citizen,No,Asian,2/16/15,,N/A - still employed,Active,Admin Offices,Sr. Accountant,34.95,Brandon R. LeBlanc,Diversity Job Fair,90-day meets
|
||||
"Foster-Baker, Amy",1201031308,MA,2050,4/16/79,38,Female,Married,US Citizen,no,White,1/5/09,,N/A - still employed,Active,Admin Offices,Sr. Accountant,34.95,Board of Directors,Other,Fully Meets
|
||||
"King, Janet",1001495124,MA,1902,9/21/54,63,Female,Married,US Citizen,Yes,White,7/2/12,,N/A - still employed,Active,Executive Office,President & CEO,80,Board of Directors,Pay Per Click - Google,Fully Meets
|
||||
"Zamora, Jennifer",1112030816,MA,2067,8/30/79,38,Female,Single,US Citizen,No,White,4/10/10,,N/A - still employed,Active,IT/IS,CIO,65,Janet King,Employee Referral,Exceptional
|
||||
"Becker, Renee",1102024056,MA,2026,4/4/86,31,Female,Single,US Citizen,Yes,White,7/7/14,9/12/15,performance,Terminated for Cause,IT/IS,Database Administrator,43,Simon Roup,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Goble, Taisha",905013738,MA,2127,10/23/71,46,Female,Single,US Citizen,No,White,2/16/15,3/15/15,"no-call, no-show",Terminated for Cause,IT/IS,Database Administrator,48.5,Simon Roup,Glassdoor,Fully Meets
|
||||
"Hernandez, Daniff",1410071156,MA,1960,8/7/86,31,Male,Married,US Citizen,No,Black or African American,2/16/15,2/22/15,"no-call, no-show",Terminated for Cause,IT/IS,Database Administrator,40.1,Simon Roup,Employee Referral,N/A- too early to review
|
||||
"Horton, Jayne",1105025718,MA,2493,2/21/84,33,Female,Single,US Citizen,No,White,3/30/15,,N/A - still employed,Active,IT/IS,Database Administrator,34,Simon Roup,Glassdoor,N/A- too early to review
|
||||
"Johnson, Noelle ",1003018246,MA,2301,11/7/86,31,Female,Married,US Citizen,No,Asian,1/5/15,,N/A - still employed,Leave of Absence,IT/IS,Database Administrator,40,Simon Roup,Glassdoor,90-day meets
|
||||
"Murray, Thomas",1406068403,TX,78230,7/4/88,29,Male,Divorced,US Citizen,No,Black or African American,11/10/14,,N/A - still employed,Active,IT/IS,Database Administrator,35.5,Simon Roup,Diversity Job Fair,Exceptional
|
||||
"Pearson, Randall",1102023965,MA,2747,9/5/84,33,Male,Married,US Citizen,No,White,12/1/14,5/1/16,performance,Voluntarily Terminated,IT/IS,Database Administrator,41,Simon Roup,Employee Referral,Fully Meets
|
||||
"Petrowsky, Thelma",1108027853,MA,1886,9/16/84,33,Female,Married,US Citizen,No,Asian,11/10/14,,N/A - still employed,Active,IT/IS,Database Administrator,42.75,Simon Roup,Employee Referral,Exceptional
|
||||
"Roby, Lori ",1407068885,MA,1886,10/11/81,36,Female,Married,US Citizen,No,White,2/16/15,,N/A - still employed,Active,IT/IS,Database Administrator,39.55,Simon Roup,Employee Referral,Fully Meets
|
||||
"Rogers, Ivan",1203032255,MA,1810,8/26/86,31,Male,Married,US Citizen,No,White,3/30/15,,N/A - still employed,Active,IT/IS,Database Administrator,42.2,Simon Roup,Pay Per Click - Google,N/A- too early to review
|
||||
"Salter, Jason",1111030148,MA,2452,12/17/87,30,Male,Divorced,US Citizen,No,Black or African American,1/5/15,10/31/15,hours,Voluntarily Terminated,IT/IS,Database Administrator,45,Simon Roup,Vendor Referral,90-day meets
|
||||
"Simard, Kramer",808010278,MA,2110,2/8/70,47,Male,Married,US Citizen,Yes,White,1/5/15,,N/A - still employed,Active,IT/IS,Database Administrator,30.2,Simon Roup,Employee Referral,90-day meets
|
||||
"Zhou, Julia",1110029732,MA,2148,2/24/79,38,Female,Single,US Citizen,No,White,3/30/15,,N/A - still employed,Active,IT/IS,Database Administrator,31.4,Simon Roup,Employee Referral,90-day meets
|
||||
"Foss, Jason",1192991000,MA,1460,7/5/80,37,Male,Single,US Citizen,No,Black or African American,4/15/11,,N/A - still employed,Active,IT/IS,IT Director,65,Jennifer Zamora,Professional Society,Exceptional
|
||||
"Roup,Simon",1106026933,MA,2481,4/5/73,44,Male,Single,US Citizen,No,White,1/20/13,,N/A - still employed,Active,IT/IS,IT Manager - DB,62,Jennifer Zamora,Professional Society,Fully Meets
|
||||
"Ruiz, Ricardo",1001175250,MA,1915,1/4/64,54,Male,Divorced,US Citizen,No,Two or more races,1/9/12,11/4/15,hours,Voluntarily Terminated,IT/IS,IT Manager - DB,21,Jennifer Zamora,Diversity Job Fair,Fully Meets
|
||||
"Monroe, Peter",1011022863,MA,2134,10/5/86,31,Male,Married,Eligible NonCitizen,Yes,Hispanic,2/15/12,,N/A - still employed,Active,IT/IS,IT Manager - Infra,63,Jennifer Zamora,Diversity Job Fair,Needs Improvement
|
||||
"Dougall, Eric",1101023754,MA,1886,7/9/70,47,Male,Single,US Citizen,No,White,1/5/14,,N/A - still employed,Active,IT/IS,IT Manager - Support,64,Jennifer Zamora,Professional Society,Exceeds
|
||||
"Clayton, Rick",1301052902,MA,2170,9/5/85,32,Male,Single,US Citizen,No,White,9/5/12,,N/A - still employed,Active,IT/IS,IT Support,28.99,Eric Dougall,Glassdoor,Fully Meets
|
||||
"Galia, Lisa",1501072093,CT,6040,7/6/68,49,Female,Single,US Citizen,No,White,5/1/10,,N/A - still employed,Active,IT/IS,IT Support,31.4,Eric Dougall,Vendor Referral,Fully Meets
|
||||
"Lindsay, Leonara ",602000312,CT,6070,10/5/88,29,Female,Single,US Citizen,Yes,Two or more races,1/21/11,,N/A - still employed,Active,IT/IS,IT Support,26,Eric Dougall,Diversity Job Fair,Exceeds
|
||||
"Soto, Julia ",1203032263,MA,2360,3/12/73,44,Female,Married,US Citizen,No,Black or African American,6/10/11,,N/A - still employed,Active,IT/IS,IT Support,27.49,Eric Dougall,Information Session,Fully Meets
|
||||
"Bacong, Alejandro ",1212052023,MA,1886,1/7/88,30,Male,Divorced,US Citizen,No,White,1/5/15,,N/A - still employed,Active,IT/IS,Network Engineer,45,Peter Monroe,Glassdoor,90-day meets
|
||||
"Cisco, Anthony",1102024173,MA,2135,11/24/89,28,Male,Married,US Citizen,Yes,White,3/30/15,,N/A - still employed,Active,IT/IS,Network Engineer,42,Peter Monroe,Information Session,N/A- too early to review
|
||||
"Dolan, Linda",1101023540,MA,2119,7/18/88,29,Female,Married,US Citizen,No,White,1/5/15,,N/A - still employed,Active,IT/IS,Network Engineer,37,Peter Monroe,Employee Referral,90-day meets
|
||||
"Gonzalez, Maria",1988299991,MA,2472,4/16/81,36,Female,Separated,US Citizen,Yes,White,1/5/15,,N/A - still employed,Active,IT/IS,Network Engineer,39,Peter Monroe,Employee Referral,Fully Meets
|
||||
"Merlos, Carlos",1012023013,MA,2138,6/18/87,30,Male,Single,US Citizen,No,White,3/30/15,,N/A - still employed,Active,IT/IS,Network Engineer,43,Peter Monroe,Vendor Referral,N/A- too early to review
|
||||
"Morway, Tanya",1001956578,MA,2048,4/4/79,38,Female,Married,US Citizen,No,White,2/16/15,,N/A - still employed,Active,IT/IS,Network Engineer,27,Peter Monroe,Monster.com,Fully Meets
|
||||
"Shepard, Anita ",906014183,MA,1773,4/14/81,36,Female,Married,US Citizen,No,White,9/30/14,,N/A - still employed,Active,IT/IS,Network Engineer,47,Peter Monroe,Vendor Referral,Fully Meets
|
||||
"Tredinnick, Neville ",1104025466,MA,1420,5/5/88,29,Male,Married,US Citizen,No,White,1/5/15,5/12/15,medical issues,Voluntarily Terminated,IT/IS,Network Engineer,28,Peter Monroe,Monster.com,Fully Meets
|
||||
"Turpin, Jumil",1411071506,MA,2343,3/31/69,48,Male,Married,Eligible NonCitizen,No,White,3/30/15,,N/A - still employed,Active,IT/IS,Network Engineer,49.1,Peter Monroe,Employee Referral,N/A- too early to review
|
||||
"Ait Sidi, Karthikeyan ",1307060199,MA,2148,5/5/75,42,Male,Married,US Citizen,No,White,3/30/15,6/16/16,career change,Voluntarily Terminated,IT/IS,Sr. DBA,62,Simon Roup,Company Intranet - Partner,Fully Meets
|
||||
"Carr, Claudia N",1010022337,MA,1886,6/6/86,31,Female,Single,US Citizen,No,Black or African American,6/30/16,,N/A - Has not started yet,Future Start,IT/IS,Sr. DBA,61.3,Simon Roup,Vendor Referral,N/A- too early to review
|
||||
"Favis, Donald ",1412071562,CT,6033,7/30/64,53,Male,Single,US Citizen,No,Black or African American,2/17/14,2/19/16,hours,Terminated for Cause,IT/IS,Sr. DBA,58.2,Simon Roup,Vendor Referral,Fully Meets
|
||||
"Roehrich, Bianca",1111030266,MA,2703,5/27/73,44,Female,Single,US Citizen,Yes,White,1/5/15,11/10/15,Another position,Voluntarily Terminated,IT/IS,Sr. DBA,58.5,Simon Roup,Vendor Referral,90-day meets
|
||||
"Daniele, Ann ",1411071312,CT,6033,1/18/52,66,Female,Married,US Citizen,No,White,11/10/14,,N/A - still employed,Leave of Absence,IT/IS,Sr. Network Engineer,54.1,Peter Monroe,Vendor Referral,Fully Meets
|
||||
"Lajiri, Jyoti",1108028108,MA,2169,4/23/86,31,Male,Married,US Citizen,No,White,11/10/14,,N/A - still employed,Leave of Absence,IT/IS,Sr. Network Engineer,56.2,Peter Monroe,Employee Referral,Fully Meets
|
||||
"Semizoglou, Jeremiah ",904013591,MA,1545,2/9/83,34,Male,Married,US Citizen,No,Asian,6/30/16,,N/A - Has not started yet,Future Start,IT/IS,Sr. Network Engineer,53.8,Peter Monroe,On-campus Recruiting,N/A- too early to review
|
||||
"South, Joe",1308060959,CT,6278,9/9/65,52,Male,Single,US Citizen,No,White,11/10/14,,N/A - still employed,Active,IT/IS,Sr. Network Engineer,53,Peter Monroe,Employee Referral,90-day meets
|
||||
"Warfield, Sarah",1301052347,MA,2453,5/2/78,39,Female,widowed,US Citizen,No,Asian,3/30/15,,N/A - still employed,Active,IT/IS,Sr. Network Engineer,55.2,Peter Monroe,Employee Referral,N/A- too early to review
|
||||
"Bramante, Elisa",1006020066,MA,2030,3/19/83,34,Female,Single,US Citizen,No,Black or African American,1/5/09,,N/A - still employed,Active,Production ,Director of Operations,60,Janet King,Other,Exceeds
|
||||
"Albert, Michael ",1501072311,MA,2169,10/10/68,49,Male,Divorced,US Citizen,No,White,8/1/11,,N/A - still employed,Active,Production ,Production Manager,54.5,Janet King,Employee Referral,Fully Meets
|
||||
"Bozzi, Charles",1303054580,MA,1901,3/10/70,47,Male,Single,US Citizen,No,Asian,9/30/13,8/7/14,retiring,Voluntarily Terminated,Production ,Production Manager,50.5,Janet King,Billboard,Fully Meets
|
||||
"Butler, Webster L",1110029990,MA,2169,8/9/83,34,Male,Single,US Citizen,No,White,1/28/16,,N/A - still employed,Active,Production ,Production Manager,55,Janet King,Pay Per Click - Google,Exceeds
|
||||
"Dunn, Amy ",1409070147,MA,1731,11/28/73,44,Female,Single,US Citizen,No,White,9/18/14,,N/A - still employed,Active,Production ,Production Manager,51,Janet King,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Gray, Elijiah ",1307060077,MA,1752,7/11/81,36,Male,Divorced,US Citizen,No,White,6/2/15,,N/A - still employed,Active,Production ,Production Manager,54,Janet King,Employee Referral,Fully Meets
|
||||
"Hogland, Jonathan ",1001944783,MA,1890,7/1/72,45,Male,Married,US Citizen,No,White,1/10/11,12/12/15,attendance,Terminated for Cause,Production ,Production Manager,48.5,Janet King,Employee Referral,Fully Meets
|
||||
"Immediato, Walter",1403065874,MA,2128,11/15/76,41,Male,Married,US Citizen,No,Asian,2/21/11,9/24/12,unhappy,Voluntarily Terminated,Production ,Production Manager,42,Janet King,Other,Needs Improvement
|
||||
"Liebig, Ketsia",1103024679,MA,2110,10/26/81,36,Female,Married,US Citizen,No,White,9/30/13,,N/A - still employed,Active,Production ,Production Manager,55,Janet King,Website Banner Ads,Exceeds
|
||||
"Miller, Brannon",1107027351,MA,2045,8/10/81,36,Male,Single,US Citizen,yes,Hispanic,8/16/12,,N/A - still employed,Active,Production ,Production Manager,53,Janet King,Internet Search,Fully Meets
|
||||
"Peterson, Ebonee ",1402065355,MA,2030,5/9/77,40,Female,Married,US Citizen,No,White,10/25/10,5/18/16,Another position,Voluntarily Terminated,Production ,Production Manager,38.5,Janet King,Internet Search,Fully Meets
|
||||
"Spirea, Kelley",1102024149,MA,2451,9/30/75,42,Female,Married,US Citizen,No,White,10/2/12,,N/A - still employed,Active,Production ,Production Manager,52,Janet King,Vendor Referral,Fully Meets
|
||||
"Stanley, David ",1000974650,MA,1803,12/17/75,42,Male,Divorced,US Citizen,No,White,7/20/10,,N/A - still employed,Active,Production ,Production Manager,53,Janet King,Monster.com,Needs Improvement
|
||||
"Sullivan, Kissy ",1405067298,MA,1776,3/28/78,39,Female,Married,US Citizen,No,Black or African American,1/8/09,,N/A - still employed,Active,Production ,Production Manager,55,Janet King,Billboard,Fully Meets
|
||||
"Wallace, Courtney E",1410071026,MA,2478,11/14/55,62,Female,Married,US Citizen,No,Black or African American,9/26/11,1/2/12,Another position,Voluntarily Terminated,Production ,Production Manager,33.5,Janet King,Diversity Job Fair,Fully Meets
|
||||
"Adinolfi, Wilson K",1409070522,MA,1960,7/10/83,34,Male,Single,US Citizen,No,White,7/5/11,,N/A - still employed,Active,Production ,Production Technician I,20,Michael Albert,MBTA ads,Exceeds
|
||||
"Alagbe,Trina",1011022883,MA,1886,9/27/88,29,Female,Married,US Citizen,No,White,1/7/08,,N/A - still employed,Active,Production ,Production Technician I,21,Elijiah Gray,Billboard,Fully Meets
|
||||
"Anderson, Carol ",1001417624,MA,2169,9/8/89,28,Female,Divorced,US Citizen,No,White,7/11/11,9/6/11,return to school,Voluntarily Terminated,Production ,Production Technician I,16,Webster Butler,Word of Mouth,N/A- too early to review
|
||||
"Anderson, Linda ",1304055947,MA,1844,5/22/77,40,Female,Single,US Citizen,No,White,1/9/12,,N/A - still employed,Active,Production ,Production Technician I,23,Amy Dunn,MBTA ads,Exceptional
|
||||
"Athwal, Sam",1301052124,MA,2199,2/18/83,34,Male,widowed,US Citizen,No,White,9/30/13,,N/A - still employed,Active,Production ,Production Technician I,22,Ketsia Liebig,Employee Referral,N/A- too early to review
|
||||
"Bachiochi, Linda",1212051409,MA,1902,2/11/70,47,Female,Single,US Citizen,No,Two or more races,7/6/09,,N/A - still employed,Leave of Absence,Production ,Production Technician I,22,Brannon Miller,Diversity Job Fair,Fully Meets
|
||||
"Baczenski, Rachael ",1307060083,MA,1902,1/12/74,44,Female,Married,US Citizen,Yes,Hispanic,1/10/11,1/12/11,Another position,Voluntarily Terminated,Production ,Production Technician I,17,David Stanley,Diversity Job Fair,N/A- too early to review
|
||||
"Barbara, Thomas",1312063507,MA,2062,2/21/74,43,Male,Married,US Citizen,Yes,Asian,4/2/12,9/19/12,unhappy,Voluntarily Terminated,Production ,Production Technician I,22,Kissy Sullivan,Diversity Job Fair,90-day meets
|
||||
"Barone, Francesco A",1101023679,MA,1810,7/20/83,34,Male,Single,US Citizen,No,Two or more races,2/20/12,,N/A - still employed,Active,Production ,Production Technician I,16.76,Kelley Spirea,Social Networks - Facebook Twitter etc,Fully Meets
|
||||
"Barton, Nader",1212051962,MA,2747,7/15/77,40,Male,Divorced,US Citizen,No,White,9/24/12,4/6/13,Another position,Voluntarily Terminated,Production ,Production Technician I,18,Michael Albert,On-line Web application,Fully Meets
|
||||
"Beatrice, Courtney ",1403066194,MA,1915,10/27/70,47,Female,Single,Eligible NonCitizen,No,White,4/4/11,,N/A - still employed,Active,Production ,Production Technician I,22,Elijiah Gray,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Becker, Scott",1110029777,MA,2452,4/6/79,38,Male,Single,US Citizen,No,Asian,7/8/13,,N/A - still employed,Leave of Absence,Production ,Production Technician I,17,Webster Butler,MBTA ads,Fully Meets
|
||||
"Bernstein, Sean",1109029366,MA,2072,12/22/70,47,Male,Single,US Citizen,Yes,White,4/2/12,,N/A - still employed,Active,Production ,Production Technician I,16,Amy Dunn,Word of Mouth,Fully Meets
|
||||
"Biden, Lowan M",1412071844,MA,2027,12/27/58,59,Female,Divorced,US Citizen,No,Asian,8/19/13,,N/A - still employed,Active,Production ,Production Technician I,22,Ketsia Liebig,Billboard,Fully Meets
|
||||
"Billis, Helen",1308060366,MA,2031,9/1/89,28,Female,Married,US Citizen,No,White,7/7/14,,N/A - still employed,Active,Production ,Production Technician I,16,Brannon Miller,Professional Society,Exceeds
|
||||
"Brill, Donna",1406068293,MA,1701,8/24/90,27,Female,Married,US Citizen,No,White,4/2/12,6/15/13,Another position,Voluntarily Terminated,Production ,Production Technician I,20,David Stanley,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Bugali, Josephine ",1408069635,MA,2043,10/30/69,48,Female,Separated,US Citizen,No,Black or African American,11/11/13,,N/A - still employed,Leave of Absence,Production ,Production Technician I,20,Kissy Sullivan,Diversity Job Fair,Fully Meets
|
||||
"Carey, Michael ",1311063114,MA,1701,2/2/83,34,Male,widowed,US Citizen,No,Black or African American,3/31/14,,N/A - still employed,Active,Production ,Production Technician I,20,Kelley Spirea,MBTA ads,Fully Meets
|
||||
"Chace, Beatrice ",1208048062,MA,2763,1/2/51,67,Female,Single,US Citizen,No,White,9/29/14,,N/A - still employed,Active,Production ,Production Technician I,16,Michael Albert,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Chan, Lin",1305057282,MA,2170,2/12/79,38,Female,Single,US Citizen,No,White,5/12/14,,N/A - still employed,Active,Production ,Production Technician I,19.5,Elijiah Gray,Internet Search,Fully Meets
|
||||
"Chang, Donovan E",1111030129,MA,1845,8/24/83,34,Male,Single,US Citizen,No,White,7/8/13,,N/A - still employed,Active,Production ,Production Technician I,22,Webster Butler,Newspager/Magazine,Fully Meets
|
||||
"Chivukula, Enola",1101023394,MA,1775,8/27/83,34,Female,Single,US Citizen,No,White,6/27/11,11/15/15,relocation out of area,Voluntarily Terminated,Production ,Production Technician I,21,Amy Dunn,Other,90-day meets
|
||||
"Cierpiszewski, Caroline ",1012023295,MA,2044,5/31/88,29,Female,Single,Non-Citizen,No,Black or African American,10/3/11,,N/A - still employed,Active,Production ,Production Technician I,22,Ketsia Liebig,Pay Per Click - Google,Fully Meets
|
||||
"Clukey, Elijian",1407069280,MA,2134,8/26/80,37,Male,Married,US Citizen,No,White,7/6/16,,N/A - Has not started yet,Future Start,Production ,Production Technician I,24.75,Brannon Miller,Employee Referral,Exceeds
|
||||
"Cockel, James",1599991009,MA,2452,9/8/77,40,Male,Single,US Citizen,No,White,7/8/13,,N/A - still employed,Active,Production ,Production Technician I,15,David Stanley,Employee Referral,Fully Meets
|
||||
"Cole, Spencer",1001450968,MA,1880,8/12/79,38,Male,Single,US Citizen,No,Black or African American,7/11/11,9/23/12,performance,Terminated for Cause,Production ,Production Technician I,15,Kissy Sullivan,MBTA ads,Needs Improvement
|
||||
"Cornett, Lisa ",1403066069,MA,2189,3/31/77,40,Female,Married,US Citizen,Yes,White,1/5/15,,N/A - still employed,Active,Production ,Production Technician I,15.75,Kelley Spirea,Billboard,90-day meets
|
||||
"Crimmings, Jean",1311063172,MA,1821,4/10/87,30,Female,Single,US Citizen,No,White,7/6/16,,N/A - Has not started yet,Future Start,Production ,Production Technician I,19.75,Michael Albert,Newspager/Magazine,N/A- too early to review
|
||||
"Darson, Jene'ya ",1001109612,MA,2110,11/5/78,39,Female,Married,US Citizen,No,White,7/2/12,,N/A - still employed,Active,Production ,Production Technician I,15,Elijiah Gray,Billboard,Fully Meets
|
||||
"DeGweck, James",1306058816,MA,1810,10/31/77,40,Male,Married,US Citizen,No,White,5/16/11,6/8/15,unhappy,Voluntarily Terminated,Production ,Production Technician I,23.5,Webster Butler,Billboard,Fully Meets
|
||||
"Desimone, Carl ",1501072124,MA,2061,4/19/67,50,Male,Married,US Citizen,No,White,7/7/14,,N/A - still employed,Active,Production ,Production Technician I,20,Amy Dunn,Professional Society,PIP
|
||||
"Dickinson, Geoff ",706006285,MA,2180,11/15/82,35,Male,Single,US Citizen,No,White,5/12/14,,N/A - still employed,Active,Production ,Production Technician I,21,Ketsia Liebig,Pay Per Click - Google,Fully Meets
|
||||
"DiNocco, Lily ",1209048696,MA,2351,12/2/78,39,Female,Married,US Citizen,No,Black or African American,1/7/13,,N/A - still employed,Active,Production ,Production Technician I,22,Brannon Miller,Pay Per Click - Google,Needs Improvement
|
||||
"Dobrin, Denisa S",1202031618,MA,2125,10/7/86,31,Female,Single,US Citizen,Yes,White,4/2/12,,N/A - still employed,Active,Production ,Production Technician I,16.75,David Stanley,Monster.com,Fully Meets
|
||||
"Eaton, Marianne",1406067865,MA,2343,9/5/91,26,Female,Married,US Citizen,No,White,4/4/11,6/6/13,military,Voluntarily Terminated,Production ,Production Technician I,17,Kissy Sullivan,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Engdahl, Jean",1007020403,MA,2026,5/31/74,43,Male,Single,US Citizen,No,White,11/10/14,,N/A - still employed,Active,Production ,Production Technician I,21.25,Kelley Spirea,MBTA ads,Fully Meets
|
||||
"England, Rex",1101023612,MA,2045,8/25/78,39,Male,Married,US Citizen,No,White,3/31/14,,N/A - still employed,Active,Production ,Production Technician I,21,Kelley Spirea,Employee Referral,90-day meets
|
||||
"Estremera, Miguel",1104025243,MA,2129,9/2/83,34,Male,Single,US Citizen,No,White,4/2/12,9/27/14,attendance,Terminated for Cause,Production ,Production Technician I,17,Michael Albert,Word of Mouth,Needs Improvement
|
||||
"Evensen, April",1107027392,MA,2458,5/6/89,28,Female,Single,US Citizen,No,White,2/17/14,2/25/14,"no-call, no-show",Terminated for Cause,Production ,Production Technician I,18,Elijiah Gray,Word of Mouth,N/A- too early to review
|
||||
"Ferguson, Susan",1502072511,MA,2176,4/14/55,62,Female,Married,US Citizen,No,White,11/7/11,5/17/14,military,Voluntarily Terminated,Production ,Production Technician I,20,Webster Butler,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Fernandes, Nilson ",1302053339,MA,2132,10/18/89,28,Male,Married,US Citizen,No,White,5/11/15,,N/A - still employed,Active,Production ,Production Technician I,18,Amy Dunn,Professional Society,N/A- too early to review
|
||||
"Ferreira, Violeta",803009012,MA,2176,6/10/86,31,Female,Single,US Citizen,No,White,2/20/12,,N/A - still employed,Active,Production ,Production Technician I,23,Ketsia Liebig,Newspager/Magazine,Fully Meets
|
||||
"Fidelia, Libby",1006020020,MA,2155,3/16/81,36,Female,Married,US Citizen,No,White,1/9/12,,N/A - still employed,Active,Production ,Production Technician I,24,Brannon Miller,Social Networks - Facebook Twitter etc,Fully Meets
|
||||
"Garcia, Raul",1309061015,MA,1905,9/15/85,32,Male,Single,US Citizen,Yes,White,3/30/15,,N/A - still employed,Active,Production ,Production Technician I,19,David Stanley,Employee Referral,N/A- too early to review
|
||||
"Garneau, Hamish",1104025414,MA,1550,4/18/80,37,Male,Single,US Citizen,No,Asian,7/8/13,,N/A - still employed,Active,Production ,Production Technician I,18,Kissy Sullivan,Professional Society,Fully Meets
|
||||
"Gaul, Barbara",1105026041,MA,2121,12/2/83,34,Female,widowed,US Citizen,Yes,Black or African American,5/16/11,,N/A - still employed,Active,Production ,Production Technician I,24,Kelley Spirea,MBTA ads,Fully Meets
|
||||
"Gentry, Mildred",1501072192,MA,2145,10/1/90,27,Female,Married,US Citizen,No,Black or African American,3/30/15,,N/A - still employed,Active,Production ,Production Technician I,19,Michael Albert,Professional Society,N/A- too early to review
|
||||
"Gerke, Melisa",1308060622,MA,2330,5/15/70,47,Female,Divorced,US Citizen,No,White,11/7/11,11/15/11,hours,Voluntarily Terminated,Production ,Production Technician I,22,Elijiah Gray,Diversity Job Fair,N/A- too early to review
|
||||
"Gilles, Alex",1008020960,MA,2062,8/9/74,43,Male,Married,US Citizen,No,Black or African American,4/2/12,6/25/15,military,Voluntarily Terminated,Production ,Production Technician I,15,Webster Butler,Diversity Job Fair,Needs Improvement
|
||||
"Girifalco, Evelyn",1204032927,MA,2451,5/8/80,37,Female,Single,US Citizen,Yes,Two or more races,9/29/14,,N/A - still employed,Active,Production ,Production Technician I,16,Amy Dunn,Professional Society,Exceeds
|
||||
"Gold, Shenice ",1408069539,MA,2451,6/18/92,25,Female,Single,US Citizen,Yes,White,11/11/13,,N/A - still employed,Active,Production ,Production Technician I,17,Ketsia Liebig,Glassdoor,Fully Meets
|
||||
"Gonzalez, Cayo",1411071212,MA,2108,9/29/69,48,Male,Divorced,US Citizen,No,American Indian or Alaska Native,7/11/11,,N/A - still employed,Active,Production ,Production Technician I,16,Brannon Miller,Diversity Job Fair,Exceeds
|
||||
"Gordon, David",1106026579,MA,2169,5/21/79,38,Male,Married,US Citizen,No,White,7/2/12,,N/A - still employed,Active,Production ,Production Technician I,15,David Stanley,MBTA ads,Fully Meets
|
||||
"Goyal, Roxana",1312063675,MA,1864,10/9/74,43,Female,Married,US Citizen,No,Asian,8/19/13,,N/A - still employed,Leave of Absence,Production ,Production Technician I,24,Kissy Sullivan,On-campus Recruiting,Fully Meets
|
||||
"Gross, Paula",1103024859,MA,2176,5/21/83,34,Female,Divorced,US Citizen,No,White,2/21/11,1/11/14,more money,Voluntarily Terminated,Production ,Production Technician I,14,Kelley Spirea,Monster.com,Fully Meets
|
||||
"Handschiegl, Joanne",1405067064,MA,2127,3/23/77,40,Female,Married,US Citizen,No,White,11/28/11,,N/A - still employed,Active,Production ,Production Technician I,24,Michael Albert,Word of Mouth,Fully Meets
|
||||
"Harrell, Ludwick",1406068241,MA,1776,9/2/82,35,Male,Married,US Citizen,No,Asian,5/14/12,,N/A - still employed,Active,Production ,Production Technician I,21,Elijiah Gray,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Harrington, Christie ",1110029602,MA,2324,8/18/52,65,Female,Single,US Citizen,No,White,1/9/12,12/15/15,retiring,Voluntarily Terminated,Production ,Production Technician I,19.75,Webster Butler,Monster.com,Fully Meets
|
||||
"Harrison, Kara",1404066622,MA,1886,5/2/74,43,Female,Married,US Citizen,No,White,5/12/14,,N/A - still employed,Active,Production ,Production Technician I,20,Amy Dunn,Monster.com,Exceeds
|
||||
"Heitzman, Anthony",1002017900,MA,2149,1/4/84,34,Male,Single,US Citizen,No,White,8/13/12,,N/A - still employed,Active,Production ,Production Technician I,19,Ketsia Liebig,Social Networks - Facebook Twitter etc,90-day meets
|
||||
"Ivey, Rose ",1408069882,MA,1775,1/28/91,27,Female,Single,US Citizen,No,White,8/19/13,,N/A - still employed,Active,Production ,Production Technician I,16,Brannon Miller,Professional Society,Fully Meets
|
||||
"Jackson, Maryellen",1201031438,MA,2081,9/11/72,45,Female,Separated,US Citizen,No,White,11/5/12,,N/A - still employed,Active,Production ,Production Technician I,20,David Stanley,Newspager/Magazine,Fully Meets
|
||||
"Jacobi, Hannah ",1503072857,MA,1778,3/22/66,51,Female,Divorced,US Citizen,No,White,9/30/13,,N/A - still employed,Active,Production ,Production Technician I,21,Kissy Sullivan,Employee Referral,Fully Meets
|
||||
"Jhaveri, Sneha ",1412071713,MA,2109,4/13/64,53,Female,Separated,US Citizen,No,White,1/6/14,,N/A - still employed,Active,Production ,Production Technician I,19,Kelley Spirea,On-campus Recruiting,Fully Meets
|
||||
"Johnson, George",1105025721,MA,2445,8/19/59,58,Male,Married,US Citizen,No,White,11/7/11,4/29/16,more money,Voluntarily Terminated,Production ,Production Technician I,17,Michael Albert,Monster.com,Exceeds
|
||||
"Jung, Judy ",1107027450,MA,2446,4/17/86,31,Female,Married,US Citizen,No,White,1/10/11,4/1/16,unhappy,Voluntarily Terminated,Production ,Production Technician I,21,Elijiah Gray,Monster.com,90-day meets
|
||||
"Keatts, Kramer ",1301052462,MA,1887,1/19/76,42,Male,Single,US Citizen,No,White,9/30/13,,N/A - still employed,Active,Production ,Production Technician I,19,Michael Albert,Billboard,Fully Meets
|
||||
"Kinsella, Kathleen ",710007401,MA,2170,12/8/73,44,Female,Married,US Citizen,No,White,9/26/11,6/4/15,more money,Voluntarily Terminated,Production ,Production Technician I,22,Webster Butler,Search Engine - Google Bing Yahoo,90-day meets
|
||||
"Kirill, Alexandra ",903013071,MA,2127,10/8/70,47,Female,Married,US Citizen,No,White,9/26/11,1/9/12,more money,Voluntarily Terminated,Production ,Production Technician I,24,Amy Dunn,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Knapp, Bradley J",1304055683,MA,1721,11/10/77,40,Male,Single,US Citizen,No,Black or African American,2/17/14,,N/A - still employed,Active,Production ,Production Technician I,14,Ketsia Liebig,On-campus Recruiting,Fully Meets
|
||||
"Kretschmer, John",1311062610,MA,1801,2/2/80,37,Male,Married,US Citizen,No,Asian,1/10/11,,N/A - still employed,Active,Production ,Production Technician I,21,Brannon Miller,Pay Per Click - Google,Fully Meets
|
||||
"Langton, Enrico",1304055987,MA,2048,12/9/86,31,Male,Married,US Citizen,No,White,7/9/12,,N/A - still employed,Active,Production ,Production Technician I,17,David Stanley,Newspager/Magazine,Fully Meets
|
||||
"Leach, Dallas",1408069409,MA,1810,1/17/79,39,Female,Single,US Citizen,No,Asian,9/26/11,8/19/13,return to school,Voluntarily Terminated,Production ,Production Technician I,19,Kissy Sullivan,Monster.com,Fully Meets
|
||||
"LeBel, Jonathan R",1107027575,MA,2050,10/18/81,36,Male,Single,US Citizen,No,White,2/21/11,8/4/11,attendance,Terminated for Cause,Production ,Production Technician I,15,Kelley Spirea,Social Networks - Facebook Twitter etc,90-day meets
|
||||
"Linares, Marilyn ",1206042315,MA,1886,3/26/81,36,Female,Married,US Citizen,No,White,7/5/11,9/26/11,unhappy,Voluntarily Terminated,Production ,Production Technician I,15.25,Michael Albert,Internet Search,N/A- too early to review
|
||||
"Lydon, Allison",1101023353,MA,2122,10/22/75,42,Female,Married,US Citizen,No,Black or African American,2/16/15,,N/A - still employed,Leave of Absence,Production ,Production Technician I,20,Elijiah Gray,Website Banner Ads,90-day meets
|
||||
"Lynch, Lindsay",1001138521,MA,1844,2/14/73,44,Female,Single,US Citizen,Yes,Two or more races,11/7/11,11/14/15,Another position,Voluntarily Terminated,Production ,Production Technician I,19,Webster Butler,Diversity Job Fair,Exceeds
|
||||
"MacLennan, Samuel",1201031032,MA,1938,11/9/72,45,Male,widowed,US Citizen,No,White,9/24/12,9/26/12,hours,Voluntarily Terminated,Production ,Production Technician I,15,Amy Dunn,Pay Per Click,N/A- too early to review
|
||||
"Mahoney, Lauren ",1209049259,MA,2189,7/7/86,31,Female,Single,US Citizen,No,White,1/6/14,,N/A - still employed,Active,Production ,Production Technician I,17,Ketsia Liebig,Newspager/Magazine,Fully Meets
|
||||
"Mangal, Debbie",1308060754,MA,2451,11/7/74,43,Female,Married,US Citizen,No,White,11/11/13,,N/A - still employed,Active,Production ,Production Technician I,23,Brannon Miller,On-campus Recruiting,Fully Meets
|
||||
"Maurice, Shana",1401064327,MA,2330,11/22/77,40,Female,Married,US Citizen,No,White,5/31/11,,N/A - still employed,Active,Production ,Production Technician I,20,David Stanley,Other,90-day meets
|
||||
"Mckenna, Sandy",909015167,MA,2184,1/7/87,31,Female,Married,US Citizen,No,Black or African American,1/7/13,,N/A - still employed,Active,Production ,Production Technician I,24,Kissy Sullivan,Monster.com,Fully Meets
|
||||
"Meads, Elizabeth",1409070245,MA,1760,5/30/68,49,Female,Single,US Citizen,No,Black or African American,4/2/12,11/11/15,Another position,Voluntarily Terminated,Production ,Production Technician I,14,Kelley Spirea,Diversity Job Fair,Fully Meets
|
||||
"Medeiros, Jennifer",1109029256,MA,2346,9/22/76,41,Female,Single,US Citizen,No,White,3/30/15,,N/A - still employed,Active,Production ,Production Technician I,20,Michael Albert,Monster.com,N/A- too early to review
|
||||
"Motlagh, Dawn",1102024121,MA,2453,7/7/84,33,Female,Divorced,US Citizen,No,White,4/1/13,,N/A - still employed,Active,Production ,Production Technician I,15,Elijiah Gray,MBTA ads,Fully Meets
|
||||
"Ndzi, Colombui",1204033041,MA,2110,5/2/89,28,Male,Single,US Citizen,No,Black or African American,9/26/11,4/4/14,return to school,Voluntarily Terminated,Production ,Production Technician I,18,Webster Butler,Diversity Job Fair,Fully Meets
|
||||
"Ndzi, Horia",1204033041,MA,2421,3/28/83,34,Male,Married,US Citizen,No,White,4/1/13,5/25/16,more money,Voluntarily Terminated,Production ,Production Technician I,22,Amy Dunn,Employee Referral,Fully Meets
|
||||
"Newman, Richard ",1302053044,MA,2136,4/8/77,40,Male,Married,US Citizen,No,White,5/12/14,,N/A - still employed,Leave of Absence,Production ,Production Technician I,21,Ketsia Liebig,On-campus Recruiting,Fully Meets
|
||||
"Ngodup, Shari ",1403066020,MA,1810,6/3/67,50,Female,Separated,US Citizen,No,Asian,4/1/13,,N/A - still employed,Active,Production ,Production Technician I,15,Brannon Miller,Diversity Job Fair,Exceeds
|
||||
"Nguyen, Lei-Ming",1203032357,MA,2132,7/7/84,33,Female,Single,US Citizen,No,White,7/8/13,,N/A - still employed,Active,Production ,Production Technician I,19,David Stanley,Vendor Referral,Fully Meets
|
||||
"O'hare, Lynn",1206044851,MA,2152,9/30/80,37,Female,widowed,US Citizen,No,Two or more races,3/31/14,5/1/16,performance,Terminated for Cause,Production ,Production Technician I,18.5,Kissy Sullivan,Professional Society,PIP
|
||||
"Osturnka, Adeel",1404066949,MA,2478,12/11/76,41,Male,Married,US Citizen,No,White,9/30/13,,N/A - still employed,Active,Production ,Production Technician I,16,Kelley Spirea,On-campus Recruiting,Exceeds
|
||||
"Owad, Clinton",1103024335,MA,1760,11/24/79,38,Male,Single,US Citizen,No,Black or African American,2/17/14,,N/A - still employed,Active,Production ,Production Technician I,22,Michael Albert,MBTA ads,Needs Improvement
|
||||
"Panjwani, Nina",1109029531,MA,2351,5/1/79,38,Female,Married,US Citizen,No,White,2/7/11,1/12/14,Another position,Voluntarily Terminated,Production ,Production Technician I,18,Elijiah Gray,Social Networks - Facebook Twitter etc,Fully Meets
|
||||
"Pelech, Emil",1307060058,MA,2458,3/17/88,29,Male,Single,US Citizen,No,Black or African American,1/10/11,12/28/12,career change,Voluntarily Terminated,Production ,Production Technician I,24,Webster Butler,Search Engine - Google Bing Yahoo,Needs Improvement
|
||||
"Perry, Shakira",1109029186,MA,2176,7/20/86,31,Female,Single,US Citizen,No,White,5/16/11,10/25/15,medical issues,Voluntarily Terminated,Production ,Production Technician I,22,Amy Dunn,MBTA ads,Fully Meets
|
||||
"Peterson, Kayla ",1307059944,MA,1749,9/23/73,44,Female,Married,US Citizen,No,White,4/26/10,,N/A - still employed,Active,Production ,Production Technician I,17,Ketsia Liebig,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Pham, Hong",1305057440,MA,2451,3/6/88,29,Male,Married,US Citizen,No,White,7/5/11,11/30/12,more money,Voluntarily Terminated,Production ,Production Technician I,18,Brannon Miller,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Pitt, Brad ",1001735072,MA,2451,11/23/81,36,Male,Single,US Citizen,No,Black or African American,11/5/07,,N/A - still employed,Active,Production ,Production Technician I,17,David Stanley,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Power, Morissa",1102024274,MA,1742,10/15/84,33,Female,Divorced,Eligible NonCitizen,No,Asian,5/16/11,6/4/11,Another position,Voluntarily Terminated,Production ,Production Technician I,19,Kissy Sullivan,Social Networks - Facebook Twitter etc,N/A- too early to review
|
||||
"Punjabhi, Louis ",1401064562,MA,2109,6/19/61,56,Male,Single,US Citizen,No,White,1/6/14,,N/A - still employed,Active,Production ,Production Technician I,16,Kelley Spirea,Employee Referral,Fully Meets
|
||||
"Purinton, Janine",1011022926,MA,2474,9/22/70,47,Female,Divorced,US Citizen,No,White,9/24/12,6/18/13,unhappy,Voluntarily Terminated,Production ,Production Technician I,16,Kissy Sullivan,Billboard,Fully Meets
|
||||
"Rarrick, Quinn",1208048229,MA,2478,12/31/84,33,Male,Divorced,US Citizen,No,White,9/26/11,4/7/12,more money,Voluntarily Terminated,Production ,Production Technician I,21,Michael Albert,Pay Per Click - Google,Fully Meets
|
||||
"Rhoads, Thomas",1211050793,MA,2176,7/22/82,35,Male,Divorced,US Citizen,Yes,White,5/16/11,1/15/16,retiring,Voluntarily Terminated,Production ,Production Technician I,20,Elijiah Gray,Professional Society,Fully Meets
|
||||
"Rivera, Haley ",1405067642,MA,2171,1/12/73,45,Female,Married,US Citizen,No,Asian,11/28/11,,N/A - still employed,Active,Production ,Production Technician I,22,Webster Butler,Search Engine - Google Bing Yahoo,Exceeds
|
||||
"Robinson, Alain ",1206038000,MA,1420,1/7/74,44,Male,Married,US Citizen,No,Black or African American,1/10/11,1/26/16,attendance,Voluntarily Terminated,Production ,Production Technician I,24,Amy Dunn,Glassdoor,Fully Meets
|
||||
"Robinson, Cherly",1403065625,MA,1460,1/7/85,33,Female,Married,US Citizen,No,White,1/10/11,5/17/16,attendance,Terminated for Cause,Production ,Production Technician I,16,Ketsia Liebig,Glassdoor,Needs Improvement
|
||||
"Robinson, Elias",1011022887,MA,1730,1/28/85,33,Male,widowed,US Citizen,No,White,7/8/13,,N/A - still employed,Active,Production ,Production Technician I,17,Brannon Miller,Employee Referral,Exceptional
|
||||
"Rose, Ashley ",710007555,MA,1886,12/5/74,43,Female,Separated,US Citizen,No,White,1/6/14,,N/A - still employed,Active,Production ,Production Technician I,17,David Stanley,Website Banner Ads,Fully Meets
|
||||
"Rossetti, Bruno",1405067492,MA,2155,3/18/87,30,Male,Single,US Citizen,No,White,4/4/11,8/13/12,Another position,Voluntarily Terminated,Production ,Production Technician I,18,Kissy Sullivan,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Saar-Beckles, Melinda",1410070998,MA,1801,6/6/68,49,Female,Single,US Citizen,No,Black or African American,7/4/16,,N/A - Has not started yet,Future Start,Production ,Production Technician I,20,Kelley Spirea,Diversity Job Fair,N/A- too early to review
|
||||
"Sadki, Nore ",1308060535,MA,2148,12/21/74,43,Male,Single,US Citizen,No,White,1/5/09,7/30/10,relocation out of area,Voluntarily Terminated,Production ,Production Technician I,21,Michael Albert,Word of Mouth,Fully Meets
|
||||
"Sander, Kamrin",1302053362,MA,2154,7/10/88,29,Female,Married,US Citizen,No,Black or African American,9/29/14,,N/A - still employed,Active,Production ,Production Technician I,21,Elijiah Gray,On-campus Recruiting,Fully Meets
|
||||
"Sewkumar, Nori",807010161,MA,2191,3/10/75,42,Female,Single,US Citizen,No,Asian,9/30/13,,N/A - still employed,Leave of Absence,Production ,Production Technician I,15.2,Webster Butler,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Shields, Seffi",1205033102,MA,2149,8/24/85,32,Female,Married,US Citizen,No,White,8/19/13,,N/A - still employed,Active,Production ,Production Technician I,15,Amy Dunn,Newspager/Magazine,Fully Meets
|
||||
"Smith, Sade",1501071909,MA,2130,2/2/65,53,Female,Single,US Citizen,No,White,11/11/13,,N/A - still employed,Active,Production ,Production Technician I,24.5,Ketsia Liebig,Employee Referral,Fully Meets
|
||||
"Sparks, Taylor ",1410071137,MA,2093,7/20/68,49,Female,Married,US Citizen,No,White,2/20/12,,N/A - still employed,Active,Production ,Production Technician I,16,Brannon Miller,Billboard,PIP
|
||||
"Squatrito, Kristen",1405067138,MA,2359,3/26/73,44,Female,Divorced,US Citizen,No,White,5/13/13,6/29/15,unhappy,Voluntarily Terminated,Production ,Production Technician I,21,David Stanley,MBTA ads,Exceeds
|
||||
"Stanford,Barbara M",1111030244,MA,2050,8/25/82,35,Female,Divorced,US Citizen,No,Two or more races,1/10/11,,N/A - still employed,Active,Production ,Production Technician I,14,Kissy Sullivan,Word of Mouth,Fully Meets
|
||||
"Stoica, Rick",1106026896,MA,2301,3/14/85,32,Male,Married,US Citizen,No,Asian,2/17/14,,N/A - still employed,Active,Production ,Production Technician I,22,Kelley Spirea,On-campus Recruiting,Fully Meets
|
||||
"Sullivan, Timothy",1201031310,MA,2747,10/7/82,35,Male,Married,US Citizen,Yes,White,1/5/15,,N/A - still employed,Active,Production ,Production Technician I,19,Michael Albert,Word of Mouth,90-day meets
|
||||
"Sutwell, Barbara",1407069061,MA,2718,8/15/68,49,Female,Single,Eligible NonCitizen,No,Asian,5/14/12,,N/A - still employed,Active,Production ,Production Technician I,14,Elijiah Gray,Glassdoor,Fully Meets
|
||||
"Tavares, Desiree ",1405067501,MA,1801,4/3/75,42,Female,Married,Non-Citizen,No,Two or more races,4/27/09,4/1/13,Another position,Voluntarily Terminated,Production ,Production Technician I,15,Webster Butler,Diversity Job Fair,Fully Meets
|
||||
"Theamstern, Sophia",1404066739,MA,2066,5/9/65,52,Female,Single,US Citizen,No,White,7/5/11,9/5/11,return to school,Voluntarily Terminated,Production ,Production Technician I,20,Amy Dunn,Billboard,N/A- too early to review
|
||||
"Tinto, Theresa ",1103024504,MA,1876,7/30/83,34,Female,Divorced,US Citizen,No,White,1/10/11,5/14/11,Another position,Voluntarily Terminated,Production ,Production Technician I,20,Ketsia Liebig,Social Networks - Facebook Twitter etc,90-day meets
|
||||
"Tippett, Jeanette",1409070255,MA,2093,6/5/67,50,Female,Divorced,US Citizen,No,Black or African American,2/18/13,,N/A - still employed,Active,Production ,Production Technician I,24,Brannon Miller,Billboard,Fully Meets
|
||||
"Trang, Mei",1012023152,MA,2021,5/16/83,34,Female,Single,US Citizen,No,White,2/17/14,,N/A - still employed,Active,Production ,Production Technician I,22,David Stanley,Professional Society,N/A- too early to review
|
||||
"Veera, Abdellah ",1203032235,MA,2171,1/31/87,30,Male,Divorced,US Citizen,No,White,8/13/12,2/5/16,maternity leave - did not return,Voluntarily Terminated,Production ,Production Technician I,19,Kissy Sullivan,Information Session,Exceeds
|
||||
"Volk, Colleen",1011022814,MA,2747,6/3/86,31,Female,Married,US Citizen,No,White,9/26/11,2/8/16,gross misconduct,Terminated for Cause,Production ,Production Technician I,21,Kelley Spirea,Social Networks - Facebook Twitter etc,Exceeds
|
||||
"Von Massenbach, Anna",1106026474,MA,2124,4/6/85,32,Female,Single,US Citizen,No,White,7/5/15,,N/A - Has not started yet,Future Start,Production ,Production Technician I,20,Michael Albert,Newspager/Magazine,N/A- too early to review
|
||||
"Wallace, Theresa",1101023619,MA,1887,8/2/80,37,Female,Single,US Citizen,No,White,8/13/12,9/1/15,career change,Voluntarily Terminated,Production ,Production Technician I,15,Elijiah Gray,Monster.com,Needs Improvement
|
||||
"Whittier, Scott",1307060212,MA,2030,5/24/87,30,Male,Single,US Citizen,Yes,White,1/10/11,5/15/11,hours,Voluntarily Terminated,Production ,Production Technician I,23,Webster Butler,Newspager/Magazine,90-day meets
|
||||
"Wilber, Barry",1101023839,MA,2324,9/9/65,52,Male,Married,Eligible NonCitizen,No,White,5/16/11,9/7/15,unhappy,Voluntarily Terminated,Production ,Production Technician I,21,Amy Dunn,Website Banner Ads,Fully Meets
|
||||
"Williams, Jacquelyn ",1308060671,MA,2109,10/2/69,48,Female,Single,US Citizen,Yes,Two or more races,1/9/12,6/27/15,relocation out of area,Voluntarily Terminated,Production ,Production Technician I,16,Ketsia Liebig,Diversity Job Fair,Fully Meets
|
||||
"Ybarra, Catherine ",1001268402,MA,2458,5/4/82,35,Female,Single,US Citizen,No,Asian,9/2/08,9/29/15,Another position,Voluntarily Terminated,Production ,Production Technician I,22,Brannon Miller,Search Engine - Google Bing Yahoo,PIP
|
||||
"Zima, Colleen",1211051232,MA,1730,8/17/78,39,Female,widowed,US Citizen,No,Asian,9/29/14,,N/A - still employed,Active,Production ,Production Technician I,15,David Stanley,On-campus Recruiting,Fully Meets
|
||||
"Akinkuolie, Sarah",1005019209,MA,1810,9/19/88,29,Female,Married,US Citizen,No,White,7/5/11,9/24/12,hours,Voluntarily Terminated,Production ,Production Technician II,29,Kissy Sullivan,Newspager/Magazine,90-day meets
|
||||
"Beak, Kimberly ",1303054329,MA,2145,4/17/66,51,Female,Married,US Citizen,No,White,7/21/16,,N/A - Has not started yet,Future Start,Production ,Production Technician II,27,Kelley Spirea,Employee Referral,Exceeds
|
||||
"Blount, Dianna",1403066125,MA,2171,9/21/90,27,Female,Single,US Citizen,No,White,4/4/11,,N/A - still employed,Active,Production ,Production Technician II,27,Michael Albert,Monster.com,Needs Improvement
|
||||
"Bondwell, Betsy",1008021030,MA,2210,1/16/67,51,Female,Single,US Citizen,No,White,1/10/11,4/4/14,career change,Voluntarily Terminated,Production ,Production Technician II,26,Elijiah Gray,Search Engine - Google Bing Yahoo,90-day meets
|
||||
"Buccheri, Joseph ",1101023457,MA,1013,7/28/83,34,Male,Single,US Citizen,No,White,9/29/14,,N/A - still employed,Active,Production ,Production Technician II,22,Webster Butler,Word of Mouth,Fully Meets
|
||||
"Burke, Joelle",1011022820,MA,2148,3/2/80,37,Female,Single,US Citizen,No,Black or African American,3/5/12,,N/A - still employed,Active,Production ,Production Technician II,25,Amy Dunn,Employee Referral,Fully Meets
|
||||
"Burkett, Benjamin ",1301052449,MA,1890,8/19/77,40,Male,Married,US Citizen,No,White,4/4/11,,N/A - still employed,Active,Production ,Production Technician II,26,Ketsia Liebig,Careerbuilder,Fully Meets
|
||||
"Cloninger, Jennifer",1012023226,MA,1752,8/31/81,36,Female,Married,US Citizen,No,White,5/16/11,1/7/13,unhappy,Voluntarily Terminated,Production ,Production Technician II,25,Brannon Miller,Word of Mouth,90-day meets
|
||||
"Close, Phil",1209048697,MA,2169,11/25/78,39,Male,Married,US Citizen,No,White,8/30/10,9/26/11,career change,Voluntarily Terminated,Production ,Production Technician II,26,David Stanley,Other,Fully Meets
|
||||
"Davis, Daniel",1201031274,MA,2458,9/14/79,38,Male,Single,Eligible NonCitizen,No,Two or more races,11/7/11,,N/A - still employed,Active,Production ,Production Technician II,25,Kissy Sullivan,Newspager/Magazine,90-day meets
|
||||
"Demita, Carla",1104025179,MA,2343,2/25/51,66,Female,Separated,US Citizen,No,Black or African American,4/4/11,11/4/15,more money,Voluntarily Terminated,Production ,Production Technician II,29,Kelley Spirea,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Erilus, Angela",1105025661,MA,2133,8/25/89,28,Female,Separated,US Citizen,No,White,7/7/14,,N/A - still employed,Active,Production ,Production Technician II,24,Michael Albert,Pay Per Click - Google,PIP
|
||||
"Faller, Megan ",1108028428,MA,1824,9/22/78,39,Female,Married,US Citizen,No,Black or African American,7/7/14,,N/A - still employed,Active,Production ,Production Technician II,27,Elijiah Gray,Professional Society,Fully Meets
|
||||
"Fancett, Nicole",1402065085,MA,2324,9/27/87,30,Female,Single,US Citizen,No,Black or African American,2/17/14,,N/A - still employed,Active,Production ,Production Technician II,24,Webster Butler,Newspager/Magazine,Fully Meets
|
||||
"Fitzpatrick, Michael J",1109029103,MA,2143,10/1/81,36,Male,Single,US Citizen,Yes,White,5/16/11,6/24/13,hours,Voluntarily Terminated,Production ,Production Technician II,29,Amy Dunn,Social Networks - Facebook Twitter etc,Fully Meets
|
||||
"Foreman, Tanya",1012023204,MA,2170,11/8/83,34,Female,Married,US Citizen,No,White,4/4/11,1/9/12,career change,Voluntarily Terminated,Production ,Production Technician II,24,Ketsia Liebig,Word of Mouth,Fully Meets
|
||||
"Gonzalez, Juan",1411071324,MA,2128,10/12/64,53,Male,Married,US Citizen,No,Black or African American,4/26/10,5/30/11,career change,Voluntarily Terminated,Production ,Production Technician II,29,Brannon Miller,Diversity Job Fair,PIP
|
||||
"Good, Susan",1001549006,MA,1886,5/25/86,31,Female,Married,US Citizen,No,White,5/12/14,,N/A - still employed,Leave of Absence,Production ,Production Technician II,24.25,David Stanley,Professional Society,Fully Meets
|
||||
"Gosciminski, Phylicia ",1108028351,MA,1824,12/8/83,34,Female,Separated,US Citizen,No,American Indian or Alaska Native,9/30/13,,N/A - still employed,Leave of Absence,Production ,Production Technician II,27,Kissy Sullivan,Word of Mouth,Fully Meets
|
||||
"Hankard, Earnest",1307059937,MA,2155,8/10/88,29,Male,Single,US Citizen,Yes,White,11/11/13,,N/A - still employed,Active,Production ,Production Technician II,24,Kelley Spirea,Newspager/Magazine,Fully Meets
|
||||
"Hendrickson, Trina",1011022932,MA,2021,8/27/72,45,Female,Single,US Citizen,No,White,1/10/11,2/18/13,hours,Voluntarily Terminated,Production ,Production Technician II,24,Kelley Spirea,Monster.com,Fully Meets
|
||||
"Homberger, Adrienne J",1207046956,MA,2445,2/16/84,33,Female,Married,Non-Citizen,No,White,8/15/11,4/7/12,relocation out of area,Voluntarily Terminated,Production ,Production Technician II,28,Michael Albert,Glassdoor,Fully Meets
|
||||
"Hunts, Julissa",1106026433,MA,2021,3/11/84,33,Female,Single,US Citizen,No,White,6/6/16,,N/A - Has not started yet,Future Start,Production ,Production Technician II,25,Elijiah Gray,Vendor Referral,N/A- too early to review
|
||||
"Hutter, Rosalie",1103024924,MA,2351,5/7/92,25,Female,Separated,US Citizen,No,White,6/5/15,,N/A - Has not started yet,Future Start,Production ,Production Technician II,28,Webster Butler,Other,N/A- too early to review
|
||||
"Huynh, Ming",1306058509,MA,1742,9/22/76,41,Female,Divorced,US Citizen,No,White,2/21/11,4/1/13,unhappy,Voluntarily Terminated,Production ,Production Technician II,23,Amy Dunn,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Jeannite, Tayana",1008020942,MA,1821,11/6/86,31,Female,Divorced,US Citizen,No,American Indian or Alaska Native,7/5/11,,N/A - still employed,Active,Production ,Production Technician II,22.5,Ketsia Liebig,MBTA ads,Exceeds
|
||||
"Johnston, Yen",1306057810,MA,2128,9/8/69,48,Female,Single,US Citizen,No,White,7/7/14,,N/A - still employed,Active,Production ,Production Technician II,25,Brannon Miller,Professional Society,Exceptional
|
||||
"Langford, Lindsey",1010022030,MA,2090,7/25/79,38,Female,Divorced,US Citizen,No,Asian,1/7/13,3/31/14,Another position,Voluntarily Terminated,Production ,Production Technician II,22,David Stanley,Glassdoor,Fully Meets
|
||||
"Latif, Mohammed",1104025486,MA,2126,5/9/84,33,Male,Married,US Citizen,No,White,4/2/12,4/15/13,more money,Voluntarily Terminated,Production ,Production Technician II,28,Kissy Sullivan,Word of Mouth,Fully Meets
|
||||
"Linden, Mathew",1405067565,MA,1770,3/19/79,38,Male,Married,US Citizen,No,White,7/8/13,,N/A - still employed,Leave of Absence,Production ,Production Technician II,22,Kelley Spirea,Information Session,Fully Meets
|
||||
"Lundy, Susan",1305056276,MA,2122,12/26/76,41,Female,widowed,US Citizen,No,White,7/8/13,9/15/13,more money,Voluntarily Terminated,Production ,Production Technician II,24,Michael Albert,On-campus Recruiting,N/A- too early to review
|
||||
"Lunquist, Lisa",1001504432,MA,2324,3/28/82,35,Female,Single,US Citizen,No,Black or African American,8/19/13,,N/A - still employed,Active,Production ,Production Technician II,26.1,Elijiah Gray,Glassdoor,Exceeds
|
||||
"Manchester, Robyn",1110029623,MA,2324,8/25/76,41,Female,Married,US Citizen,No,White,5/11/16,,N/A - Has not started yet,Future Start,Production ,Production Technician II,23,Webster Butler,Vendor Referral,N/A- too early to review
|
||||
"Mancuso, Karen",1304055986,MA,2176,12/10/86,31,Female,Married,US Citizen,No,Two or more races,7/5/11,8/19/11,Another position,Voluntarily Terminated,Production ,Production Technician II,23,Amy Dunn,Newspager/Magazine,N/A- too early to review
|
||||
"McCarthy, Brigit",1406067957,MA,2149,5/21/87,30,Female,Single,US Citizen,No,White,3/30/15,,N/A - still employed,Active,Production ,Production Technician II,26,Ketsia Liebig,Newspager/Magazine,N/A- too early to review
|
||||
"Miller, Ned",1205033439,MA,2472,6/29/85,32,Male,Single,US Citizen,No,White,8/15/11,9/4/14,unhappy,Voluntarily Terminated,Production ,Production Technician II,25,Brannon Miller,MBTA ads,PIP
|
||||
"Monkfish, Erasumus ",1404066711,MA,1450,8/17/92,25,Male,Married,US Citizen,No,White,11/7/11,,N/A - still employed,Active,Production ,Production Technician II,27,David Stanley,Professional Society,Fully Meets
|
||||
"Monterro, Luisa",1001103149,MA,2126,4/24/70,47,Female,Single,US Citizen,No,Black or African American,5/13/13,,N/A - still employed,Active,Production ,Production Technician II,25,Kissy Sullivan,Billboard,Exceptional
|
||||
"Moran, Patrick",1408069503,MA,2127,12/3/76,41,Male,Single,US Citizen,No,Hispanic,1/9/12,,N/A - still employed,Leave of Absence,Production ,Production Technician II,26,Kelley Spirea,Diversity Job Fair,Fully Meets
|
||||
"Moumanil, Maliki ",1301052436,MA,1460,12/1/74,43,Male,Separated,US Citizen,No,Black or African American,5/13/13,,N/A - still employed,Active,Production ,Production Technician II,29,Michael Albert,On-campus Recruiting,Fully Meets
|
||||
"Nowlan, Kristie",1104025435,MA,1040,11/23/85,32,Female,Single,US Citizen,No,White,11/10/14,,N/A - still employed,Active,Production ,Production Technician II,26.39,Elijiah Gray,Glassdoor,Fully Meets
|
||||
"Oliver, Brooke ",1001856521,MA,2492,2/11/52,65,Female,Married,US Citizen,No,Asian,5/14/12,8/19/13,unhappy,Voluntarily Terminated,Production ,Production Technician II,25,Webster Butler,Newspager/Magazine,90-day meets
|
||||
"Pelletier, Ermine",1202031821,MA,2472,7/18/89,28,Female,Married,US Citizen,No,Asian,7/5/11,9/15/11,unhappy,Voluntarily Terminated,Production ,Production Technician II,28,Amy Dunn,Monster.com,N/A- too early to review
|
||||
"Peters, Lauren",1411071406,MA,1886,8/17/86,31,Female,Married,US Citizen,No,White,5/16/11,2/4/12,more money,Voluntarily Terminated,Production ,Production Technician II,29,Ketsia Liebig,Pay Per Click - Google,Exceeds
|
||||
"Petingill, Shana ",1103024843,MA,2050,3/10/79,38,Female,Married,Eligible NonCitizen,No,Asian,4/2/12,,N/A - still employed,Active,Production ,Production Technician II,26,Brannon Miller,MBTA ads,Fully Meets
|
||||
"Roberson, May",1402065340,MA,1902,9/5/81,36,Female,Divorced,Eligible NonCitizen,No,White,9/26/11,10/22/11,return to school,Voluntarily Terminated,Production ,Production Technician II,26,David Stanley,Search Engine - Google Bing Yahoo,N/A- too early to review
|
||||
"Robertson, Peter",1499902991,MA,2138,7/3/72,45,Male,Married,US Citizen,No,White,7/5/11,2/8/12,Another position,Voluntarily Terminated,Production ,Production Technician II,22,Kissy Sullivan,Glassdoor,Fully Meets
|
||||
"Sahoo, Adil",1106026462,MA,2062,4/26/86,31,Male,Married,US Citizen,No,White,8/30/10,,N/A - still employed,Active,Production ,Production Technician II,29,Kelley Spirea,Monster.com,Fully Meets
|
||||
"Sloan, Constance",1012023103,MA,1851,11/25/87,30,Female,Single,US Citizen,No,White,10/26/09,4/8/15,maternity leave - did not return,Voluntarily Terminated,Production ,Production Technician II,23,Michael Albert,Monster.com,Fully Meets
|
||||
"Smith, Joe",1001970770,MA,2045,10/30/63,54,Male,Single,US Citizen,No,White,9/29/14,,N/A - still employed,Active,Production ,Production Technician II,22,Elijiah Gray,Pay Per Click - Google,Exceeds
|
||||
"Tejeda, Lenora ",1406068345,MA,2129,5/24/53,64,Female,Married,US Citizen,No,White,5/16/11,7/8/12,Another position,Voluntarily Terminated,Production ,Production Technician II,28.75,Elijiah Gray,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Thibaud, Kenneth",1011022777,MA,2472,9/16/75,42,Male,widowed,US Citizen,No,White,6/25/07,8/30/10,military,Voluntarily Terminated,Production ,Production Technician II,23,Webster Butler,Pay Per Click - Google,Fully Meets
|
||||
"Trzeciak, Cybil",1107027551,MA,1778,3/15/85,32,Female,Single,US Citizen,No,White,1/10/11,7/2/12,unhappy,Voluntarily Terminated,Production ,Production Technician II,22,Amy Dunn,Vendor Referral,Fully Meets
|
||||
"Walker, Roger",1011022818,MA,2459,2/10/76,41,Male,Single,US Citizen,No,Black or African American,8/18/14,,N/A - still employed,Active,Production ,Production Technician II,22,Ketsia Liebig,Employee Referral,Fully Meets
|
||||
"Winthrop, Jordan ",1405067188,MA,2045,11/7/58,59,male,Single,US Citizen,No,White,1/7/13,2/21/16,retiring,Voluntarily Terminated,Production ,Production Technician II,29,Brannon Miller,Professional Society,Exceeds
|
||||
"Wolk, Hang T",1205033180,MA,2302,4/20/85,32,Female,Single,US Citizen,No,White,9/29/14,,N/A - still employed,Active,Production ,Production Technician II,22,David Stanley,Newspager/Magazine,Fully Meets
|
||||
"Woodson, Jason",1012023010,MA,1810,5/11/85,32,Male,Single,US Citizen,No,White,7/7/14,,N/A - still employed,Active,Production ,Production Technician II,24.25,Kissy Sullivan,Vendor Referral,Fully Meets
|
||||
"Buck, Edward",1504073313,MA,2330,7/7/75,42,Male,Married,US Citizen,No,White,9/29/14,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Employee Referral,Fully Meets
|
||||
"Bunbury, Jessica",1504073368,VA,21851,6/1/64,53,Female,Married,Eligible NonCitizen,No,Black or African American,8/15/11,8/2/14,Another position,Voluntarily Terminated,Sales,Area Sales Manager,55,John Smith,Social Networks - Facebook Twitter etc,Fully Meets
|
||||
"Carter, Michelle ",1403065721,VT,5664,5/15/63,54,Female,Single,US Citizen,No,White,8/18/14,,N/A - still employed,Active,Sales,Area Sales Manager,55,John Smith,Billboard,Fully Meets
|
||||
"Costa, Latia",1409070567,CA,90007,11/8/88,29,Female,Single,US Citizen,No,White,1/10/11,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Other,Exceeds
|
||||
"Dietrich, Jenna ",1408069481,WA,98052,5/14/87,30,Female,Single,US Citizen,Yes,White,2/20/12,,N/A - still employed,Active,Sales,Area Sales Manager,55,John Smith,Website Banner Ads,PIP
|
||||
"Digitale, Alfred",1306059197,NH,3062,9/14/88,29,Male,Married,US Citizen,No,American Indian or Alaska Native,8/18/14,,N/A - still employed,Active,Sales,Area Sales Manager,56,John Smith,Pay Per Click - Google,Fully Meets
|
||||
"Fraval, Maruk ",1411071302,CT,6050,8/28/63,54,Male,Single,US Citizen,No,Black or African American,9/6/11,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Monster.com,Fully Meets
|
||||
"Friedman, Gerry",1204032843,NY,10171,2/24/69,48,Male,Single,US Citizen,Yes,Two or more races,3/7/11,,N/A - still employed,Active,Sales,Area Sales Manager,55.5,John Smith,Diversity Job Fair,Fully Meets
|
||||
"Gill, Whitney ",1302053046,OH,43050,7/10/71,46,Female,widowed,US Citizen,No,Black or African American,7/7/14,9/5/15,attendance,Terminated for Cause,Sales,Area Sales Manager,55,John Smith,Monster.com,Fully Meets
|
||||
"Givens, Myriam",1203032099,IN,46204,9/22/89,28,Female,Single,US Citizen,No,White,2/16/15,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Pay Per Click - Google,90-day meets
|
||||
"Gonzales, Ricardo",1411071481,ID,83706,10/12/54,63,Male,Married,US Citizen,No,White,5/12/14,,N/A - still employed,Active,Sales,Area Sales Manager,55.5,John Smith,Monster.com,Fully Meets
|
||||
"Guilianno, Mike",1001167253,TN,37129,2/9/69,48,Male,Single,US Citizen,No,Two or more races,3/7/11,10/31/14,relocation out of area,Voluntarily Terminated,Sales,Area Sales Manager,55,John Smith,Newspager/Magazine,Fully Meets
|
||||
"Jeremy, Prater",1001084890,NV,89139,5/9/74,43,Male,Married,US Citizen,No,White,5/12/14,,N/A - still employed,Active,Sales,Area Sales Manager,56,Lynn Daneault,Website Banner Ads,PIP
|
||||
"Khemmich, Bartholemew",1104025008,CO,80820,11/27/79,38,Male,Single,US Citizen,No,White,8/19/13,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Pay Per Click - Google,Fully Meets
|
||||
"Leruth, Giovanni",1412071660,UT,84111,12/27/88,29,Male,Separated,US Citizen,No,Black or African American,4/30/12,,N/A - still employed,Active,Sales,Area Sales Manager,55,John Smith,Website Banner Ads,Fully Meets
|
||||
"Martins, Joseph",1209048771,TX,78207,6/11/70,47,Male,Single,Eligible NonCitizen,No,Black or African American,5/14/12,,N/A - still employed,Active,Sales,Area Sales Manager,56,Lynn Daneault,Employee Referral,Fully Meets
|
||||
"McKinzie, Jac",1209049326,TX,78789,7/1/84,33,Male,Married,US Citizen,No,Two or more races,7/6/16,,N/A - Has not started yet,Future Start,Sales,Area Sales Manager,55,Lynn Daneault,Website Banner Ads,N/A- too early to review
|
||||
"Mullaney, Howard",1306057978,AL,36006,11/2/75,42,Male,Single,US Citizen,No,Two or more races,9/29/14,,N/A - still employed,Active,Sales,Area Sales Manager,55,John Smith,Internet Search,Needs Improvement
|
||||
"Nguyen, Dheepa",1111030684,GA,30428,3/31/89,28,Female,Single,US Citizen,No,Two or more races,7/8/13,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Pay Per Click - Google,Fully Meets
|
||||
"Onque, Jasmine",1501072180,FL,33174,5/11/90,27,Female,Single,US Citizen,Yes,White,9/30/13,,N/A - still employed,Active,Sales,Area Sales Manager,57,Lynn Daneault,Pay Per Click - Google,Fully Meets
|
||||
"Ozark, Travis",812011761,NC,27229,5/19/82,35,Male,Single,US Citizen,No,White,1/5/15,,N/A - still employed,Active,Sales,Area Sales Manager,55,John Smith,Website Banner Ads,90-day meets
|
||||
"Potts, Xana",1102024106,KY,40220,8/29/88,29,Female,Married,US Citizen,No,Black or African American,1/9/12,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Website Banner Ads,Fully Meets
|
||||
"Riordan, Michael",1502072711,ND,58782,1/15/68,50,Male,Separated,US Citizen,No,White,1/9/06,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Billboard,Exceeds
|
||||
"Strong, Caitrin",1411071295,MT,59102,5/12/89,28,Female,Married,US Citizen,No,Black or African American,9/27/10,,N/A - still employed,Active,Sales,Area Sales Manager,54,John Smith,Professional Society,Fully Meets
|
||||
"Terry, Sharlene ",1401064637,OR,97756,5/7/65,52,Female,Single,US Citizen,No,Black or African American,9/29/14,,N/A - still employed,Active,Sales,Area Sales Manager,55,Lynn Daneault,Monster.com,Fully Meets
|
||||
"Valentin,Jackie",1312063714,AZ,85006,5/23/91,26,Female,Married,US Citizen,No,Two or more races,7/5/11,,N/A - still employed,Active,Sales,Area Sales Manager,55,John Smith,Other,Fully Meets
|
||||
"Villanueva, Noah",1111030503,ME,4063,7/11/89,28,Male,Single,US Citizen,No,Asian,3/5/12,,N/A - still employed,Active,Sales,Area Sales Manager,56,John Smith,Website Banner Ads,Fully Meets
|
||||
"Houlihan, Debra",1009021646,RI,2908,3/17/66,51,Female,Married,US Citizen,No,White,5/5/14,,N/A - still employed,Active,Sales,Director of Sales,60,Janet King,MBTA ads,Fully Meets
|
||||
"Daneault, Lynn",1402065303,VT,5473,4/19/90,27,Female,Single,US Citizen,No,White,5/5/14,,N/A - still employed,Active,Sales,Sales Manager,54,Debra Houlihan,Pay Per Click - Google,Fully Meets
|
||||
"Kampew, Donysha ",1109029264,PA,19444,11/11/89,28,Female,Single,US Citizen,No,White,11/7/11,4/24/14,maternity leave - did not return,Voluntarily Terminated,Sales,Sales Manager,60.25,Debra Houlihan,Social Networks - Facebook Twitter etc,Fully Meets
|
||||
"Smith, John",1499902910,MA,1886,8/16/84,33,Male,Divorced,US Citizen,no,Black or African American,5/18/14,,N/A - still employed,Active,Sales,Sales Manager,56,Debra Houlihan,Diversity Job Fair,Needs Improvement
|
||||
"Andreola, Colby",1107027358,MA,2110,5/24/79,38,Female,Single,US Citizen,No,White,11/10/14,,N/A - still employed,Active,Software Engineering,Software Engineer,47.6,Alex Sweetwater,Vendor Referral,Fully Meets
|
||||
"Carabbio, Judith",1101023577,MA,2132,4/5/87,30,Female,Single,US Citizen,No,White,11/11/13,,N/A - still employed,Active,Software Engineering,Software Engineer,56,Alex Sweetwater,Pay Per Click - Google,90-day meets
|
||||
"Del Bosque, Keyla",1203032498,MA,2176,7/5/79,38,Female,Single,US Citizen,No,Black or African American,1/9/12,,N/A - still employed,Active,Software Engineering,Software Engineer,57.12,Alex Sweetwater,Monster.com,90-day meets
|
||||
"Exantus, Susan",1401064670,MA,1749,5/15/87,30,Female,Married,US Citizen,No,Black or African American,5/2/11,6/5/13,attendance,Terminated for Cause,Software Engineering,Software Engineer,48.5,Alex Sweetwater,Billboard,Needs Improvement
|
||||
"Martin, Sandra",1303054625,MA,2135,11/7/87,30,Female,Separated,US Citizen,No,Asian,11/11/13,,N/A - still employed,Active,Software Engineering,Software Engineer,55.51,Alex Sweetwater,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
"Patronick, Luke",1112030979,MA,1844,2/20/79,38,Male,Single,US Citizen,No,Asian,11/7/11,9/7/15,Another position,Voluntarily Terminated,Software Engineering,Software Engineer,52.25,Alex Sweetwater,Diversity Job Fair,Exceeds
|
||||
"Saada, Adell",1012023185,MA,2132,7/24/86,31,Female,Married,US Citizen,No,White,11/5/12,,N/A - still employed,Active,Software Engineering,Software Engineer,49.25,Alex Sweetwater,Pay Per Click - Google,Fully Meets
|
||||
"Szabo, Andrew",1201031324,MA,2140,5/6/83,34,Male,Single,US Citizen,No,White,7/7/14,,N/A - still employed,Active,Software Engineering,Software Engineer,48,Alex Sweetwater,MBTA ads,Exceptional
|
||||
"True, Edward",1102024057,MA,2451,6/14/83,34,Male,Single,Non-Citizen,No,Black or African American,2/18/13,4/15/14,medical issues,Voluntarily Terminated,Software Engineering,Software Engineer,45.42,Alex Sweetwater,Diversity Job Fair,Fully Meets
|
||||
"Sweetwater, Alex",1001644719,MA,2184,11/22/66,51,Male,Single,US Citizen,No,White,8/15/11,,N/A - still employed,Active,Software Engineering ,Software Engineering Manager,27,Jennifer Zamora,Search Engine - Google Bing Yahoo,Fully Meets
|
||||
|
@@ -0,0 +1,543 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>IntNode</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="IntNode";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10,"i8":9,"i9":10,"i10":10,"i11":10};
|
||||
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
||||
var altColor = "altColor";
|
||||
var rowColor = "rowColor";
|
||||
var tableTab = "tableTab";
|
||||
var activeTableTab = "activeTableTab";
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- ======== START OF CLASS DATA ======== -->
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h2 title="Class IntNode" class="title">Class IntNode</h2>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="inheritance">
|
||||
<li>java.lang.Object</li>
|
||||
<li>
|
||||
<ul class="inheritance">
|
||||
<li>IntNode</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="description">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<hr>
|
||||
<pre>public class <span class="typeNameLabel">IntNode</span>
|
||||
extends java.lang.Object</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Constructor</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">IntNode</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">default constructor</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,IntNode)">IntNode</a></span>​(int _data,
|
||||
<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> _node)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ========== METHOD SUMMARY =========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Summary</h3>
|
||||
<table class="memberSummary">
|
||||
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colSecond" scope="col">Method</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addNodeAfterThis(int)">addNodeAfterThis</a></span>​(int newdata)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">adds a new IntNode after the node it's called from</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i1" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addRangeAfterThis(int,int)">addRangeAfterThis</a></span>​(int start,
|
||||
int end)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">add a range of ints to a List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i2" class="altColor">
|
||||
<td class="colFirst"><code>int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getData()">getData</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i3" class="rowColor">
|
||||
<td class="colFirst"><code><a href="IntNode.html" title="class in <Unnamed>">IntNode</a></code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLink()">getLink</a></span>()</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i4" class="altColor">
|
||||
<td class="colFirst"><code>static int</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listLength(IntNode)">listLength</a></span>​(<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> head)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">gets the number of nodes after the one it's called from.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i5" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#printData()">printData</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">prints out the toString value of the Node.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i6" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeNodeAfterThis()">removeNodeAfterThis</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">removes the IntNode after the one it's called from</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i7" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeXNodesAfterThis(int)">removeXNodesAfterThis</a></span>​(int count)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">removes an X number of nodes starting from the node it's called
|
||||
from</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i8" class="altColor">
|
||||
<td class="colFirst"><code>static boolean</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#search(IntNode,int)">search</a></span>​(<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> head,
|
||||
int _data)</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">searches for a data input and returns whether or not it exists in
|
||||
the List</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="i9" class="rowColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setData(int)">setData</a></span>​(int data)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i10" class="altColor">
|
||||
<td class="colFirst"><code>void</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setLink(IntNode)">setLink</a></span>​(<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> link)</code></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
<tr id="i11" class="rowColor">
|
||||
<td class="colFirst"><code>java.lang.String</code></td>
|
||||
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th>
|
||||
<td class="colLast">
|
||||
<div class="block">Builds a string from all the nodes in the list.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="methods.inherited.from.class.java.lang.Object">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Methods inherited from class java.lang.Object</h3>
|
||||
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="constructor.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Constructor Detail</h3>
|
||||
<a id="<init>()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>IntNode</h4>
|
||||
<pre>public IntNode()</pre>
|
||||
<div class="block">default constructor</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="<init>(int,IntNode)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>IntNode</h4>
|
||||
<pre>public IntNode​(int _data,
|
||||
<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> _node)</pre>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>_data</code> - The new data value to assign</dd>
|
||||
<dd><code>_node</code> - The next IntNode in the list</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- ============ METHOD DETAIL ========== -->
|
||||
<section role="region">
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a id="method.detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Method Detail</h3>
|
||||
<a id="removeXNodesAfterThis(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>removeXNodesAfterThis</h4>
|
||||
<pre class="methodSignature">public void removeXNodesAfterThis​(int count)</pre>
|
||||
<div class="block">removes an X number of nodes starting from the node it's called
|
||||
from</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>count</code> - the number of nodes you want to remove</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="addRangeAfterThis(int,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addRangeAfterThis</h4>
|
||||
<pre class="methodSignature">public void addRangeAfterThis​(int start,
|
||||
int end)</pre>
|
||||
<div class="block">add a range of ints to a List</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>start</code> - the start of the range</dd>
|
||||
<dd><code>end</code> - the end of the range</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getData()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getData</h4>
|
||||
<pre class="methodSignature">public int getData()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setData(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setData</h4>
|
||||
<pre class="methodSignature">public void setData​(int data)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="getLink()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>getLink</h4>
|
||||
<pre class="methodSignature">public <a href="IntNode.html" title="class in <Unnamed>">IntNode</a> getLink()</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="setLink(IntNode)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>setLink</h4>
|
||||
<pre class="methodSignature">public void setLink​(<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> link)</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="addNodeAfterThis(int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>addNodeAfterThis</h4>
|
||||
<pre class="methodSignature">public void addNodeAfterThis​(int newdata)</pre>
|
||||
<div class="block">adds a new IntNode after the node it's called from</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>newdata</code> - the data you want to add (int)</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="removeNodeAfterThis()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>removeNodeAfterThis</h4>
|
||||
<pre class="methodSignature">public void removeNodeAfterThis()</pre>
|
||||
<div class="block">removes the IntNode after the one it's called from</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="listLength(IntNode)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>listLength</h4>
|
||||
<pre class="methodSignature">public static int listLength​(<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> head)</pre>
|
||||
<div class="block">gets the number of nodes after the one it's called from.</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>head</code> - the head node you want to start from</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>the number of items in the List</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="search(IntNode,int)">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>search</h4>
|
||||
<pre class="methodSignature">public static boolean search​(<a href="IntNode.html" title="class in <Unnamed>">IntNode</a> head,
|
||||
int _data)</pre>
|
||||
<div class="block">searches for a data input and returns whether or not it exists in
|
||||
the List</div>
|
||||
<dl>
|
||||
<dt><span class="paramLabel">Parameters:</span></dt>
|
||||
<dd><code>head</code> - the head node to start from in the search loop</dd>
|
||||
<dd><code>_data</code> - the data you want to search for</dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>true or false depending on what it finds</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="toString()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>toString</h4>
|
||||
<pre class="methodSignature">public java.lang.String toString()</pre>
|
||||
<div class="block">Builds a string from all the nodes in the list.</div>
|
||||
<dl>
|
||||
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
||||
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
||||
<dt><span class="returnLabel">Returns:</span></dt>
|
||||
<dd>a string of the data separated by arrows.</dd>
|
||||
</dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a id="printData()">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>printData</h4>
|
||||
<pre class="methodSignature">public void printData()</pre>
|
||||
<div class="block">prints out the toString value of the Node.</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- ========= END OF CLASS DATA ========= -->
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li class="navBarCell1Rev">Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<div>
|
||||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.summary">Constr</a> | </li>
|
||||
<li><a href="#method.summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor.detail">Constr</a> | </li>
|
||||
<li><a href="#method.detail">Method</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,161 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>All Classes</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="All Classes";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="All&nbsp;Classes" class="title">All Classes</h1>
|
||||
</div>
|
||||
<div class="allClassesContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tr id="i0" class="altColor">
|
||||
<td class="colFirst"><a href="IntNode.html" title="class in <Unnamed>">IntNode</a></td>
|
||||
<th class="colLast" scope="row"> </th>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,29 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>All Classes</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="bar">All Classes</h1>
|
||||
<main role="main" class="indexContainer">
|
||||
<ul>
|
||||
<li><a href="IntNode.html" title="class in <Unnamed>">IntNode</a></li>
|
||||
</ul>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,163 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>All Packages</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="All Packages";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="All&nbsp;Packages" class="title">All Packages</h1>
|
||||
</div>
|
||||
<div class="allPackagesContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="packagesSummary">
|
||||
<caption><span>Package Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Package</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="package-summary.html"><Unnamed></a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,147 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>Constant Field Values</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Constant Field Values";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="Constant Field Values" class="title">Constant Field Values</h1>
|
||||
<section role="region">
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,145 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>Deprecated List</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Deprecated List";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="Deprecated API" class="title">Deprecated API</h1>
|
||||
<h2 title="Contents">Contents</h2>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li class="navBarCell1Rev">Deprecated</li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
unnamed package
|
||||
@@ -0,0 +1,265 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>API Help</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="API Help";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 class="title">How This API Document Is Organized</h1>
|
||||
<div class="subTitle">This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.</div>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Package</h2>
|
||||
<p>Each package has a page that contains a list of its classes and interfaces, with a summary for each. These pages may contain six categories:</p>
|
||||
<ul>
|
||||
<li>Interfaces</li>
|
||||
<li>Classes</li>
|
||||
<li>Enums</li>
|
||||
<li>Exceptions</li>
|
||||
<li>Errors</li>
|
||||
<li>Annotation Types</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Class or Interface</h2>
|
||||
<p>Each class, interface, nested class and nested interface has its own separate page. Each of these pages has three sections consisting of a class/interface description, summary tables, and detailed member descriptions:</p>
|
||||
<ul>
|
||||
<li>Class Inheritance Diagram</li>
|
||||
<li>Direct Subclasses</li>
|
||||
<li>All Known Subinterfaces</li>
|
||||
<li>All Known Implementing Classes</li>
|
||||
<li>Class or Interface Declaration</li>
|
||||
<li>Class or Interface Description</li>
|
||||
</ul>
|
||||
<br>
|
||||
<ul>
|
||||
<li>Nested Class Summary</li>
|
||||
<li>Field Summary</li>
|
||||
<li>Property Summary</li>
|
||||
<li>Constructor Summary</li>
|
||||
<li>Method Summary</li>
|
||||
</ul>
|
||||
<br>
|
||||
<ul>
|
||||
<li>Field Detail</li>
|
||||
<li>Property Detail</li>
|
||||
<li>Constructor Detail</li>
|
||||
<li>Method Detail</li>
|
||||
</ul>
|
||||
<p>Each summary entry contains the first sentence from the detailed description for that item. The summary entries are alphabetical, while the detailed descriptions are in the order they appear in the source code. This preserves the logical groupings established by the programmer.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Annotation Type</h2>
|
||||
<p>Each annotation type has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Annotation Type Declaration</li>
|
||||
<li>Annotation Type Description</li>
|
||||
<li>Required Element Summary</li>
|
||||
<li>Optional Element Summary</li>
|
||||
<li>Element Detail</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Enum</h2>
|
||||
<p>Each enum has its own separate page with the following sections:</p>
|
||||
<ul>
|
||||
<li>Enum Declaration</li>
|
||||
<li>Enum Description</li>
|
||||
<li>Enum Constant Summary</li>
|
||||
<li>Enum Constant Detail</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Tree (Class Hierarchy)</h2>
|
||||
<p>There is a <a href="overview-tree.html">Class Hierarchy</a> page for all packages, plus a hierarchy for each package. Each hierarchy page contains a list of classes and a list of interfaces. Classes are organized by inheritance structure starting with <code>java.lang.Object</code>. Interfaces do not inherit from <code>java.lang.Object</code>.</p>
|
||||
<ul>
|
||||
<li>When viewing the Overview page, clicking on "Tree" displays the hierarchy for all packages.</li>
|
||||
<li>When viewing a particular package, class or interface page, clicking on "Tree" displays the hierarchy for only that package.</li>
|
||||
</ul>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Deprecated API</h2>
|
||||
<p>The <a href="deprecated-list.html">Deprecated API</a> page lists all of the API that have been deprecated. A deprecated API is not recommended for use, generally due to improvements, and a replacement API is usually given. Deprecated APIs may be removed in future implementations.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Index</h2>
|
||||
<p>The <a href="index-all.html">Index</a> contains an alphabetic index of all classes, interfaces, constructors, methods, and fields, as well as lists of all packages and all classes.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>All Classes</h2>
|
||||
<p>The <a href="allclasses.html">All Classes</a> link shows all classes and interfaces except non-static nested types.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Serialized Form</h2>
|
||||
<p>Each serializable or externalizable class has a description of its serialization fields and methods. This information is of interest to re-implementors, not to developers using the API. While there is no link in the navigation bar, you can get to this information by going to any serialized class and clicking "Serialized Form" in the "See also" section of the class description.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Constant Field Values</h2>
|
||||
<p>The <a href="constant-values.html">Constant Field Values</a> page lists the static final fields and their values.</p>
|
||||
</section>
|
||||
</li>
|
||||
<li class="blockList">
|
||||
<section role="region">
|
||||
<h2>Search</h2>
|
||||
<p>You can search for definitions of modules, packages, types, fields, methods and other terms defined in the API, using some or all of the name. "Camel-case" abbreviations are supported: for example, "InpStr" will find "InputStream" and "InputStreamReader".</p>
|
||||
</section>
|
||||
</li>
|
||||
</ul>
|
||||
<hr>
|
||||
<span class="emphasizedPhrase">This help file applies to API documentation generated by the standard doclet.</span></div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li class="navBarCell1Rev">Help</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,240 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>Index</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Index";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="contentContainer"><a href="#I:A">A</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <br><a href="allclasses-index.html">All Classes</a> <a href="allpackages-index.html">All Packages</a><a id="I:A">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">A</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#addNodeAfterThis(int)">addNodeAfterThis(int)</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">adds a new IntNode after the node it's called from</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#addRangeAfterThis(int,int)">addRangeAfterThis(int, int)</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">add a range of ints to a List</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a id="I:G">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">G</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#getData()">getData()</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#getLink()">getLink()</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a id="I:I">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">I</h2>
|
||||
<dl>
|
||||
<dt><a href="IntNode.html" title="class in <Unnamed>"><span class="typeNameLink">IntNode</span></a> - Class in <a href="package-summary.html"><Unnamed></a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#%3Cinit%3E()">IntNode()</a></span> - Constructor for class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">default constructor</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#%3Cinit%3E(int,IntNode)">IntNode(int, IntNode)</a></span> - Constructor for class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a id="I:L">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">L</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#listLength(IntNode)">listLength(IntNode)</a></span> - Static method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">gets the number of nodes after the one it's called from.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a id="I:P">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">P</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#printData()">printData()</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">prints out the toString value of the Node.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a id="I:R">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">R</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#removeNodeAfterThis()">removeNodeAfterThis()</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">removes the IntNode after the one it's called from</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#removeXNodesAfterThis(int)">removeXNodesAfterThis(int)</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">removes an X number of nodes starting from the node it's called
|
||||
from</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a id="I:S">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">S</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#search(IntNode,int)">search(IntNode, int)</a></span> - Static method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">searches for a data input and returns whether or not it exists in
|
||||
the List</div>
|
||||
</dd>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#setData(int)">setData(int)</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd> </dd>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#setLink(IntNode)">setLink(IntNode)</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd> </dd>
|
||||
</dl>
|
||||
<a id="I:T">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h2 class="title">T</h2>
|
||||
<dl>
|
||||
<dt><span class="memberNameLink"><a href="IntNode.html#toString()">toString()</a></span> - Method in class <a href="IntNode.html" title="class in <Unnamed>">IntNode</a></dt>
|
||||
<dd>
|
||||
<div class="block">Builds a string from all the nodes in the list.</div>
|
||||
</dd>
|
||||
</dl>
|
||||
<a href="#I:A">A</a> <a href="#I:G">G</a> <a href="#I:I">I</a> <a href="#I:L">L</a> <a href="#I:P">P</a> <a href="#I:R">R</a> <a href="#I:S">S</a> <a href="#I:T">T</a> <br><a href="allclasses-index.html">All Classes</a> <a href="allpackages-index.html">All Packages</a></div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li><a href="overview-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li class="navBarCell1Rev">Index</li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,23 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>Generated Documentation (Untitled)</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<script type="text/javascript">window.location.replace('IntNode.html')</script>
|
||||
<noscript>
|
||||
<meta http-equiv="Refresh" content="0;IntNode.html">
|
||||
</noscript>
|
||||
<link rel="canonical" href="IntNode.html">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<main role="main">
|
||||
<noscript>
|
||||
<p>JavaScript is disabled on your browser.</p>
|
||||
</noscript>
|
||||
<p><a href="IntNode.html">IntNode.html</a></p>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 335 B |
|
After Width: | Height: | Size: 262 B |
|
After Width: | Height: | Size: 262 B |
|
After Width: | Height: | Size: 262 B |
|
After Width: | Height: | Size: 332 B |
|
After Width: | Height: | Size: 280 B |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 4.4 KiB |
@@ -0,0 +1,628 @@
|
||||
/*!
|
||||
* jQuery Migrate - v3.0.1 - 2017-09-26
|
||||
* Copyright jQuery Foundation and other contributors
|
||||
*/
|
||||
;( function( factory ) {
|
||||
if ( typeof define === "function" && define.amd ) {
|
||||
|
||||
// AMD. Register as an anonymous module.
|
||||
define( [ "jquery" ], window, factory );
|
||||
} else if ( typeof module === "object" && module.exports ) {
|
||||
|
||||
// Node/CommonJS
|
||||
// eslint-disable-next-line no-undef
|
||||
module.exports = factory( require( "jquery" ), window );
|
||||
} else {
|
||||
|
||||
// Browser globals
|
||||
factory( jQuery, window );
|
||||
}
|
||||
} )( function( jQuery, window ) {
|
||||
"use strict";
|
||||
|
||||
|
||||
jQuery.migrateVersion = "3.0.1";
|
||||
|
||||
jQuery.migrateMute = true;
|
||||
|
||||
/* exported migrateWarn, migrateWarnFunc, migrateWarnProp */
|
||||
|
||||
( function() {
|
||||
|
||||
var rbadVersions = /^[12]\./;
|
||||
|
||||
// Support: IE9 only
|
||||
// IE9 only creates console object when dev tools are first opened
|
||||
// IE9 console is a host object, callable but doesn't have .apply()
|
||||
if ( !window.console || !window.console.log ) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Need jQuery 3.0.0+ and no older Migrate loaded
|
||||
if ( !jQuery || rbadVersions.test( jQuery.fn.jquery ) ) {
|
||||
window.console.log( "JQMIGRATE: jQuery 3.0.0+ REQUIRED" );
|
||||
}
|
||||
if ( jQuery.migrateWarnings ) {
|
||||
window.console.log( "JQMIGRATE: Migrate plugin loaded multiple times" );
|
||||
}
|
||||
|
||||
// Show a message on the console so devs know we're active
|
||||
window.console.log( "JQMIGRATE: Migrate is installed" +
|
||||
( jQuery.migrateMute ? "" : " with logging active" ) +
|
||||
", version " + jQuery.migrateVersion );
|
||||
|
||||
} )();
|
||||
|
||||
var warnedAbout = {};
|
||||
|
||||
// List of warnings already given; public read only
|
||||
jQuery.migrateWarnings = [];
|
||||
|
||||
// Set to false to disable traces that appear with warnings
|
||||
if ( jQuery.migrateTrace === undefined ) {
|
||||
jQuery.migrateTrace = true;
|
||||
}
|
||||
|
||||
// Forget any warnings we've already given; public
|
||||
jQuery.migrateReset = function() {
|
||||
warnedAbout = {};
|
||||
jQuery.migrateWarnings.length = 0;
|
||||
};
|
||||
|
||||
function migrateWarn( msg ) {
|
||||
var console = window.console;
|
||||
if ( !warnedAbout[ msg ] ) {
|
||||
warnedAbout[ msg ] = true;
|
||||
jQuery.migrateWarnings.push( msg );
|
||||
if ( console && console.warn && !jQuery.migrateMute ) {
|
||||
console.warn( "JQMIGRATE: " + msg );
|
||||
if ( jQuery.migrateTrace && console.trace ) {
|
||||
console.trace();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function migrateWarnProp( obj, prop, value, msg ) {
|
||||
Object.defineProperty( obj, prop, {
|
||||
configurable: true,
|
||||
enumerable: true,
|
||||
get: function() {
|
||||
migrateWarn( msg );
|
||||
return value;
|
||||
},
|
||||
set: function( newValue ) {
|
||||
migrateWarn( msg );
|
||||
value = newValue;
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
function migrateWarnFunc( obj, prop, newFunc, msg ) {
|
||||
obj[ prop ] = function() {
|
||||
migrateWarn( msg );
|
||||
return newFunc.apply( this, arguments );
|
||||
};
|
||||
}
|
||||
|
||||
if ( window.document.compatMode === "BackCompat" ) {
|
||||
|
||||
// JQuery has never supported or tested Quirks Mode
|
||||
migrateWarn( "jQuery is not compatible with Quirks Mode" );
|
||||
}
|
||||
|
||||
|
||||
var oldInit = jQuery.fn.init,
|
||||
oldIsNumeric = jQuery.isNumeric,
|
||||
oldFind = jQuery.find,
|
||||
rattrHashTest = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,
|
||||
rattrHashGlob = /\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g;
|
||||
|
||||
jQuery.fn.init = function( arg1 ) {
|
||||
var args = Array.prototype.slice.call( arguments );
|
||||
|
||||
if ( typeof arg1 === "string" && arg1 === "#" ) {
|
||||
|
||||
// JQuery( "#" ) is a bogus ID selector, but it returned an empty set before jQuery 3.0
|
||||
migrateWarn( "jQuery( '#' ) is not a valid selector" );
|
||||
args[ 0 ] = [];
|
||||
}
|
||||
|
||||
return oldInit.apply( this, args );
|
||||
};
|
||||
jQuery.fn.init.prototype = jQuery.fn;
|
||||
|
||||
jQuery.find = function( selector ) {
|
||||
var args = Array.prototype.slice.call( arguments );
|
||||
|
||||
// Support: PhantomJS 1.x
|
||||
// String#match fails to match when used with a //g RegExp, only on some strings
|
||||
if ( typeof selector === "string" && rattrHashTest.test( selector ) ) {
|
||||
|
||||
// The nonstandard and undocumented unquoted-hash was removed in jQuery 1.12.0
|
||||
// First see if qS thinks it's a valid selector, if so avoid a false positive
|
||||
try {
|
||||
window.document.querySelector( selector );
|
||||
} catch ( err1 ) {
|
||||
|
||||
// Didn't *look* valid to qSA, warn and try quoting what we think is the value
|
||||
selector = selector.replace( rattrHashGlob, function( _, attr, op, value ) {
|
||||
return "[" + attr + op + "\"" + value + "\"]";
|
||||
} );
|
||||
|
||||
// If the regexp *may* have created an invalid selector, don't update it
|
||||
// Note that there may be false alarms if selector uses jQuery extensions
|
||||
try {
|
||||
window.document.querySelector( selector );
|
||||
migrateWarn( "Attribute selector with '#' must be quoted: " + args[ 0 ] );
|
||||
args[ 0 ] = selector;
|
||||
} catch ( err2 ) {
|
||||
migrateWarn( "Attribute selector with '#' was not fixed: " + args[ 0 ] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return oldFind.apply( this, args );
|
||||
};
|
||||
|
||||
// Copy properties attached to original jQuery.find method (e.g. .attr, .isXML)
|
||||
var findProp;
|
||||
for ( findProp in oldFind ) {
|
||||
if ( Object.prototype.hasOwnProperty.call( oldFind, findProp ) ) {
|
||||
jQuery.find[ findProp ] = oldFind[ findProp ];
|
||||
}
|
||||
}
|
||||
|
||||
// The number of elements contained in the matched element set
|
||||
jQuery.fn.size = function() {
|
||||
migrateWarn( "jQuery.fn.size() is deprecated and removed; use the .length property" );
|
||||
return this.length;
|
||||
};
|
||||
|
||||
jQuery.parseJSON = function() {
|
||||
migrateWarn( "jQuery.parseJSON is deprecated; use JSON.parse" );
|
||||
return JSON.parse.apply( null, arguments );
|
||||
};
|
||||
|
||||
jQuery.isNumeric = function( val ) {
|
||||
|
||||
// The jQuery 2.2.3 implementation of isNumeric
|
||||
function isNumeric2( obj ) {
|
||||
var realStringObj = obj && obj.toString();
|
||||
return !jQuery.isArray( obj ) && ( realStringObj - parseFloat( realStringObj ) + 1 ) >= 0;
|
||||
}
|
||||
|
||||
var newValue = oldIsNumeric( val ),
|
||||
oldValue = isNumeric2( val );
|
||||
|
||||
if ( newValue !== oldValue ) {
|
||||
migrateWarn( "jQuery.isNumeric() should not be called on constructed objects" );
|
||||
}
|
||||
|
||||
return oldValue;
|
||||
};
|
||||
|
||||
migrateWarnFunc( jQuery, "holdReady", jQuery.holdReady,
|
||||
"jQuery.holdReady is deprecated" );
|
||||
|
||||
migrateWarnFunc( jQuery, "unique", jQuery.uniqueSort,
|
||||
"jQuery.unique is deprecated; use jQuery.uniqueSort" );
|
||||
|
||||
// Now jQuery.expr.pseudos is the standard incantation
|
||||
migrateWarnProp( jQuery.expr, "filters", jQuery.expr.pseudos,
|
||||
"jQuery.expr.filters is deprecated; use jQuery.expr.pseudos" );
|
||||
migrateWarnProp( jQuery.expr, ":", jQuery.expr.pseudos,
|
||||
"jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos" );
|
||||
|
||||
|
||||
var oldAjax = jQuery.ajax;
|
||||
|
||||
jQuery.ajax = function( ) {
|
||||
var jQXHR = oldAjax.apply( this, arguments );
|
||||
|
||||
// Be sure we got a jQXHR (e.g., not sync)
|
||||
if ( jQXHR.promise ) {
|
||||
migrateWarnFunc( jQXHR, "success", jQXHR.done,
|
||||
"jQXHR.success is deprecated and removed" );
|
||||
migrateWarnFunc( jQXHR, "error", jQXHR.fail,
|
||||
"jQXHR.error is deprecated and removed" );
|
||||
migrateWarnFunc( jQXHR, "complete", jQXHR.always,
|
||||
"jQXHR.complete is deprecated and removed" );
|
||||
}
|
||||
|
||||
return jQXHR;
|
||||
};
|
||||
|
||||
|
||||
var oldRemoveAttr = jQuery.fn.removeAttr,
|
||||
oldToggleClass = jQuery.fn.toggleClass,
|
||||
rmatchNonSpace = /\S+/g;
|
||||
|
||||
jQuery.fn.removeAttr = function( name ) {
|
||||
var self = this;
|
||||
|
||||
jQuery.each( name.match( rmatchNonSpace ), function( i, attr ) {
|
||||
if ( jQuery.expr.match.bool.test( attr ) ) {
|
||||
migrateWarn( "jQuery.fn.removeAttr no longer sets boolean properties: " + attr );
|
||||
self.prop( attr, false );
|
||||
}
|
||||
} );
|
||||
|
||||
return oldRemoveAttr.apply( this, arguments );
|
||||
};
|
||||
|
||||
jQuery.fn.toggleClass = function( state ) {
|
||||
|
||||
// Only deprecating no-args or single boolean arg
|
||||
if ( state !== undefined && typeof state !== "boolean" ) {
|
||||
return oldToggleClass.apply( this, arguments );
|
||||
}
|
||||
|
||||
migrateWarn( "jQuery.fn.toggleClass( boolean ) is deprecated" );
|
||||
|
||||
// Toggle entire class name of each element
|
||||
return this.each( function() {
|
||||
var className = this.getAttribute && this.getAttribute( "class" ) || "";
|
||||
|
||||
if ( className ) {
|
||||
jQuery.data( this, "__className__", className );
|
||||
}
|
||||
|
||||
// If the element has a class name or if we're passed `false`,
|
||||
// then remove the whole classname (if there was one, the above saved it).
|
||||
// Otherwise bring back whatever was previously saved (if anything),
|
||||
// falling back to the empty string if nothing was stored.
|
||||
if ( this.setAttribute ) {
|
||||
this.setAttribute( "class",
|
||||
className || state === false ?
|
||||
"" :
|
||||
jQuery.data( this, "__className__" ) || ""
|
||||
);
|
||||
}
|
||||
} );
|
||||
};
|
||||
|
||||
|
||||
var internalSwapCall = false;
|
||||
|
||||
// If this version of jQuery has .swap(), don't false-alarm on internal uses
|
||||
if ( jQuery.swap ) {
|
||||
jQuery.each( [ "height", "width", "reliableMarginRight" ], function( _, name ) {
|
||||
var oldHook = jQuery.cssHooks[ name ] && jQuery.cssHooks[ name ].get;
|
||||
|
||||
if ( oldHook ) {
|
||||
jQuery.cssHooks[ name ].get = function() {
|
||||
var ret;
|
||||
|
||||
internalSwapCall = true;
|
||||
ret = oldHook.apply( this, arguments );
|
||||
internalSwapCall = false;
|
||||
return ret;
|
||||
};
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
jQuery.swap = function( elem, options, callback, args ) {
|
||||
var ret, name,
|
||||
old = {};
|
||||
|
||||
if ( !internalSwapCall ) {
|
||||
migrateWarn( "jQuery.swap() is undocumented and deprecated" );
|
||||
}
|
||||
|
||||
// Remember the old values, and insert the new ones
|
||||
for ( name in options ) {
|
||||
old[ name ] = elem.style[ name ];
|
||||
elem.style[ name ] = options[ name ];
|
||||
}
|
||||
|
||||
ret = callback.apply( elem, args || [] );
|
||||
|
||||
// Revert the old values
|
||||
for ( name in options ) {
|
||||
elem.style[ name ] = old[ name ];
|
||||
}
|
||||
|
||||
return ret;
|
||||
};
|
||||
|
||||
var oldData = jQuery.data;
|
||||
|
||||
jQuery.data = function( elem, name, value ) {
|
||||
var curData;
|
||||
|
||||
// Name can be an object, and each entry in the object is meant to be set as data
|
||||
if ( name && typeof name === "object" && arguments.length === 2 ) {
|
||||
curData = jQuery.hasData( elem ) && oldData.call( this, elem );
|
||||
var sameKeys = {};
|
||||
for ( var key in name ) {
|
||||
if ( key !== jQuery.camelCase( key ) ) {
|
||||
migrateWarn( "jQuery.data() always sets/gets camelCased names: " + key );
|
||||
curData[ key ] = name[ key ];
|
||||
} else {
|
||||
sameKeys[ key ] = name[ key ];
|
||||
}
|
||||
}
|
||||
|
||||
oldData.call( this, elem, sameKeys );
|
||||
|
||||
return name;
|
||||
}
|
||||
|
||||
// If the name is transformed, look for the un-transformed name in the data object
|
||||
if ( name && typeof name === "string" && name !== jQuery.camelCase( name ) ) {
|
||||
curData = jQuery.hasData( elem ) && oldData.call( this, elem );
|
||||
if ( curData && name in curData ) {
|
||||
migrateWarn( "jQuery.data() always sets/gets camelCased names: " + name );
|
||||
if ( arguments.length > 2 ) {
|
||||
curData[ name ] = value;
|
||||
}
|
||||
return curData[ name ];
|
||||
}
|
||||
}
|
||||
|
||||
return oldData.apply( this, arguments );
|
||||
};
|
||||
|
||||
var oldTweenRun = jQuery.Tween.prototype.run;
|
||||
var linearEasing = function( pct ) {
|
||||
return pct;
|
||||
};
|
||||
|
||||
jQuery.Tween.prototype.run = function( ) {
|
||||
if ( jQuery.easing[ this.easing ].length > 1 ) {
|
||||
migrateWarn(
|
||||
"'jQuery.easing." + this.easing.toString() + "' should use only one argument"
|
||||
);
|
||||
|
||||
jQuery.easing[ this.easing ] = linearEasing;
|
||||
}
|
||||
|
||||
oldTweenRun.apply( this, arguments );
|
||||
};
|
||||
|
||||
jQuery.fx.interval = jQuery.fx.interval || 13;
|
||||
|
||||
// Support: IE9, Android <=4.4
|
||||
// Avoid false positives on browsers that lack rAF
|
||||
if ( window.requestAnimationFrame ) {
|
||||
migrateWarnProp( jQuery.fx, "interval", jQuery.fx.interval,
|
||||
"jQuery.fx.interval is deprecated" );
|
||||
}
|
||||
|
||||
var oldLoad = jQuery.fn.load,
|
||||
oldEventAdd = jQuery.event.add,
|
||||
originalFix = jQuery.event.fix;
|
||||
|
||||
jQuery.event.props = [];
|
||||
jQuery.event.fixHooks = {};
|
||||
|
||||
migrateWarnProp( jQuery.event.props, "concat", jQuery.event.props.concat,
|
||||
"jQuery.event.props.concat() is deprecated and removed" );
|
||||
|
||||
jQuery.event.fix = function( originalEvent ) {
|
||||
var event,
|
||||
type = originalEvent.type,
|
||||
fixHook = this.fixHooks[ type ],
|
||||
props = jQuery.event.props;
|
||||
|
||||
if ( props.length ) {
|
||||
migrateWarn( "jQuery.event.props are deprecated and removed: " + props.join() );
|
||||
while ( props.length ) {
|
||||
jQuery.event.addProp( props.pop() );
|
||||
}
|
||||
}
|
||||
|
||||
if ( fixHook && !fixHook._migrated_ ) {
|
||||
fixHook._migrated_ = true;
|
||||
migrateWarn( "jQuery.event.fixHooks are deprecated and removed: " + type );
|
||||
if ( ( props = fixHook.props ) && props.length ) {
|
||||
while ( props.length ) {
|
||||
jQuery.event.addProp( props.pop() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
event = originalFix.call( this, originalEvent );
|
||||
|
||||
return fixHook && fixHook.filter ? fixHook.filter( event, originalEvent ) : event;
|
||||
};
|
||||
|
||||
jQuery.event.add = function( elem, types ) {
|
||||
|
||||
// This misses the multiple-types case but that seems awfully rare
|
||||
if ( elem === window && types === "load" && window.document.readyState === "complete" ) {
|
||||
migrateWarn( "jQuery(window).on('load'...) called after load event occurred" );
|
||||
}
|
||||
return oldEventAdd.apply( this, arguments );
|
||||
};
|
||||
|
||||
jQuery.each( [ "load", "unload", "error" ], function( _, name ) {
|
||||
|
||||
jQuery.fn[ name ] = function() {
|
||||
var args = Array.prototype.slice.call( arguments, 0 );
|
||||
|
||||
// If this is an ajax load() the first arg should be the string URL;
|
||||
// technically this could also be the "Anything" arg of the event .load()
|
||||
// which just goes to show why this dumb signature has been deprecated!
|
||||
// jQuery custom builds that exclude the Ajax module justifiably die here.
|
||||
if ( name === "load" && typeof args[ 0 ] === "string" ) {
|
||||
return oldLoad.apply( this, args );
|
||||
}
|
||||
|
||||
migrateWarn( "jQuery.fn." + name + "() is deprecated" );
|
||||
|
||||
args.splice( 0, 0, name );
|
||||
if ( arguments.length ) {
|
||||
return this.on.apply( this, args );
|
||||
}
|
||||
|
||||
// Use .triggerHandler here because:
|
||||
// - load and unload events don't need to bubble, only applied to window or image
|
||||
// - error event should not bubble to window, although it does pre-1.7
|
||||
// See http://bugs.jquery.com/ticket/11820
|
||||
this.triggerHandler.apply( this, args );
|
||||
return this;
|
||||
};
|
||||
|
||||
} );
|
||||
|
||||
jQuery.each( ( "blur focus focusin focusout resize scroll click dblclick " +
|
||||
"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
|
||||
"change select submit keydown keypress keyup contextmenu" ).split( " " ),
|
||||
function( i, name ) {
|
||||
|
||||
// Handle event binding
|
||||
jQuery.fn[ name ] = function( data, fn ) {
|
||||
migrateWarn( "jQuery.fn." + name + "() event shorthand is deprecated" );
|
||||
return arguments.length > 0 ?
|
||||
this.on( name, null, data, fn ) :
|
||||
this.trigger( name );
|
||||
};
|
||||
} );
|
||||
|
||||
// Trigger "ready" event only once, on document ready
|
||||
jQuery( function() {
|
||||
jQuery( window.document ).triggerHandler( "ready" );
|
||||
} );
|
||||
|
||||
jQuery.event.special.ready = {
|
||||
setup: function() {
|
||||
if ( this === window.document ) {
|
||||
migrateWarn( "'ready' event is deprecated" );
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
jQuery.fn.extend( {
|
||||
|
||||
bind: function( types, data, fn ) {
|
||||
migrateWarn( "jQuery.fn.bind() is deprecated" );
|
||||
return this.on( types, null, data, fn );
|
||||
},
|
||||
unbind: function( types, fn ) {
|
||||
migrateWarn( "jQuery.fn.unbind() is deprecated" );
|
||||
return this.off( types, null, fn );
|
||||
},
|
||||
delegate: function( selector, types, data, fn ) {
|
||||
migrateWarn( "jQuery.fn.delegate() is deprecated" );
|
||||
return this.on( types, selector, data, fn );
|
||||
},
|
||||
undelegate: function( selector, types, fn ) {
|
||||
migrateWarn( "jQuery.fn.undelegate() is deprecated" );
|
||||
return arguments.length === 1 ?
|
||||
this.off( selector, "**" ) :
|
||||
this.off( types, selector || "**", fn );
|
||||
},
|
||||
hover: function( fnOver, fnOut ) {
|
||||
migrateWarn( "jQuery.fn.hover() is deprecated" );
|
||||
return this.on( "mouseenter", fnOver ).on( "mouseleave", fnOut || fnOver );
|
||||
}
|
||||
} );
|
||||
|
||||
|
||||
var oldOffset = jQuery.fn.offset;
|
||||
|
||||
jQuery.fn.offset = function() {
|
||||
var docElem,
|
||||
elem = this[ 0 ],
|
||||
origin = { top: 0, left: 0 };
|
||||
|
||||
if ( !elem || !elem.nodeType ) {
|
||||
migrateWarn( "jQuery.fn.offset() requires a valid DOM element" );
|
||||
return origin;
|
||||
}
|
||||
|
||||
docElem = ( elem.ownerDocument || window.document ).documentElement;
|
||||
if ( !jQuery.contains( docElem, elem ) ) {
|
||||
migrateWarn( "jQuery.fn.offset() requires an element connected to a document" );
|
||||
return origin;
|
||||
}
|
||||
|
||||
return oldOffset.apply( this, arguments );
|
||||
};
|
||||
|
||||
|
||||
var oldParam = jQuery.param;
|
||||
|
||||
jQuery.param = function( data, traditional ) {
|
||||
var ajaxTraditional = jQuery.ajaxSettings && jQuery.ajaxSettings.traditional;
|
||||
|
||||
if ( traditional === undefined && ajaxTraditional ) {
|
||||
|
||||
migrateWarn( "jQuery.param() no longer uses jQuery.ajaxSettings.traditional" );
|
||||
traditional = ajaxTraditional;
|
||||
}
|
||||
|
||||
return oldParam.call( this, data, traditional );
|
||||
};
|
||||
|
||||
var oldSelf = jQuery.fn.andSelf || jQuery.fn.addBack;
|
||||
|
||||
jQuery.fn.andSelf = function() {
|
||||
migrateWarn( "jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()" );
|
||||
return oldSelf.apply( this, arguments );
|
||||
};
|
||||
|
||||
|
||||
var oldDeferred = jQuery.Deferred,
|
||||
tuples = [
|
||||
|
||||
// Action, add listener, callbacks, .then handlers, final state
|
||||
[ "resolve", "done", jQuery.Callbacks( "once memory" ),
|
||||
jQuery.Callbacks( "once memory" ), "resolved" ],
|
||||
[ "reject", "fail", jQuery.Callbacks( "once memory" ),
|
||||
jQuery.Callbacks( "once memory" ), "rejected" ],
|
||||
[ "notify", "progress", jQuery.Callbacks( "memory" ),
|
||||
jQuery.Callbacks( "memory" ) ]
|
||||
];
|
||||
|
||||
jQuery.Deferred = function( func ) {
|
||||
var deferred = oldDeferred(),
|
||||
promise = deferred.promise();
|
||||
|
||||
deferred.pipe = promise.pipe = function( /* fnDone, fnFail, fnProgress */ ) {
|
||||
var fns = arguments;
|
||||
|
||||
migrateWarn( "deferred.pipe() is deprecated" );
|
||||
|
||||
return jQuery.Deferred( function( newDefer ) {
|
||||
jQuery.each( tuples, function( i, tuple ) {
|
||||
var fn = jQuery.isFunction( fns[ i ] ) && fns[ i ];
|
||||
|
||||
// Deferred.done(function() { bind to newDefer or newDefer.resolve })
|
||||
// deferred.fail(function() { bind to newDefer or newDefer.reject })
|
||||
// deferred.progress(function() { bind to newDefer or newDefer.notify })
|
||||
deferred[ tuple[ 1 ] ]( function() {
|
||||
var returned = fn && fn.apply( this, arguments );
|
||||
if ( returned && jQuery.isFunction( returned.promise ) ) {
|
||||
returned.promise()
|
||||
.done( newDefer.resolve )
|
||||
.fail( newDefer.reject )
|
||||
.progress( newDefer.notify );
|
||||
} else {
|
||||
newDefer[ tuple[ 0 ] + "With" ](
|
||||
this === promise ? newDefer.promise() : this,
|
||||
fn ? [ returned ] : arguments
|
||||
);
|
||||
}
|
||||
} );
|
||||
} );
|
||||
fns = null;
|
||||
} ).promise();
|
||||
|
||||
};
|
||||
|
||||
if ( func ) {
|
||||
func.call( deferred, deferred );
|
||||
}
|
||||
|
||||
return deferred;
|
||||
};
|
||||
|
||||
// Preserve handler of uncaught exceptions in promise chains
|
||||
jQuery.Deferred.exceptionHook = oldDeferred.exceptionHook;
|
||||
|
||||
return jQuery;
|
||||
} );
|
||||
@@ -0,0 +1,582 @@
|
||||
/*! jQuery UI - v1.12.1 - 2018-12-06
|
||||
* http://jqueryui.com
|
||||
* Includes: core.css, autocomplete.css, menu.css, theme.css
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=custom-theme&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgImgOpacityContent=75&bgImgOpacityHeader=75&cornerRadiusShadow=8px&offsetLeftShadow=-8px&offsetTopShadow=-8px&thicknessShadow=8px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=%23aaaaaa&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=%23aaaaaa&iconColorError=%23cd0a0a&fcError=%23cd0a0a&borderColorError=%23cd0a0a&bgTextureError=glass&bgColorError=%23fef1ec&iconColorHighlight=%232e83ff&fcHighlight=%23363636&borderColorHighlight=%23fcefa1&bgTextureHighlight=glass&bgColorHighlight=%23fbf9ee&iconColorActive=%23454545&fcActive=%23212121&borderColorActive=%23aaaaaa&bgTextureActive=glass&bgColorActive=%23dadada&iconColorHover=%23454545&fcHover=%23212121&borderColorHover=%23999999&bgTextureHover=glass&bgColorHover=%23dadada&iconColorDefault=%23888888&fcDefault=%23555555&borderColorDefault=%23d3d3d3&bgTextureDefault=glass&bgColorDefault=%23e6e6e6&iconColorContent=%23222222&fcContent=%23222222&borderColorContent=%23aaaaaa&bgTextureContent=flat&bgColorContent=%23ffffff&iconColorHeader=%23222222&fcHeader=%23222222&borderColorHeader=%23aaaaaa&bgTextureHeader=highlight_soft&bgColorHeader=%23cccccc&cornerRadius=4px&fwDefault=normal&fsDefault=1.1em&ffDefault=Verdana%2CArial%2Csans-serif
|
||||
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
}
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.ui-helper-reset {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
line-height: 1.3;
|
||||
text-decoration: none;
|
||||
font-size: 100%;
|
||||
list-style: none;
|
||||
}
|
||||
.ui-helper-clearfix:before,
|
||||
.ui-helper-clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.ui-helper-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
.ui-helper-zfix {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter:Alpha(Opacity=0); /* support: IE8 */
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled {
|
||||
cursor: default !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
.ui-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-top: -.25em;
|
||||
position: relative;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ui-widget-icon-block {
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-autocomplete {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: default;
|
||||
}
|
||||
.ui-menu {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: block;
|
||||
outline: 0;
|
||||
}
|
||||
.ui-menu .ui-menu {
|
||||
position: absolute;
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
/* support: IE10, see #8844 */
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
||||
}
|
||||
.ui-menu .ui-menu-item-wrapper {
|
||||
position: relative;
|
||||
padding: 3px 1em 3px .4em;
|
||||
}
|
||||
.ui-menu .ui-menu-divider {
|
||||
margin: 5px 0;
|
||||
height: 0;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.ui-menu .ui-state-focus,
|
||||
.ui-menu .ui-state-active {
|
||||
margin: -1px;
|
||||
}
|
||||
|
||||
/* icon support */
|
||||
.ui-menu-icons {
|
||||
position: relative;
|
||||
}
|
||||
.ui-menu-icons .ui-menu-item-wrapper {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
/* left-aligned */
|
||||
.ui-menu .ui-icon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: .2em;
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* right-aligned */
|
||||
.ui-menu .ui-menu-icon {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* Component containers
|
||||
----------------------------------*/
|
||||
.ui-widget {
|
||||
font-family: Verdana,Arial,sans-serif;
|
||||
font-size: 1.1em;
|
||||
}
|
||||
.ui-widget .ui-widget {
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget input,
|
||||
.ui-widget select,
|
||||
.ui-widget textarea,
|
||||
.ui-widget button {
|
||||
font-family: Verdana,Arial,sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
.ui-widget.ui-widget-content {
|
||||
border: 1px solid #d3d3d3;
|
||||
}
|
||||
.ui-widget-content {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #ffffff;
|
||||
color: #222222;
|
||||
}
|
||||
.ui-widget-content a {
|
||||
color: #222222;
|
||||
}
|
||||
.ui-widget-header {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #cccccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;
|
||||
color: #222222;
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-widget-header a {
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
/* Interaction states
|
||||
----------------------------------*/
|
||||
.ui-state-default,
|
||||
.ui-widget-content .ui-state-default,
|
||||
.ui-widget-header .ui-state-default,
|
||||
.ui-button,
|
||||
|
||||
/* We use html here because we need a greater specificity to make sure disabled
|
||||
works properly when clicked or hovered */
|
||||
html .ui-button.ui-state-disabled:hover,
|
||||
html .ui-button.ui-state-disabled:active {
|
||||
border: 1px solid #d3d3d3;
|
||||
background: #e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: normal;
|
||||
color: #555555;
|
||||
}
|
||||
.ui-state-default a,
|
||||
.ui-state-default a:link,
|
||||
.ui-state-default a:visited,
|
||||
a.ui-button,
|
||||
a:link.ui-button,
|
||||
a:visited.ui-button,
|
||||
.ui-button {
|
||||
color: #555555;
|
||||
text-decoration: none;
|
||||
}
|
||||
.ui-state-hover,
|
||||
.ui-widget-content .ui-state-hover,
|
||||
.ui-widget-header .ui-state-hover,
|
||||
.ui-state-focus,
|
||||
.ui-widget-content .ui-state-focus,
|
||||
.ui-widget-header .ui-state-focus,
|
||||
.ui-button:hover,
|
||||
.ui-button:focus {
|
||||
border: 1px solid #999999;
|
||||
background: #dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: normal;
|
||||
color: #212121;
|
||||
}
|
||||
.ui-state-hover a,
|
||||
.ui-state-hover a:hover,
|
||||
.ui-state-hover a:link,
|
||||
.ui-state-hover a:visited,
|
||||
.ui-state-focus a,
|
||||
.ui-state-focus a:hover,
|
||||
.ui-state-focus a:link,
|
||||
.ui-state-focus a:visited,
|
||||
a.ui-button:hover,
|
||||
a.ui-button:focus {
|
||||
color: #212121;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.ui-visual-focus {
|
||||
box-shadow: 0 0 3px 1px rgb(94, 158, 214);
|
||||
}
|
||||
.ui-state-active,
|
||||
.ui-widget-content .ui-state-active,
|
||||
.ui-widget-header .ui-state-active,
|
||||
a.ui-button:active,
|
||||
.ui-button:active,
|
||||
.ui-button.ui-state-active:hover {
|
||||
border: 1px solid #aaaaaa;
|
||||
background: #dadada url("images/ui-bg_glass_65_dadada_1x400.png") 50% 50% repeat-x;
|
||||
font-weight: normal;
|
||||
color: #212121;
|
||||
}
|
||||
.ui-icon-background,
|
||||
.ui-state-active .ui-icon-background {
|
||||
border: #aaaaaa;
|
||||
background-color: #212121;
|
||||
}
|
||||
.ui-state-active a,
|
||||
.ui-state-active a:link,
|
||||
.ui-state-active a:visited {
|
||||
color: #212121;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-highlight,
|
||||
.ui-widget-content .ui-state-highlight,
|
||||
.ui-widget-header .ui-state-highlight {
|
||||
border: 1px solid #fcefa1;
|
||||
background: #fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;
|
||||
color: #363636;
|
||||
}
|
||||
.ui-state-checked {
|
||||
border: 1px solid #fcefa1;
|
||||
background: #fbf9ee;
|
||||
}
|
||||
.ui-state-highlight a,
|
||||
.ui-widget-content .ui-state-highlight a,
|
||||
.ui-widget-header .ui-state-highlight a {
|
||||
color: #363636;
|
||||
}
|
||||
.ui-state-error,
|
||||
.ui-widget-content .ui-state-error,
|
||||
.ui-widget-header .ui-state-error {
|
||||
border: 1px solid #cd0a0a;
|
||||
background: #fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;
|
||||
color: #cd0a0a;
|
||||
}
|
||||
.ui-state-error a,
|
||||
.ui-widget-content .ui-state-error a,
|
||||
.ui-widget-header .ui-state-error a {
|
||||
color: #cd0a0a;
|
||||
}
|
||||
.ui-state-error-text,
|
||||
.ui-widget-content .ui-state-error-text,
|
||||
.ui-widget-header .ui-state-error-text {
|
||||
color: #cd0a0a;
|
||||
}
|
||||
.ui-priority-primary,
|
||||
.ui-widget-content .ui-priority-primary,
|
||||
.ui-widget-header .ui-priority-primary {
|
||||
font-weight: bold;
|
||||
}
|
||||
.ui-priority-secondary,
|
||||
.ui-widget-content .ui-priority-secondary,
|
||||
.ui-widget-header .ui-priority-secondary {
|
||||
opacity: .7;
|
||||
filter:Alpha(Opacity=70); /* support: IE8 */
|
||||
font-weight: normal;
|
||||
}
|
||||
.ui-state-disabled,
|
||||
.ui-widget-content .ui-state-disabled,
|
||||
.ui-widget-header .ui-state-disabled {
|
||||
opacity: .35;
|
||||
filter:Alpha(Opacity=35); /* support: IE8 */
|
||||
background-image: none;
|
||||
}
|
||||
.ui-state-disabled .ui-icon {
|
||||
filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
|
||||
}
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
|
||||
/* states and images */
|
||||
.ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.ui-icon,
|
||||
.ui-widget-content .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png");
|
||||
}
|
||||
.ui-widget-header .ui-icon {
|
||||
background-image: url("images/ui-icons_222222_256x240.png");
|
||||
}
|
||||
.ui-state-hover .ui-icon,
|
||||
.ui-state-focus .ui-icon,
|
||||
.ui-button:hover .ui-icon,
|
||||
.ui-button:focus .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png");
|
||||
}
|
||||
.ui-state-active .ui-icon,
|
||||
.ui-button:active .ui-icon {
|
||||
background-image: url("images/ui-icons_454545_256x240.png");
|
||||
}
|
||||
.ui-state-highlight .ui-icon,
|
||||
.ui-button .ui-state-highlight.ui-icon {
|
||||
background-image: url("images/ui-icons_2e83ff_256x240.png");
|
||||
}
|
||||
.ui-state-error .ui-icon,
|
||||
.ui-state-error-text .ui-icon {
|
||||
background-image: url("images/ui-icons_cd0a0a_256x240.png");
|
||||
}
|
||||
.ui-button .ui-icon {
|
||||
background-image: url("images/ui-icons_888888_256x240.png");
|
||||
}
|
||||
|
||||
/* positioning */
|
||||
.ui-icon-blank { background-position: 16px 16px; }
|
||||
.ui-icon-caret-1-n { background-position: 0 0; }
|
||||
.ui-icon-caret-1-ne { background-position: -16px 0; }
|
||||
.ui-icon-caret-1-e { background-position: -32px 0; }
|
||||
.ui-icon-caret-1-se { background-position: -48px 0; }
|
||||
.ui-icon-caret-1-s { background-position: -65px 0; }
|
||||
.ui-icon-caret-1-sw { background-position: -80px 0; }
|
||||
.ui-icon-caret-1-w { background-position: -96px 0; }
|
||||
.ui-icon-caret-1-nw { background-position: -112px 0; }
|
||||
.ui-icon-caret-2-n-s { background-position: -128px 0; }
|
||||
.ui-icon-caret-2-e-w { background-position: -144px 0; }
|
||||
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
||||
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
||||
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
||||
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
||||
.ui-icon-triangle-1-s { background-position: -65px -16px; }
|
||||
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
||||
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
||||
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
||||
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
||||
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
||||
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
||||
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
||||
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
||||
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
||||
.ui-icon-arrow-1-s { background-position: -65px -32px; }
|
||||
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
||||
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
||||
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
||||
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
||||
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
||||
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
||||
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
||||
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
||||
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
||||
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
||||
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
||||
.ui-icon-arrowthick-1-n { background-position: 1px -48px; }
|
||||
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
||||
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
||||
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
||||
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
||||
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
||||
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
||||
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
||||
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
||||
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
||||
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
||||
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
||||
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
||||
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
||||
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
||||
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
||||
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
||||
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
||||
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
||||
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
||||
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
||||
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
||||
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
||||
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
||||
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
||||
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
||||
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
||||
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
||||
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
||||
.ui-icon-extlink { background-position: -32px -80px; }
|
||||
.ui-icon-newwin { background-position: -48px -80px; }
|
||||
.ui-icon-refresh { background-position: -64px -80px; }
|
||||
.ui-icon-shuffle { background-position: -80px -80px; }
|
||||
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
||||
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
||||
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
||||
.ui-icon-folder-open { background-position: -16px -96px; }
|
||||
.ui-icon-document { background-position: -32px -96px; }
|
||||
.ui-icon-document-b { background-position: -48px -96px; }
|
||||
.ui-icon-note { background-position: -64px -96px; }
|
||||
.ui-icon-mail-closed { background-position: -80px -96px; }
|
||||
.ui-icon-mail-open { background-position: -96px -96px; }
|
||||
.ui-icon-suitcase { background-position: -112px -96px; }
|
||||
.ui-icon-comment { background-position: -128px -96px; }
|
||||
.ui-icon-person { background-position: -144px -96px; }
|
||||
.ui-icon-print { background-position: -160px -96px; }
|
||||
.ui-icon-trash { background-position: -176px -96px; }
|
||||
.ui-icon-locked { background-position: -192px -96px; }
|
||||
.ui-icon-unlocked { background-position: -208px -96px; }
|
||||
.ui-icon-bookmark { background-position: -224px -96px; }
|
||||
.ui-icon-tag { background-position: -240px -96px; }
|
||||
.ui-icon-home { background-position: 0 -112px; }
|
||||
.ui-icon-flag { background-position: -16px -112px; }
|
||||
.ui-icon-calendar { background-position: -32px -112px; }
|
||||
.ui-icon-cart { background-position: -48px -112px; }
|
||||
.ui-icon-pencil { background-position: -64px -112px; }
|
||||
.ui-icon-clock { background-position: -80px -112px; }
|
||||
.ui-icon-disk { background-position: -96px -112px; }
|
||||
.ui-icon-calculator { background-position: -112px -112px; }
|
||||
.ui-icon-zoomin { background-position: -128px -112px; }
|
||||
.ui-icon-zoomout { background-position: -144px -112px; }
|
||||
.ui-icon-search { background-position: -160px -112px; }
|
||||
.ui-icon-wrench { background-position: -176px -112px; }
|
||||
.ui-icon-gear { background-position: -192px -112px; }
|
||||
.ui-icon-heart { background-position: -208px -112px; }
|
||||
.ui-icon-star { background-position: -224px -112px; }
|
||||
.ui-icon-link { background-position: -240px -112px; }
|
||||
.ui-icon-cancel { background-position: 0 -128px; }
|
||||
.ui-icon-plus { background-position: -16px -128px; }
|
||||
.ui-icon-plusthick { background-position: -32px -128px; }
|
||||
.ui-icon-minus { background-position: -48px -128px; }
|
||||
.ui-icon-minusthick { background-position: -64px -128px; }
|
||||
.ui-icon-close { background-position: -80px -128px; }
|
||||
.ui-icon-closethick { background-position: -96px -128px; }
|
||||
.ui-icon-key { background-position: -112px -128px; }
|
||||
.ui-icon-lightbulb { background-position: -128px -128px; }
|
||||
.ui-icon-scissors { background-position: -144px -128px; }
|
||||
.ui-icon-clipboard { background-position: -160px -128px; }
|
||||
.ui-icon-copy { background-position: -176px -128px; }
|
||||
.ui-icon-contact { background-position: -192px -128px; }
|
||||
.ui-icon-image { background-position: -208px -128px; }
|
||||
.ui-icon-video { background-position: -224px -128px; }
|
||||
.ui-icon-script { background-position: -240px -128px; }
|
||||
.ui-icon-alert { background-position: 0 -144px; }
|
||||
.ui-icon-info { background-position: -16px -144px; }
|
||||
.ui-icon-notice { background-position: -32px -144px; }
|
||||
.ui-icon-help { background-position: -48px -144px; }
|
||||
.ui-icon-check { background-position: -64px -144px; }
|
||||
.ui-icon-bullet { background-position: -80px -144px; }
|
||||
.ui-icon-radio-on { background-position: -96px -144px; }
|
||||
.ui-icon-radio-off { background-position: -112px -144px; }
|
||||
.ui-icon-pin-w { background-position: -128px -144px; }
|
||||
.ui-icon-pin-s { background-position: -144px -144px; }
|
||||
.ui-icon-play { background-position: 0 -160px; }
|
||||
.ui-icon-pause { background-position: -16px -160px; }
|
||||
.ui-icon-seek-next { background-position: -32px -160px; }
|
||||
.ui-icon-seek-prev { background-position: -48px -160px; }
|
||||
.ui-icon-seek-end { background-position: -64px -160px; }
|
||||
.ui-icon-seek-start { background-position: -80px -160px; }
|
||||
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
||||
.ui-icon-seek-first { background-position: -80px -160px; }
|
||||
.ui-icon-stop { background-position: -96px -160px; }
|
||||
.ui-icon-eject { background-position: -112px -160px; }
|
||||
.ui-icon-volume-off { background-position: -128px -160px; }
|
||||
.ui-icon-volume-on { background-position: -144px -160px; }
|
||||
.ui-icon-power { background-position: 0 -176px; }
|
||||
.ui-icon-signal-diag { background-position: -16px -176px; }
|
||||
.ui-icon-signal { background-position: -32px -176px; }
|
||||
.ui-icon-battery-0 { background-position: -48px -176px; }
|
||||
.ui-icon-battery-1 { background-position: -64px -176px; }
|
||||
.ui-icon-battery-2 { background-position: -80px -176px; }
|
||||
.ui-icon-battery-3 { background-position: -96px -176px; }
|
||||
.ui-icon-circle-plus { background-position: 0 -192px; }
|
||||
.ui-icon-circle-minus { background-position: -16px -192px; }
|
||||
.ui-icon-circle-close { background-position: -32px -192px; }
|
||||
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
||||
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
||||
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
||||
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
||||
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
||||
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
||||
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
||||
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
||||
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
||||
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
||||
.ui-icon-circle-check { background-position: -208px -192px; }
|
||||
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
||||
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
||||
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
||||
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
||||
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
||||
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
||||
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
||||
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
||||
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
||||
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
||||
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
||||
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
||||
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Corner radius */
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-left,
|
||||
.ui-corner-tl {
|
||||
border-top-left-radius: 4px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-top,
|
||||
.ui-corner-right,
|
||||
.ui-corner-tr {
|
||||
border-top-right-radius: 4px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-left,
|
||||
.ui-corner-bl {
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.ui-corner-all,
|
||||
.ui-corner-bottom,
|
||||
.ui-corner-right,
|
||||
.ui-corner-br {
|
||||
border-bottom-right-radius: 4px;
|
||||
}
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
background: #aaaaaa;
|
||||
opacity: .3;
|
||||
filter: Alpha(Opacity=30); /* support: IE8 */
|
||||
}
|
||||
.ui-widget-shadow {
|
||||
-webkit-box-shadow: -8px -8px 8px #aaaaaa;
|
||||
box-shadow: -8px -8px 8px #aaaaaa;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
/*! jQuery UI - v1.12.1 - 2018-12-06
|
||||
* http://jqueryui.com
|
||||
* Includes: core.css, autocomplete.css, menu.css, theme.css
|
||||
* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=custom-theme&bgImgOpacityError=95&bgImgOpacityHighlight=55&bgImgOpacityActive=65&bgImgOpacityHover=75&bgImgOpacityDefault=75&bgImgOpacityContent=75&bgImgOpacityHeader=75&cornerRadiusShadow=8px&offsetLeftShadow=-8px&offsetTopShadow=-8px&thicknessShadow=8px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=%23aaaaaa&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=%23aaaaaa&iconColorError=%23cd0a0a&fcError=%23cd0a0a&borderColorError=%23cd0a0a&bgTextureError=glass&bgColorError=%23fef1ec&iconColorHighlight=%232e83ff&fcHighlight=%23363636&borderColorHighlight=%23fcefa1&bgTextureHighlight=glass&bgColorHighlight=%23fbf9ee&iconColorActive=%23454545&fcActive=%23212121&borderColorActive=%23aaaaaa&bgTextureActive=glass&bgColorActive=%23dadada&iconColorHover=%23454545&fcHover=%23212121&borderColorHover=%23999999&bgTextureHover=glass&bgColorHover=%23dadada&iconColorDefault=%23888888&fcDefault=%23555555&borderColorDefault=%23d3d3d3&bgTextureDefault=glass&bgColorDefault=%23e6e6e6&iconColorContent=%23222222&fcContent=%23222222&borderColorContent=%23aaaaaa&bgTextureContent=flat&bgColorContent=%23ffffff&iconColorHeader=%23222222&fcHeader=%23222222&borderColorHeader=%23aaaaaa&bgTextureHeader=highlight_soft&bgColorHeader=%23cccccc&cornerRadius=4px&fwDefault=normal&fsDefault=1.1em&ffDefault=Verdana%2CArial%2Csans-serif
|
||||
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}.ui-widget{font-family:Verdana,Arial,sans-serif;font-size:1.1em}.ui-widget .ui-widget{font-size:1em}.ui-widget input,.ui-widget select,.ui-widget textarea,.ui-widget button{font-family:Verdana,Arial,sans-serif;font-size:1em}.ui-widget.ui-widget-content{border:1px solid #d3d3d3}.ui-widget-content{border:1px solid #aaa;background:#fff;color:#222}.ui-widget-content a{color:#222}.ui-widget-header{border:1px solid #aaa;background:#ccc url("images/ui-bg_highlight-soft_75_cccccc_1x100.png") 50% 50% repeat-x;color:#222;font-weight:bold}.ui-widget-header a{color:#222}.ui-state-default,.ui-widget-content .ui-state-default,.ui-widget-header .ui-state-default,.ui-button,html .ui-button.ui-state-disabled:hover,html .ui-button.ui-state-disabled:active{border:1px solid #d3d3d3;background:#e6e6e6 url("images/ui-bg_glass_75_e6e6e6_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#555}.ui-state-default a,.ui-state-default a:link,.ui-state-default a:visited,a.ui-button,a:link.ui-button,a:visited.ui-button,.ui-button{color:#555;text-decoration:none}.ui-state-hover,.ui-widget-content .ui-state-hover,.ui-widget-header .ui-state-hover,.ui-state-focus,.ui-widget-content .ui-state-focus,.ui-widget-header .ui-state-focus,.ui-button:hover,.ui-button:focus{border:1px solid #999;background:#dadada url("images/ui-bg_glass_75_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-state-hover a,.ui-state-hover a:hover,.ui-state-hover a:link,.ui-state-hover a:visited,.ui-state-focus a,.ui-state-focus a:hover,.ui-state-focus a:link,.ui-state-focus a:visited,a.ui-button:hover,a.ui-button:focus{color:#212121;text-decoration:none}.ui-visual-focus{box-shadow:0 0 3px 1px rgb(94,158,214)}.ui-state-active,.ui-widget-content .ui-state-active,.ui-widget-header .ui-state-active,a.ui-button:active,.ui-button:active,.ui-button.ui-state-active:hover{border:1px solid #aaa;background:#dadada url("images/ui-bg_glass_65_dadada_1x400.png") 50% 50% repeat-x;font-weight:normal;color:#212121}.ui-icon-background,.ui-state-active .ui-icon-background{border:#aaa;background-color:#212121}.ui-state-active a,.ui-state-active a:link,.ui-state-active a:visited{color:#212121;text-decoration:none}.ui-state-highlight,.ui-widget-content .ui-state-highlight,.ui-widget-header .ui-state-highlight{border:1px solid #fcefa1;background:#fbf9ee url("images/ui-bg_glass_55_fbf9ee_1x400.png") 50% 50% repeat-x;color:#363636}.ui-state-checked{border:1px solid #fcefa1;background:#fbf9ee}.ui-state-highlight a,.ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a{color:#363636}.ui-state-error,.ui-widget-content .ui-state-error,.ui-widget-header .ui-state-error{border:1px solid #cd0a0a;background:#fef1ec url("images/ui-bg_glass_95_fef1ec_1x400.png") 50% 50% repeat-x;color:#cd0a0a}.ui-state-error a,.ui-widget-content .ui-state-error a,.ui-widget-header .ui-state-error a{color:#cd0a0a}.ui-state-error-text,.ui-widget-content .ui-state-error-text,.ui-widget-header .ui-state-error-text{color:#cd0a0a}.ui-priority-primary,.ui-widget-content .ui-priority-primary,.ui-widget-header .ui-priority-primary{font-weight:bold}.ui-priority-secondary,.ui-widget-content .ui-priority-secondary,.ui-widget-header .ui-priority-secondary{opacity:.7;filter:Alpha(Opacity=70);font-weight:normal}.ui-state-disabled,.ui-widget-content .ui-state-Line truncated
|
||||
@@ -0,0 +1,6 @@
|
||||
/*! jQuery UI - v1.12.1 - 2018-12-06
|
||||
* http://jqueryui.com
|
||||
* Includes: widget.js, position.js, keycode.js, unique-id.js, widgets/autocomplete.js, widgets/menu.js
|
||||
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
(function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)})(function(t){t.ui=t.ui||{},t.ui.version="1.12.1";var e=0,i=Array.prototype.slice;t.cleanData=function(e){return function(i){var s,n,o;for(o=0;null!=(n=i[o]);o++)try{s=t._data(n,"events"),s&&s.remove&&t(n).triggerHandler("remove")}catch(a){}e(i)}}(t.cleanData),t.widget=function(e,i,s){var n,o,a,r={},l=e.split(".")[0];e=e.split(".")[1];var h=l+"-"+e;return s||(s=i,i=t.Widget),t.isArray(s)&&(s=t.extend.apply(null,[{}].concat(s))),t.expr[":"][h.toLowerCase()]=function(e){return!!t.data(e,h)},t[l]=t[l]||{},n=t[l][e],o=t[l][e]=function(t,e){return this._createWidget?(arguments.length&&this._createWidget(t,e),void 0):new o(t,e)},t.extend(o,n,{version:s.version,_proto:t.extend({},s),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(s,function(e,s){return t.isFunction(s)?(r[e]=function(){function t(){return i.prototype[e].apply(this,arguments)}function n(t){return i.prototype[e].apply(this,t)}return function(){var e,i=this._super,o=this._superApply;return this._super=t,this._superApply=n,e=s.apply(this,arguments),this._super=i,this._superApply=o,e}}(),void 0):(r[e]=s,void 0)}),o.prototype=t.widget.extend(a,{widgetEventPrefix:n?a.widgetEventPrefix||e:e},r,{constructor:o,namespace:l,widgetName:e,widgetFullName:h}),n?(t.each(n._childConstructors,function(e,i){var s=i.prototype;t.widget(s.namespace+"."+s.widgetName,o,i._proto)}),delete n._childConstructors):i._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var s,n,o=i.call(arguments,1),a=0,r=o.length;r>a;a++)for(s in o[a])n=o[a][s],o[a].hasOwnProperty(s)&&void 0!==n&&(e[s]=t.isPlainObject(n)?t.isPlainObject(e[s])?t.widget.extend({},e[s],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,s){var n=s.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=i.call(arguments,1),l=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(l=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):l=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new s(o,this))})),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(i,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return
Line truncated
|
||||
@@ -0,0 +1,156 @@
|
||||
/*!
|
||||
* jQuery UI CSS Framework 1.12.1
|
||||
* http://jqueryui.com
|
||||
*
|
||||
* Copyright jQuery Foundation and other contributors
|
||||
* Released under the MIT license.
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* http://api.jqueryui.com/category/theming/
|
||||
*/
|
||||
/* Layout helpers
|
||||
----------------------------------*/
|
||||
.ui-helper-hidden {
|
||||
display: none;
|
||||
}
|
||||
.ui-helper-hidden-accessible {
|
||||
border: 0;
|
||||
clip: rect(0 0 0 0);
|
||||
height: 1px;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
}
|
||||
.ui-helper-reset {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
outline: 0;
|
||||
line-height: 1.3;
|
||||
text-decoration: none;
|
||||
font-size: 100%;
|
||||
list-style: none;
|
||||
}
|
||||
.ui-helper-clearfix:before,
|
||||
.ui-helper-clearfix:after {
|
||||
content: "";
|
||||
display: table;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.ui-helper-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
.ui-helper-zfix {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
opacity: 0;
|
||||
filter:Alpha(Opacity=0); /* support: IE8 */
|
||||
}
|
||||
|
||||
.ui-front {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
|
||||
/* Interaction Cues
|
||||
----------------------------------*/
|
||||
.ui-state-disabled {
|
||||
cursor: default !important;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
|
||||
/* Icons
|
||||
----------------------------------*/
|
||||
.ui-icon {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-top: -.25em;
|
||||
position: relative;
|
||||
text-indent: -99999px;
|
||||
overflow: hidden;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
.ui-widget-icon-block {
|
||||
left: 50%;
|
||||
margin-left: -8px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Misc visuals
|
||||
----------------------------------*/
|
||||
|
||||
/* Overlays */
|
||||
.ui-widget-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.ui-autocomplete {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
cursor: default;
|
||||
}
|
||||
.ui-menu {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
display: block;
|
||||
outline: 0;
|
||||
}
|
||||
.ui-menu .ui-menu {
|
||||
position: absolute;
|
||||
}
|
||||
.ui-menu .ui-menu-item {
|
||||
margin: 0;
|
||||
cursor: pointer;
|
||||
/* support: IE10, see #8844 */
|
||||
list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
|
||||
}
|
||||
.ui-menu .ui-menu-item-wrapper {
|
||||
position: relative;
|
||||
padding: 3px 1em 3px .4em;
|
||||
}
|
||||
.ui-menu .ui-menu-divider {
|
||||
margin: 5px 0;
|
||||
height: 0;
|
||||
font-size: 0;
|
||||
line-height: 0;
|
||||
border-width: 1px 0 0 0;
|
||||
}
|
||||
.ui-menu .ui-state-focus,
|
||||
.ui-menu .ui-state-active {
|
||||
margin: -1px;
|
||||
}
|
||||
|
||||
/* icon support */
|
||||
.ui-menu-icons {
|
||||
position: relative;
|
||||
}
|
||||
.ui-menu-icons .ui-menu-item-wrapper {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
/* left-aligned */
|
||||
.ui-menu .ui-icon {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: .2em;
|
||||
margin: auto 0;
|
||||
}
|
||||
|
||||
/* right-aligned */
|
||||
.ui-menu .ui-menu-icon {
|
||||
left: auto;
|
||||
right: 0;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
/*! jQuery UI - v1.12.1 - 2018-12-06
|
||||
* http://jqueryui.com
|
||||
* Copyright jQuery Foundation and other contributors; Licensed MIT */
|
||||
|
||||
.ui-helper-hidden{display:none}.ui-helper-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.ui-helper-reset{margin:0;padding:0;border:0;outline:0;line-height:1.3;text-decoration:none;font-size:100%;list-style:none}.ui-helper-clearfix:before,.ui-helper-clearfix:after{content:"";display:table;border-collapse:collapse}.ui-helper-clearfix:after{clear:both}.ui-helper-zfix{width:100%;height:100%;top:0;left:0;position:absolute;opacity:0;filter:Alpha(Opacity=0)}.ui-front{z-index:100}.ui-state-disabled{cursor:default!important;pointer-events:none}.ui-icon{display:inline-block;vertical-align:middle;margin-top:-.25em;position:relative;text-indent:-99999px;overflow:hidden;background-repeat:no-repeat}.ui-widget-icon-block{left:50%;margin-left:-8px;display:block}.ui-widget-overlay{position:fixed;top:0;left:0;width:100%;height:100%}.ui-autocomplete{position:absolute;top:0;left:0;cursor:default}.ui-menu{list-style:none;padding:0;margin:0;display:block;outline:0}.ui-menu .ui-menu{position:absolute}.ui-menu .ui-menu-item{margin:0;cursor:pointer;list-style-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")}.ui-menu .ui-menu-item-wrapper{position:relative;padding:3px 1em 3px .4em}.ui-menu .ui-menu-divider{margin:5px 0;height:0;font-size:0;line-height:0;border-width:1px 0 0 0}.ui-menu .ui-state-focus,.ui-menu .ui-state-active{margin:-1px}.ui-menu-icons{position:relative}.ui-menu-icons .ui-menu-item-wrapper{padding-left:2em}.ui-menu .ui-icon{position:absolute;top:0;bottom:0;left:.2em;margin:auto 0}.ui-menu .ui-menu-icon{left:auto;right:0}
|
||||
@@ -0,0 +1,56 @@
|
||||
/*!
|
||||
|
||||
JSZipUtils - A collection of cross-browser utilities to go along with JSZip.
|
||||
<http://stuk.github.io/jszip-utils>
|
||||
|
||||
(c) 2014 Stuart Knightley, David Duponchel
|
||||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown.
|
||||
|
||||
*/
|
||||
;(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {};/* jshint evil: true, newcap: false */
|
||||
/* global IEBinaryToArray_ByteStr, IEBinaryToArray_ByteStr_Last */
|
||||
"use strict";
|
||||
|
||||
// Adapted from http://stackoverflow.com/questions/1095102/how-do-i-load-binary-image-data-using-javascript-and-xmlhttprequest
|
||||
var IEBinaryToArray_ByteStr_Script =
|
||||
"<!-- IEBinaryToArray_ByteStr -->\r\n"+
|
||||
"<script type='text/vbscript'>\r\n"+
|
||||
"Function IEBinaryToArray_ByteStr(Binary)\r\n"+
|
||||
" IEBinaryToArray_ByteStr = CStr(Binary)\r\n"+
|
||||
"End Function\r\n"+
|
||||
"Function IEBinaryToArray_ByteStr_Last(Binary)\r\n"+
|
||||
" Dim lastIndex\r\n"+
|
||||
" lastIndex = LenB(Binary)\r\n"+
|
||||
" if lastIndex mod 2 Then\r\n"+
|
||||
" IEBinaryToArray_ByteStr_Last = Chr( AscB( MidB( Binary, lastIndex, 1 ) ) )\r\n"+
|
||||
" Else\r\n"+
|
||||
" IEBinaryToArray_ByteStr_Last = "+'""'+"\r\n"+
|
||||
" End If\r\n"+
|
||||
"End Function\r\n"+
|
||||
"</script>\r\n";
|
||||
|
||||
// inject VBScript
|
||||
document.write(IEBinaryToArray_ByteStr_Script);
|
||||
|
||||
global.JSZipUtils._getBinaryFromXHR = function (xhr) {
|
||||
var binary = xhr.responseBody;
|
||||
var byteMapping = {};
|
||||
for ( var i = 0; i < 256; i++ ) {
|
||||
for ( var j = 0; j < 256; j++ ) {
|
||||
byteMapping[ String.fromCharCode( i + (j << 8) ) ] =
|
||||
String.fromCharCode(i) + String.fromCharCode(j);
|
||||
}
|
||||
}
|
||||
var rawBytes = IEBinaryToArray_ByteStr(binary);
|
||||
var lastChr = IEBinaryToArray_ByteStr_Last(binary);
|
||||
return rawBytes.replace(/[\s\S]/g, function( match ) {
|
||||
return byteMapping[match];
|
||||
}) + lastChr;
|
||||
};
|
||||
|
||||
// enforcing Stuk's coding style
|
||||
// vim: set shiftwidth=4 softtabstop=4:
|
||||
|
||||
},{}]},{},[1])
|
||||
;
|
||||
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
|
||||
JSZipUtils - A collection of cross-browser utilities to go along with JSZip.
|
||||
<http://stuk.github.io/jszip-utils>
|
||||
|
||||
(c) 2014 Stuart Knightley, David Duponchel
|
||||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown.
|
||||
|
||||
*/
|
||||
!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(){var a="undefined"!=typeof self?self:"undefined"!=typeof window?window:{},b="<!-- IEBinaryToArray_ByteStr -->\r\n<script type='text/vbscript'>\r\nFunction IEBinaryToArray_ByteStr(Binary)\r\n IEBinaryToArray_ByteStr = CStr(Binary)\r\nEnd Function\r\nFunction IEBinaryToArray_ByteStr_Last(Binary)\r\n Dim lastIndex\r\n lastIndex = LenB(Binary)\r\n if lastIndex mod 2 Then\r\n IEBinaryToArray_ByteStr_Last = Chr( AscB( MidB( Binary, lastIndex, 1 ) ) )\r\n Else\r\n IEBinaryToArray_ByteStr_Last = \"\"\r\n End If\r\nEnd Function\r\n</script>\r\n";document.write(b),a.JSZipUtils._getBinaryFromXHR=function(a){for(var b=a.responseBody,c={},d=0;256>d;d++)for(var e=0;256>e;e++)c[String.fromCharCode(d+(e<<8))]=String.fromCharCode(d)+String.fromCharCode(e);var f=IEBinaryToArray_ByteStr(b),g=IEBinaryToArray_ByteStr_Last(b);return f.replace(/[\s\S]/g,function(a){return c[a]})+g}},{}]},{},[1]);
|
||||
@@ -0,0 +1,118 @@
|
||||
/*!
|
||||
|
||||
JSZipUtils - A collection of cross-browser utilities to go along with JSZip.
|
||||
<http://stuk.github.io/jszip-utils>
|
||||
|
||||
(c) 2014 Stuart Knightley, David Duponchel
|
||||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown.
|
||||
|
||||
*/
|
||||
!function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.JSZipUtils=e():"undefined"!=typeof global?global.JSZipUtils=e():"undefined"!=typeof self&&(self.JSZipUtils=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
|
||||
'use strict';
|
||||
|
||||
var JSZipUtils = {};
|
||||
// just use the responseText with xhr1, response with xhr2.
|
||||
// The transformation doesn't throw away high-order byte (with responseText)
|
||||
// because JSZip handles that case. If not used with JSZip, you may need to
|
||||
// do it, see https://developer.mozilla.org/En/Using_XMLHttpRequest#Handling_binary_data
|
||||
JSZipUtils._getBinaryFromXHR = function (xhr) {
|
||||
// for xhr.responseText, the 0xFF mask is applied by JSZip
|
||||
return xhr.response || xhr.responseText;
|
||||
};
|
||||
|
||||
// taken from jQuery
|
||||
function createStandardXHR() {
|
||||
try {
|
||||
return new window.XMLHttpRequest();
|
||||
} catch( e ) {}
|
||||
}
|
||||
|
||||
function createActiveXHR() {
|
||||
try {
|
||||
return new window.ActiveXObject("Microsoft.XMLHTTP");
|
||||
} catch( e ) {}
|
||||
}
|
||||
|
||||
// Create the request object
|
||||
var createXHR = window.ActiveXObject ?
|
||||
/* Microsoft failed to properly
|
||||
* implement the XMLHttpRequest in IE7 (can't request local files),
|
||||
* so we use the ActiveXObject when it is available
|
||||
* Additionally XMLHttpRequest can be disabled in IE7/IE8 so
|
||||
* we need a fallback.
|
||||
*/
|
||||
function() {
|
||||
return createStandardXHR() || createActiveXHR();
|
||||
} :
|
||||
// For all other browsers, use the standard XMLHttpRequest object
|
||||
createStandardXHR;
|
||||
|
||||
|
||||
|
||||
JSZipUtils.getBinaryContent = function(path, callback) {
|
||||
/*
|
||||
* Here is the tricky part : getting the data.
|
||||
* In firefox/chrome/opera/... setting the mimeType to 'text/plain; charset=x-user-defined'
|
||||
* is enough, the result is in the standard xhr.responseText.
|
||||
* cf https://developer.mozilla.org/En/XMLHttpRequest/Using_XMLHttpRequest#Receiving_binary_data_in_older_browsers
|
||||
* In IE <= 9, we must use (the IE only) attribute responseBody
|
||||
* (for binary data, its content is different from responseText).
|
||||
* In IE 10, the 'charset=x-user-defined' trick doesn't work, only the
|
||||
* responseType will work :
|
||||
* http://msdn.microsoft.com/en-us/library/ie/hh673569%28v=vs.85%29.aspx#Binary_Object_upload_and_download
|
||||
*
|
||||
* I'd like to use jQuery to avoid this XHR madness, but it doesn't support
|
||||
* the responseType attribute : http://bugs.jquery.com/ticket/11461
|
||||
*/
|
||||
try {
|
||||
|
||||
var xhr = createXHR();
|
||||
|
||||
xhr.open('GET', path, true);
|
||||
|
||||
// recent browsers
|
||||
if ("responseType" in xhr) {
|
||||
xhr.responseType = "arraybuffer";
|
||||
}
|
||||
|
||||
// older browser
|
||||
if(xhr.overrideMimeType) {
|
||||
xhr.overrideMimeType("text/plain; charset=x-user-defined");
|
||||
}
|
||||
|
||||
xhr.onreadystatechange = function(evt) {
|
||||
var file, err;
|
||||
// use `xhr` and not `this`... thanks IE
|
||||
if (xhr.readyState === 4) {
|
||||
if (xhr.status === 200 || xhr.status === 0) {
|
||||
file = null;
|
||||
err = null;
|
||||
try {
|
||||
file = JSZipUtils._getBinaryFromXHR(xhr);
|
||||
} catch(e) {
|
||||
err = new Error(e);
|
||||
}
|
||||
callback(err, file);
|
||||
} else {
|
||||
callback(new Error("Ajax error for " + path + " : " + this.status + " " + this.statusText), null);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
xhr.send();
|
||||
|
||||
} catch (e) {
|
||||
callback(new Error(e), null);
|
||||
}
|
||||
};
|
||||
|
||||
// export
|
||||
module.exports = JSZipUtils;
|
||||
|
||||
// enforcing Stuk's coding style
|
||||
// vim: set shiftwidth=4 softtabstop=4:
|
||||
|
||||
},{}]},{},[1])
|
||||
(1)
|
||||
});
|
||||
;
|
||||
@@ -0,0 +1,10 @@
|
||||
/*!
|
||||
|
||||
JSZipUtils - A collection of cross-browser utilities to go along with JSZip.
|
||||
<http://stuk.github.io/jszip-utils>
|
||||
|
||||
(c) 2014 Stuart Knightley, David Duponchel
|
||||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip-utils/master/LICENSE.markdown.
|
||||
|
||||
*/
|
||||
!function(a){"object"==typeof exports?module.exports=a():"function"==typeof define&&define.amd?define(a):"undefined"!=typeof window?window.JSZipUtils=a():"undefined"!=typeof global?global.JSZipUtils=a():"undefined"!=typeof self&&(self.JSZipUtils=a())}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);throw new Error("Cannot find module '"+g+"'")}var j=c[g]={exports:{}};b[g][0].call(j.exports,function(a){var c=b[g][1][a];return e(c?c:a)},j,j.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b){"use strict";function c(){try{return new window.XMLHttpRequest}catch(a){}}function d(){try{return new window.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}}var e={};e._getBinaryFromXHR=function(a){return a.response||a.responseText};var f=window.ActiveXObject?function(){return c()||d()}:c;e.getBinaryContent=function(a,b){try{var c=f();c.open("GET",a,!0),"responseType"in c&&(c.responseType="arraybuffer"),c.overrideMimeType&&c.overrideMimeType("text/plain; charset=x-user-defined"),c.onreadystatechange=function(){var d,f;if(4===c.readyState)if(200===c.status||0===c.status){d=null,f=null;try{d=e._getBinaryFromXHR(c)}catch(g){f=new Error(g)}b(f,d)}else b(new Error("Ajax error for "+a+" : "+this.status+" "+this.statusText),null)},c.send()}catch(d){b(new Error(d),null)}},b.exports=e},{}]},{},[1])(1)});
|
||||
@@ -0,0 +1,15 @@
|
||||
/*!
|
||||
|
||||
JSZip v3.1.5 - A JavaScript class for generating and reading zip files
|
||||
<http://stuartk.com/jszip>
|
||||
|
||||
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
|
||||
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
|
||||
|
||||
JSZip uses the library pako released under the MIT license :
|
||||
https://github.com/nodeca/pako/blob/master/LICENSE
|
||||
*/
|
||||
!function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.JSZip=a()}}(function(){return function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){"use strict";var d=a("./utils"),e=a("./support"),f="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";c.encode=function(a){for(var b,c,e,g,h,i,j,k=[],l=0,m=a.length,n=m,o="string"!==d.getTypeOf(a);l<a.length;)n=m-l,o?(b=a[l++],c=l<m?a[l++]:0,e=l<m?a[l++]:0):(b=a.charCodeAt(l++),c=l<m?a.charCodeAt(l++):0,e=l<m?a.charCodeAt(l++):0),g=b>>2,h=(3&b)<<4|c>>4,i=n>1?(15&c)<<2|e>>6:64,j=n>2?63&e:64,k.push(f.charAt(g)+f.charAt(h)+f.charAt(i)+f.charAt(j));return k.join("")},c.decode=function(a){var b,c,d,g,h,i,j,k=0,l=0,m="data:";if(a.substr(0,m.length)===m)throw new Error("Invalid base64 input, it looks like a data url.");a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");var n=3*a.length/4;if(a.charAt(a.length-1)===f.charAt(64)&&n--,a.charAt(a.length-2)===f.charAt(64)&&n--,n%1!==0)throw new Error("Invalid base64 input, bad content length.");var o;for(o=e.uint8array?new Uint8Array(0|n):new Array(0|n);k<a.length;)g=f.indexOf(a.charAt(k++)),h=f.indexOf(a.charAt(k++)),i=f.indexOf(a.charAt(k++)),j=f.indexOf(a.charAt(k++)),b=g<<2|h>>4,c=(15&h)<<4|i>>2,d=(3&i)<<6|j,o[l++]=b,64!==i&&(o[l++]=c),64!==j&&(o[l++]=d);return o}},{"./support":30,"./utils":32}],2:[function(a,b,c){"use strict";function d(a,b,c,d,e){this.compressedSize=a,this.uncompressedSize=b,this.crc32=c,this.compression=d,this.compressedContent=e}var e=a("./external"),f=a("./stream/DataWorker"),g=a("./stream/DataLengthProbe"),h=a("./stream/Crc32Probe"),g=a("./stream/DataLengthProbe");d.prototype={getContentWorker:function(){var a=new f(e.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new g("data_length")),b=this;return a.on("end",function(){if(this.streamInfo.data_length!==b.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),a},getCompressedWorker:function(){return new f(e.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},d.createWorkerFrom=function(a,b,c){return a.pipe(new h).pipe(new g("uncompressedSize")).pipe(b.compressWorker(c)).pipe(new g("compressedSize")).withStreamInfo("compression",b)},b.exports=d},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(a,b,c){"use strict";var d=a("./stream/GenericWorker");c.STORE={magic:"\0\0",compressWorker:function(a){return new d("STORE compression")},uncompressWorker:function(){return new d("STORE decompression")}},c.DEFLATE=a("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(a,b,c){"use strict";function d(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;b[c]=a}return b}function e(a,b,c,d){var e=h,f=d+c;a^=-1;for(var g=d;g<f;g++)a=a>>>8^e[255&(a^b[g])];return a^-1}function f(a,b,c,d){var e=h,f=d+c;a^=-1;for(var g=d;g<f;g++)a=a>>>8^e[255&(a^b.charCodeAt(g))];return a^-1}var g=a("./utils"),h=d();b.exports=function(a,b){if("undefined"==typeof a||!a.length)return 0;var c="string"!==g.getTypeOf(a);return c?e(0|b,a,a.length,0):f(0|b,a,a.length,0)}},{"./utils":32}],5:[function(a,b,c){"use strict";c.base64=!1,c.binary=!1,c.dir=!1,c.createFolders=!0,c.date=null,c.compression=null,c.compressionOptions=null,c.comment=null,c.unixPermissions=null,c.dosPermissions=null},{}],6:[function(a,b,c){"use strict";var d=null;d="undefined"!=typeof Promise?Promise:a("lie"),b.exports={Promise:d}},{lie:58}],7:[function(a,b,c){"use strict";function d(a,b){h.call(this,"FlateWorker/"+a),this._pako=null,this._pakoAction=a,this._pakoOptions=b,this.meta={}}var e="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,f=a("pako"),g=a("./utils"),h=a("./stream/GenericWorker"),i=e?"uint8array":"array";c.magic="\b\0",g.inherits(d,h),d.prototype.processChunk=function(a){this.meta=a.meta,null===this._pako&&this._createPako(),this._pako.push(g.transformTo(i,a.data),!1)},d.prototype.flush=function(){h.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},d.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this._pako=null},d.prototype._createPako=function(){this._pako=new f[this.Line truncated
|
||||
return b}var i=a("./support"),j=a("./base64"),k=a("./nodejsUtils"),l=a("core-js/library/fn/set-immediate"),m=a("./external");c.newBlob=function(a,b){c.checkSupport("blob");try{return new Blob([a],{type:b})}catch(d){try{var e=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,f=new e;return f.append(a),f.getBlob(b)}catch(d){throw new Error("Bug : can't construct the Blob.")}}};var n={stringifyByChunk:function(a,b,c){var d=[],e=0,f=a.length;if(f<=c)return String.fromCharCode.apply(null,a);for(;e<f;)"array"===b||"nodebuffer"===b?d.push(String.fromCharCode.apply(null,a.slice(e,Math.min(e+c,f)))):d.push(String.fromCharCode.apply(null,a.subarray(e,Math.min(e+c,f)))),e+=c;return d.join("")},stringifyByChar:function(a){for(var b="",c=0;c<a.length;c++)b+=String.fromCharCode(a[c]);return b},applyCanBeUsed:{uint8array:function(){try{return i.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(a){return!1}}(),nodebuffer:function(){try{return i.nodebuffer&&1===String.fromCharCode.apply(null,k.allocBuffer(1)).length}catch(a){return!1}}()}};c.applyFromCharCode=g;var o={};o.string={string:e,array:function(a){return f(a,new Array(a.length))},arraybuffer:function(a){return o.string.uint8array(a).buffer},uint8array:function(a){return f(a,new Uint8Array(a.length))},nodebuffer:function(a){return f(a,k.allocBuffer(a.length))}},o.array={string:g,array:e,arraybuffer:function(a){return new Uint8Array(a).buffer},uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return k.newBufferFrom(a)}},o.arraybuffer={string:function(a){return g(new Uint8Array(a))},array:function(a){return h(new Uint8Array(a),new Array(a.byteLength))},arraybuffer:e,uint8array:function(a){return new Uint8Array(a)},nodebuffer:function(a){return k.newBufferFrom(new Uint8Array(a))}},o.uint8array={string:g,array:function(a){return h(a,new Array(a.length))},arraybuffer:function(a){return a.buffer},uint8array:e,nodebuffer:function(a){return k.newBufferFrom(a)}},o.nodebuffer={string:g,array:function(a){return h(a,new Array(a.length))},arraybuffer:function(a){return o.nodebuffer.uint8array(a).buffer},uint8array:function(a){return h(a,new Uint8Array(a.length))},nodebuffer:e},c.transformTo=function(a,b){if(b||(b=""),!a)return b;c.checkSupport(a);var d=c.getTypeOf(b),e=o[d][a](b);return e},c.getTypeOf=function(a){return"string"==typeof a?"string":"[object Array]"===Object.prototype.toString.call(a)?"array":i.nodebuffer&&k.isBuffer(a)?"nodebuffer":i.uint8array&&a instanceof Uint8Array?"uint8array":i.arraybuffer&&a instanceof ArrayBuffer?"arraybuffer":void 0},c.checkSupport=function(a){var b=i[a.toLowerCase()];if(!b)throw new Error(a+" is not supported by this platform")},c.MAX_VALUE_16BITS=65535,c.MAX_VALUE_32BITS=-1,c.pretty=function(a){var b,c,d="";for(c=0;c<(a||"").length;c++)b=a.charCodeAt(c),d+="\\x"+(b<16?"0":"")+b.toString(16).toUpperCase();return d},c.delay=function(a,b,c){l(function(){a.apply(c||null,b||[])})},c.inherits=function(a,b){var c=function(){};c.prototype=b.prototype,a.prototype=new c},c.extend=function(){var a,b,c={};for(a=0;a<arguments.length;a++)for(b in arguments[a])arguments[a].hasOwnProperty(b)&&"undefined"==typeof c[b]&&(c[b]=arguments[a][b]);return c},c.prepareContent=function(a,b,e,f,g){var h=m.Promise.resolve(b).then(function(a){var b=i.blob&&(a instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(a))!==-1);return b&&"undefined"!=typeof FileReader?new m.Promise(function(b,c){var d=new FileReader;d.onload=function(a){b(a.target.result)},d.onerror=function(a){c(a.target.error)},d.readAsArrayBuffer(a)}):a});return h.then(function(b){var h=c.getTypeOf(b);return h?("arraybuffer"===h?b=c.transformTo("uint8array",b):"string"===h&&(g?b=j.decode(b):e&&f!==!0&&(b=d(b))),b):m.Promise.reject(new Error("Can't read the data of '"+a+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"core-js/library/fn/set-immediate":36}],33:[function(a,b,c){"use strict";function d(a){this.files=[],this.loadOptions=a}var e=a("./reader/readerFor"),f=a("./utils"),g=a("./signature"),h=a("./zipEntry"),i=(a("./utf8"),a("./support"));d.prototype={checkSignature:function(a){if(!this.reader.readAndCheckSignature(a)){this.reader.index-=4;var b=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+f.pretty(b)+", expected "+f.pretty(a)+")")}},isSignature:function(a,b){var c=this.reader.index;this.reader.setIndex(a);var d=this.reader.readString(4),e=d===b;return this.reader.setIndex(c),e},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var a=tLine truncated
|
||||
}b.exports=d},{}],65:[function(a,b,c){"use strict";b.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],66:[function(a,b,c){"use strict";function d(){for(var a,b=[],c=0;c<256;c++){a=c;for(var d=0;d<8;d++)a=1&a?3988292384^a>>>1:a>>>1;b[c]=a}return b}function e(a,b,c,d){var e=f,g=d+c;a^=-1;for(var h=d;h<g;h++)a=a>>>8^e[255&(a^b[h])];return a^-1}var f=d();b.exports=e},{}],67:[function(a,b,c){"use strict";function d(a,b){return a.msg=I[b],b}function e(a){return(a<<1)-(a>4?9:0)}function f(a){for(var b=a.length;--b>=0;)a[b]=0}function g(a){var b=a.state,c=b.pending;c>a.avail_out&&(c=a.avail_out),0!==c&&(E.arraySet(a.output,b.pending_buf,b.pending_out,c,a.next_out),a.next_out+=c,b.pending_out+=c,a.total_out+=c,a.avail_out-=c,b.pending-=c,0===b.pending&&(b.pending_out=0))}function h(a,b){F._tr_flush_block(a,a.block_start>=0?a.block_start:-1,a.strstart-a.block_start,b),a.block_start=a.strstart,g(a.strm)}function i(a,b){a.pending_buf[a.pending++]=b}function j(a,b){a.pending_buf[a.pending++]=b>>>8&255,a.pending_buf[a.pending++]=255&b}function k(a,b,c,d){var e=a.avail_in;return e>d&&(e=d),0===e?0:(a.avail_in-=e,E.arraySet(b,a.input,a.next_in,e,c),1===a.state.wrap?a.adler=G(a.adler,b,e,c):2===a.state.wrap&&(a.adler=H(a.adler,b,e,c)),a.next_in+=e,a.total_in+=e,e)}function l(a,b){var c,d,e=a.max_chain_length,f=a.strstart,g=a.prev_length,h=a.nice_match,i=a.strstart>a.w_size-la?a.strstart-(a.w_size-la):0,j=a.window,k=a.w_mask,l=a.prev,m=a.strstart+ka,n=j[f+g-1],o=j[f+g];a.prev_length>=a.good_match&&(e>>=2),h>a.lookahead&&(h=a.lookahead);do if(c=b,j[c+g]===o&&j[c+g-1]===n&&j[c]===j[f]&&j[++c]===j[f+1]){f+=2,c++;do;while(j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&j[++f]===j[++c]&&f<m);if(d=ka-(m-f),f=m-ka,d>g){if(a.match_start=b,g=d,d>=h)break;n=j[f+g-1],o=j[f+g]}}while((b=l[b&k])>i&&0!==--e);return g<=a.lookahead?g:a.lookahead}function m(a){var b,c,d,e,f,g=a.w_size;do{if(e=a.window_size-a.lookahead-a.strstart,a.strstart>=g+(g-la)){E.arraySet(a.window,a.window,g,g,0),a.match_start-=g,a.strstart-=g,a.block_start-=g,c=a.hash_size,b=c;do d=a.head[--b],a.head[b]=d>=g?d-g:0;while(--c);c=g,b=c;do d=a.prev[--b],a.prev[b]=d>=g?d-g:0;while(--c);e+=g}if(0===a.strm.avail_in)break;if(c=k(a.strm,a.window,a.strstart+a.lookahead,e),a.lookahead+=c,a.lookahead+a.insert>=ja)for(f=a.strstart-a.insert,a.ins_h=a.window[f],a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+1])&a.hash_mask;a.insert&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[f+ja-1])&a.hash_mask,a.prev[f&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=f,f++,a.insert--,!(a.lookahead+a.insert<ja)););}while(a.lookahead<la&&0!==a.strm.avail_in)}function n(a,b){var c=65535;for(c>a.pending_buf_size-5&&(c=a.pending_buf_size-5);;){if(a.lookahead<=1){if(m(a),0===a.lookahead&&b===J)return ua;if(0===a.lookahead)break}a.strstart+=a.lookahead,a.lookahead=0;var d=a.block_start+c;if((0===a.strstart||a.strstart>=d)&&(a.lookahead=a.strstart-d,a.strstart=d,h(a,!1),0===a.strm.avail_out))return ua;if(a.strstart-a.block_start>=a.w_size-la&&(h(a,!1),0===a.strm.avail_out))return ua}return a.insert=0,b===M?(h(a,!0),0===a.strm.avail_out?wa:xa):a.strstart>a.block_start&&(h(a,!1),0===a.strm.avail_out)?ua:ua}function o(a,b){for(var c,d;;){if(a.lookahead<la){if(m(a),a.lookahead<la&&b===J)return ua;if(0===a.lookahead)break}if(c=0,a.lookahead>=ja&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ja-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),0!==c&&a.strstart-c<=a.w_size-la&&(a.match_length=l(a,c)),a.match_length>=ja)if(d=F._tr_tally(a,a.strstart-a.match_start,a.match_length-ja),a.lookahead-=a.match_length,a.match_length<=a.max_lazy_match&&a.lookahead>=ja){a.match_length--;do a.strstart++,a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ja-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart;while(0!==--a.match_length);a.strstart++}else a.strstart+=a.match_length,a.match_length=0,a.ins_h=a.window[a.strstart],a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+1])&a.hash_mask;else d=F._tr_tally(a,0,a.window[a.strstart]),a.lookahead--,a.strstart++;if(d&&(h(a,!1),0===a.strm.avail_out))return ua}return a.insert=a.strstart<ja-1?a.strstart:ja-1,b===M?(h(a,!0),0===a.strm.avail_out?wa:xa):a.last_lit&&(h(a,!1),0===a.strm.avail_out)?ua:va}function p(a,b){for(var c,d,e;;){if(a.lookahead<la){if(m(a),a.lookahead<la&&b===J)return ua;if(0===a.lookahead)break}if(c=0,a.lookahead>=ja&&(a.ins_h=(a.ins_h<<a.hash_shift^a.window[a.strstart+ja-1])&a.hash_mask,c=a.prev[a.strstart&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=a.strstart),a.prev_length=a.matcLine truncated
|
||||
c=a.heap_max+1;c<V;c++)d=a.heap[c],f=i[2*i[2*d+1]+1]+1,f>o&&(f=o,p++),i[2*d+1]=f,d>j||(a.bl_count[f]++,g=0,d>=n&&(g=m[d-n]),h=i[2*d],a.opt_len+=h*(f+g),l&&(a.static_len+=h*(k[2*d+1]+g)));if(0!==p){do{for(f=o-1;0===a.bl_count[f];)f--;a.bl_count[f]--,a.bl_count[f+1]+=2,a.bl_count[o]--,p-=2}while(p>0);for(f=o;0!==f;f--)for(d=a.bl_count[f];0!==d;)e=a.heap[--c],e>j||(i[2*e+1]!==f&&(a.opt_len+=(f-i[2*e+1])*i[2*e],i[2*e+1]=f),d--)}}function n(a,b,c){var d,e,f=new Array(W+1),g=0;for(d=1;d<=W;d++)f[d]=g=g+c[d-1]<<1;for(e=0;e<=b;e++){var h=a[2*e+1];0!==h&&(a[2*e]=k(f[h]++,h))}}function o(){var a,b,c,d,f,g=new Array(W+1);for(c=0,d=0;d<Q-1;d++)for(ka[d]=c,a=0;a<1<<ba[d];a++)ja[c++]=d;for(ja[c-1]=d,f=0,d=0;d<16;d++)for(la[d]=f,a=0;a<1<<ca[d];a++)ia[f++]=d;for(f>>=7;d<T;d++)for(la[d]=f<<7,a=0;a<1<<ca[d]-7;a++)ia[256+f++]=d;for(b=0;b<=W;b++)g[b]=0;for(a=0;a<=143;)ga[2*a+1]=8,a++,g[8]++;for(;a<=255;)ga[2*a+1]=9,a++,g[9]++;for(;a<=279;)ga[2*a+1]=7,a++,g[7]++;for(;a<=287;)ga[2*a+1]=8,a++,g[8]++;for(n(ga,S+1,g),a=0;a<T;a++)ha[2*a+1]=5,ha[2*a]=k(a,5);ma=new e(ga,ba,R+1,S,W),na=new e(ha,ca,0,T,W),oa=new e(new Array(0),da,0,U,Y)}function p(a){var b;for(b=0;b<S;b++)a.dyn_ltree[2*b]=0;for(b=0;b<T;b++)a.dyn_dtree[2*b]=0;for(b=0;b<U;b++)a.bl_tree[2*b]=0;a.dyn_ltree[2*Z]=1,a.opt_len=a.static_len=0,a.last_lit=a.matches=0}function q(a){a.bi_valid>8?h(a,a.bi_buf):a.bi_valid>0&&(a.pending_buf[a.pending++]=a.bi_buf),a.bi_buf=0,a.bi_valid=0}function r(a,b,c,d){q(a),d&&(h(a,c),h(a,~c)),G.arraySet(a.pending_buf,a.window,b,c,a.pending),a.pending+=c}function s(a,b,c,d){var e=2*b,f=2*c;return a[e]<a[f]||a[e]===a[f]&&d[b]<=d[c]}function t(a,b,c){for(var d=a.heap[c],e=c<<1;e<=a.heap_len&&(e<a.heap_len&&s(b,a.heap[e+1],a.heap[e],a.depth)&&e++,!s(b,d,a.heap[e],a.depth));)a.heap[c]=a.heap[e],c=e,e<<=1;a.heap[c]=d}function u(a,b,c){var d,e,f,h,k=0;if(0!==a.last_lit)do d=a.pending_buf[a.d_buf+2*k]<<8|a.pending_buf[a.d_buf+2*k+1],e=a.pending_buf[a.l_buf+k],k++,0===d?j(a,e,b):(f=ja[e],j(a,f+R+1,b),h=ba[f],0!==h&&(e-=ka[f],i(a,e,h)),d--,f=g(d),j(a,f,c),h=ca[f],0!==h&&(d-=la[f],i(a,d,h)));while(k<a.last_lit);j(a,Z,b)}function v(a,b){var c,d,e,f=b.dyn_tree,g=b.stat_desc.static_tree,h=b.stat_desc.has_stree,i=b.stat_desc.elems,j=-1;for(a.heap_len=0,a.heap_max=V,c=0;c<i;c++)0!==f[2*c]?(a.heap[++a.heap_len]=j=c,a.depth[c]=0):f[2*c+1]=0;for(;a.heap_len<2;)e=a.heap[++a.heap_len]=j<2?++j:0,f[2*e]=1,a.depth[e]=0,a.opt_len--,h&&(a.static_len-=g[2*e+1]);for(b.max_code=j,c=a.heap_len>>1;c>=1;c--)t(a,f,c);e=i;do c=a.heap[1],a.heap[1]=a.heap[a.heap_len--],t(a,f,1),d=a.heap[1],a.heap[--a.heap_max]=c,a.heap[--a.heap_max]=d,f[2*e]=f[2*c]+f[2*d],a.depth[e]=(a.depth[c]>=a.depth[d]?a.depth[c]:a.depth[d])+1,f[2*c+1]=f[2*d+1]=e,a.heap[1]=e++,t(a,f,1);while(a.heap_len>=2);a.heap[--a.heap_max]=a.heap[1],m(a,b),n(f,j,a.bl_count)}function w(a,b,c){var d,e,f=-1,g=b[1],h=0,i=7,j=4;for(0===g&&(i=138,j=3),b[2*(c+1)+1]=65535,d=0;d<=c;d++)e=g,g=b[2*(d+1)+1],++h<i&&e===g||(h<j?a.bl_tree[2*e]+=h:0!==e?(e!==f&&a.bl_tree[2*e]++,a.bl_tree[2*$]++):h<=10?a.bl_tree[2*_]++:a.bl_tree[2*aa]++,h=0,f=e,0===g?(i=138,j=3):e===g?(i=6,j=3):(i=7,j=4))}function x(a,b,c){var d,e,f=-1,g=b[1],h=0,k=7,l=4;for(0===g&&(k=138,l=3),d=0;d<=c;d++)if(e=g,g=b[2*(d+1)+1],!(++h<k&&e===g)){if(h<l){do j(a,e,a.bl_tree);while(0!==--h)}else 0!==e?(e!==f&&(j(a,e,a.bl_tree),h--),j(a,$,a.bl_tree),i(a,h-3,2)):h<=10?(j(a,_,a.bl_tree),i(a,h-3,3)):(j(a,aa,a.bl_tree),i(a,h-11,7));h=0,f=e,0===g?(k=138,l=3):e===g?(k=6,l=3):(k=7,l=4)}}function y(a){var b;for(w(a,a.dyn_ltree,a.l_desc.max_code),w(a,a.dyn_dtree,a.d_desc.max_code),v(a,a.bl_desc),b=U-1;b>=3&&0===a.bl_tree[2*ea[b]+1];b--);return a.opt_len+=3*(b+1)+5+5+4,b}function z(a,b,c,d){var e;for(i(a,b-257,5),i(a,c-1,5),i(a,d-4,4),e=0;e<d;e++)i(a,a.bl_tree[2*ea[e]+1],3);x(a,a.dyn_ltree,b-1),x(a,a.dyn_dtree,c-1)}function A(a){var b,c=4093624447;for(b=0;b<=31;b++,c>>>=1)if(1&c&&0!==a.dyn_ltree[2*b])return I;if(0!==a.dyn_ltree[18]||0!==a.dyn_ltree[20]||0!==a.dyn_ltree[26])return J;for(b=32;b<R;b++)if(0!==a.dyn_ltree[2*b])return J;return I}function B(a){pa||(o(),pa=!0),a.l_desc=new f(a.dyn_ltree,ma),a.d_desc=new f(a.dyn_dtree,na),a.bl_desc=new f(a.bl_tree,oa),a.bi_buf=0,a.bi_valid=0,p(a)}function C(a,b,c,d){i(a,(L<<1)+(d?1:0),3),r(a,b,c,!0)}function D(a){i(a,M<<1,3),j(a,Z,ga),l(a)}function E(a,b,c,d){var e,f,g=0;a.level>0?(a.strm.data_type===K&&(a.strm.data_type=A(a)),v(a,a.l_desc),v(a,a.d_desc),g=y(a),e=a.opt_len+3+7>>>3,f=a.static_len+3+7>>>3,f<=e&&(e=f)):e=f=c+5,c+4<=e&&b!==-1?C(a,b,c,d):a.strategy===H||f===e?(i(a,(M<<1)+(d?1:0),3),u(a,ga,ha)):(i(a,(N<<1)+(d?1:0),3),z(a,a.l_desc.max_code+1,a.d_desc.max_code+1,g+1),u(a,a.dyn_ltree,a.dyn_dtree)),p(a),d&&q(a)}function F(a,b,c){return a.pending_buf[a.d_buf+2*a.last_lit]=b>>>8&255,a.pending_buf[a.d_buf+2*a.last_lit+1]=255&b,a.pending_buf[a.l_buf+a.last_lit]=255&c,a.last_lit++,0===b?a.dyn_ltree[2*c]++:(a.matches++,b--,a.dyn_ltree[2*(ja[c]+R+1)]++,a.dyn_dtree[2*g(b)]++),a.last_lit===a.lit_bufsize-1}var G=a("../utils/common"),H=4,I=0,J=1,K=2,LLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
memberSearchIndex = [{"p":"<Unnamed>","c":"IntNode","l":"addNodeAfterThis(int)"},{"p":"<Unnamed>","c":"IntNode","l":"addRangeAfterThis(int, int)","url":"addRangeAfterThis(int,int)"},{"p":"<Unnamed>","c":"IntNode","l":"getData()"},{"p":"<Unnamed>","c":"IntNode","l":"getLink()"},{"p":"<Unnamed>","c":"IntNode","l":"IntNode()","url":"%3Cinit%3E()"},{"p":"<Unnamed>","c":"IntNode","l":"IntNode(int, IntNode)","url":"%3Cinit%3E(int,IntNode)"},{"p":"<Unnamed>","c":"IntNode","l":"listLength(IntNode)"},{"p":"<Unnamed>","c":"IntNode","l":"printData()"},{"p":"<Unnamed>","c":"IntNode","l":"removeNodeAfterThis()"},{"p":"<Unnamed>","c":"IntNode","l":"removeXNodesAfterThis(int)"},{"p":"<Unnamed>","c":"IntNode","l":"search(IntNode, int)","url":"search(IntNode,int)"},{"p":"<Unnamed>","c":"IntNode","l":"setData(int)"},{"p":"<Unnamed>","c":"IntNode","l":"setLink(IntNode)"},{"p":"<Unnamed>","c":"IntNode","l":"toString()"}]
|
||||
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title>Class Hierarchy</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="Class Hierarchy";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For All Packages</h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<section role="region">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li class="circle">java.lang.Object
|
||||
<ul>
|
||||
<li class="circle"><a href="IntNode.html" title="class in <Unnamed>"><span class="typeNameLink">IntNode</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li>Package</li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1 @@
|
||||
packageSearchIndex = [{"l":"All Packages","url":"allpackages-index.html"}]
|
||||
@@ -0,0 +1,163 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title><Unnamed></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="<Unnamed>";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 title="Package" class="title">Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<table class="typeSummary">
|
||||
<caption><span>Class Summary</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Class</th>
|
||||
<th class="colLast" scope="col">Description</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<tr class="altColor">
|
||||
<th class="colFirst" scope="row"><a href="IntNode.html" title="class in <Unnamed>">IntNode</a></th>
|
||||
<td class="colLast"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li class="navBarCell1Rev">Package</li>
|
||||
<li>Class</li>
|
||||
<li><a href="package-tree.html">Tree</a></li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,156 @@
|
||||
<!DOCTYPE HTML>
|
||||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (11.0.4) on Fri Sep 20 16:34:06 MDT 2019 -->
|
||||
<title> Class Hierarchy</title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="dc.created" content="2019-09-20">
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
|
||||
<link rel="stylesheet" type="text/css" href="jquery/jquery-ui.css" title="Style">
|
||||
<script type="text/javascript" src="script.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip/dist/jszip.min.js"></script>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
||||
<!--[if IE]>
|
||||
<script type="text/javascript" src="jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
||||
<![endif]-->
|
||||
<script type="text/javascript" src="jquery/jquery-3.3.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-migrate-3.0.1.js"></script>
|
||||
<script type="text/javascript" src="jquery/jquery-ui.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
try {
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title=" Class Hierarchy";
|
||||
}
|
||||
}
|
||||
catch(err) {
|
||||
}
|
||||
//-->
|
||||
var pathtoroot = "./";
|
||||
var useModuleDirectories = true;
|
||||
loadScripts(document, 'script');</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
<header role="banner">
|
||||
<nav role="navigation">
|
||||
<div class="fixedNav">
|
||||
<!-- ========= START OF TOP NAVBAR ======= -->
|
||||
<div class="topNav"><a id="navbar.top">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.top.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_top">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<ul class="navListSearch">
|
||||
<li><label for="search">SEARCH:</label>
|
||||
<input type="text" id="search" value="search" disabled="disabled">
|
||||
<input type="reset" id="reset" value="reset" disabled="disabled">
|
||||
</li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_top");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.top">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ========= END OF TOP NAVBAR ========= -->
|
||||
</div>
|
||||
<div class="navPadding"> </div>
|
||||
<script type="text/javascript"><!--
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
//-->
|
||||
</script>
|
||||
</nav>
|
||||
</header>
|
||||
<main role="main">
|
||||
<div class="header">
|
||||
<h1 class="title">Hierarchy For Package <Unnamed></h1>
|
||||
</div>
|
||||
<div class="contentContainer">
|
||||
<section role="region">
|
||||
<h2 title="Class Hierarchy">Class Hierarchy</h2>
|
||||
<ul>
|
||||
<li class="circle">java.lang.Object
|
||||
<ul>
|
||||
<li class="circle"><a href="IntNode.html" title="class in <Unnamed>"><span class="typeNameLink">IntNode</span></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</section>
|
||||
</div>
|
||||
</main>
|
||||
<footer role="contentinfo">
|
||||
<nav role="navigation">
|
||||
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
||||
<div class="bottomNav"><a id="navbar.bottom">
|
||||
<!-- -->
|
||||
</a>
|
||||
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
||||
<a id="navbar.bottom.firstrow">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="navList" title="Navigation">
|
||||
<li><a href="package-summary.html">Package</a></li>
|
||||
<li>Class</li>
|
||||
<li class="navBarCell1Rev">Tree</li>
|
||||
<li><a href="deprecated-list.html">Deprecated</a></li>
|
||||
<li><a href="index-all.html">Index</a></li>
|
||||
<li><a href="help-doc.html">Help</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="subNav">
|
||||
<ul class="navList" id="allclasses_navbar_bottom">
|
||||
<li><a href="allclasses.html">All Classes</a></li>
|
||||
</ul>
|
||||
<div>
|
||||
<script type="text/javascript"><!--
|
||||
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
||||
if(window==top) {
|
||||
allClassesLink.style.display = "block";
|
||||
}
|
||||
else {
|
||||
allClassesLink.style.display = "none";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<noscript>
|
||||
<div>JavaScript is disabled on your browser.</div>
|
||||
</noscript>
|
||||
</div>
|
||||
<a id="skip.navbar.bottom">
|
||||
<!-- -->
|
||||
</a></div>
|
||||
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 499 B |
|
After Width: | Height: | Size: 394 B |
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
var moduleSearchIndex;
|
||||
var packageSearchIndex;
|
||||
var typeSearchIndex;
|
||||
var memberSearchIndex;
|
||||
var tagSearchIndex;
|
||||
function loadScripts(doc, tag) {
|
||||
createElem(doc, tag, 'jquery/jszip/dist/jszip.js');
|
||||
createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils.js');
|
||||
if (window.navigator.userAgent.indexOf('MSIE ') > 0 || window.navigator.userAgent.indexOf('Trident/') > 0 ||
|
||||
window.navigator.userAgent.indexOf('Edge/') > 0) {
|
||||
createElem(doc, tag, 'jquery/jszip-utils/dist/jszip-utils-ie.js');
|
||||
}
|
||||
createElem(doc, tag, 'search.js');
|
||||
|
||||
$.get(pathtoroot + "module-search-index.zip")
|
||||
.done(function() {
|
||||
JSZipUtils.getBinaryContent(pathtoroot + "module-search-index.zip", function(e, data) {
|
||||
var zip = new JSZip(data);
|
||||
zip.load(data);
|
||||
moduleSearchIndex = JSON.parse(zip.file("module-search-index.json").asText());
|
||||
});
|
||||
});
|
||||
$.get(pathtoroot + "package-search-index.zip")
|
||||
.done(function() {
|
||||
JSZipUtils.getBinaryContent(pathtoroot + "package-search-index.zip", function(e, data) {
|
||||
var zip = new JSZip(data);
|
||||
zip.load(data);
|
||||
packageSearchIndex = JSON.parse(zip.file("package-search-index.json").asText());
|
||||
});
|
||||
});
|
||||
$.get(pathtoroot + "type-search-index.zip")
|
||||
.done(function() {
|
||||
JSZipUtils.getBinaryContent(pathtoroot + "type-search-index.zip", function(e, data) {
|
||||
var zip = new JSZip(data);
|
||||
zip.load(data);
|
||||
typeSearchIndex = JSON.parse(zip.file("type-search-index.json").asText());
|
||||
});
|
||||
});
|
||||
$.get(pathtoroot + "member-search-index.zip")
|
||||
.done(function() {
|
||||
JSZipUtils.getBinaryContent(pathtoroot + "member-search-index.zip", function(e, data) {
|
||||
var zip = new JSZip(data);
|
||||
zip.load(data);
|
||||
memberSearchIndex = JSON.parse(zip.file("member-search-index.json").asText());
|
||||
});
|
||||
});
|
||||
$.get(pathtoroot + "tag-search-index.zip")
|
||||
.done(function() {
|
||||
JSZipUtils.getBinaryContent(pathtoroot + "tag-search-index.zip", function(e, data) {
|
||||
var zip = new JSZip(data);
|
||||
zip.load(data);
|
||||
tagSearchIndex = JSON.parse(zip.file("tag-search-index.json").asText());
|
||||
});
|
||||
});
|
||||
if (!moduleSearchIndex) {
|
||||
createElem(doc, tag, 'module-search-index.js');
|
||||
}
|
||||
if (!packageSearchIndex) {
|
||||
createElem(doc, tag, 'package-search-index.js');
|
||||
}
|
||||
if (!typeSearchIndex) {
|
||||
createElem(doc, tag, 'type-search-index.js');
|
||||
}
|
||||
if (!memberSearchIndex) {
|
||||
createElem(doc, tag, 'member-search-index.js');
|
||||
}
|
||||
if (!tagSearchIndex) {
|
||||
createElem(doc, tag, 'tag-search-index.js');
|
||||
}
|
||||
$(window).resize(function() {
|
||||
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
||||
});
|
||||
}
|
||||
|
||||
function createElem(doc, tag, path) {
|
||||
var script = doc.createElement(tag);
|
||||
var scriptElement = doc.getElementsByTagName(tag)[0];
|
||||
script.src = pathtoroot + path;
|
||||
scriptElement.parentNode.insertBefore(script, scriptElement);
|
||||
}
|
||||
|
||||
function show(type) {
|
||||
count = 0;
|
||||
for (var key in data) {
|
||||
var row = document.getElementById(key);
|
||||
if ((data[key] & type) !== 0) {
|
||||
row.style.display = '';
|
||||
row.className = (count++ % 2) ? rowColor : altColor;
|
||||
}
|
||||
else
|
||||
row.style.display = 'none';
|
||||
}
|
||||
updateTabs(type);
|
||||
}
|
||||
|
||||
function updateTabs(type) {
|
||||
for (var value in tabs) {
|
||||
var sNode = document.getElementById(tabs[value][0]);
|
||||
var spanNode = sNode.firstChild;
|
||||
if (value == type) {
|
||||
sNode.className = activeTableTab;
|
||||
spanNode.innerHTML = tabs[value][1];
|
||||
}
|
||||
else {
|
||||
sNode.className = tableTab;
|
||||
spanNode.innerHTML = "<a href=\"javascript:show("+ value + ");\">" + tabs[value][1] + "</a>";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function updateModuleFrame(pFrame, cFrame) {
|
||||
top.packageFrame.location = pFrame;
|
||||
top.classFrame.location = cFrame;
|
||||
}
|
||||
@@ -0,0 +1,326 @@
|
||||
/*
|
||||
* Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License version 2 only, as
|
||||
* published by the Free Software Foundation. Oracle designates this
|
||||
* particular file as subject to the "Classpath" exception as provided
|
||||
* by Oracle in the LICENSE file that accompanied this code.
|
||||
*
|
||||
* This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
||||
* version 2 for more details (a copy is included in the LICENSE file that
|
||||
* accompanied this code).
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License version
|
||||
* 2 along with this work; if not, write to the Free Software Foundation,
|
||||
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*
|
||||
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
* or visit www.oracle.com if you need additional information or have any
|
||||
* questions.
|
||||
*/
|
||||
|
||||
var noResult = {l: "No results found"};
|
||||
var catModules = "Modules";
|
||||
var catPackages = "Packages";
|
||||
var catTypes = "Types";
|
||||
var catMembers = "Members";
|
||||
var catSearchTags = "SearchTags";
|
||||
var highlight = "<span class=\"resultHighlight\">$&</span>";
|
||||
var camelCaseRegexp = "";
|
||||
var secondaryMatcher = "";
|
||||
function getHighlightedText(item) {
|
||||
var ccMatcher = new RegExp(camelCaseRegexp);
|
||||
var label = item.replace(ccMatcher, highlight);
|
||||
if (label === item) {
|
||||
label = item.replace(secondaryMatcher, highlight);
|
||||
}
|
||||
return label;
|
||||
}
|
||||
function getURLPrefix(ui) {
|
||||
var urlPrefix="";
|
||||
if (useModuleDirectories) {
|
||||
var slash = "/";
|
||||
if (ui.item.category === catModules) {
|
||||
return ui.item.l + slash;
|
||||
} else if (ui.item.category === catPackages && ui.item.m) {
|
||||
return ui.item.m + slash;
|
||||
} else if ((ui.item.category === catTypes && ui.item.p) || ui.item.category === catMembers) {
|
||||
$.each(packageSearchIndex, function(index, item) {
|
||||
if (ui.item.p == item.l) {
|
||||
urlPrefix = item.m + slash;
|
||||
}
|
||||
});
|
||||
return urlPrefix;
|
||||
} else {
|
||||
return urlPrefix;
|
||||
}
|
||||
}
|
||||
return urlPrefix;
|
||||
}
|
||||
var watermark = 'Search';
|
||||
$(function() {
|
||||
$("#search").val('');
|
||||
$("#search").prop("disabled", false);
|
||||
$("#reset").prop("disabled", false);
|
||||
$("#search").val(watermark).addClass('watermark');
|
||||
$("#search").blur(function() {
|
||||
if ($(this).val().length == 0) {
|
||||
$(this).val(watermark).addClass('watermark');
|
||||
}
|
||||
});
|
||||
$("#search").on('click keydown', function() {
|
||||
if ($(this).val() == watermark) {
|
||||
$(this).val('').removeClass('watermark');
|
||||
}
|
||||
});
|
||||
$("#reset").click(function() {
|
||||
$("#search").val('');
|
||||
$("#search").focus();
|
||||
});
|
||||
$("#search").focus();
|
||||
$("#search")[0].setSelectionRange(0, 0);
|
||||
});
|
||||
$.widget("custom.catcomplete", $.ui.autocomplete, {
|
||||
_create: function() {
|
||||
this._super();
|
||||
this.widget().menu("option", "items", "> :not(.ui-autocomplete-category)");
|
||||
},
|
||||
_renderMenu: function(ul, items) {
|
||||
var rMenu = this,
|
||||
currentCategory = "";
|
||||
rMenu.menu.bindings = $();
|
||||
$.each(items, function(index, item) {
|
||||
var li;
|
||||
if (item.l !== noResult.l && item.category !== currentCategory) {
|
||||
ul.append("<li class=\"ui-autocomplete-category\">" + item.category + "</li>");
|
||||
currentCategory = item.category;
|
||||
}
|
||||
li = rMenu._renderItemData(ul, item);
|
||||
if (item.category) {
|
||||
li.attr("aria-label", item.category + " : " + item.l);
|
||||
li.attr("class", "resultItem");
|
||||
} else {
|
||||
li.attr("aria-label", item.l);
|
||||
li.attr("class", "resultItem");
|
||||
}
|
||||
});
|
||||
},
|
||||
_renderItem: function(ul, item) {
|
||||
var label = "";
|
||||
if (item.category === catModules) {
|
||||
label = getHighlightedText(item.l);
|
||||
} else if (item.category === catPackages) {
|
||||
label = (item.m)
|
||||
? getHighlightedText(item.m + "/" + item.l)
|
||||
: getHighlightedText(item.l);
|
||||
} else if (item.category === catTypes) {
|
||||
label = (item.p)
|
||||
? getHighlightedText(item.p + "." + item.l)
|
||||
: getHighlightedText(item.l);
|
||||
} else if (item.category === catMembers) {
|
||||
label = getHighlightedText(item.p + "." + (item.c + "." + item.l));
|
||||
} else if (item.category === catSearchTags) {
|
||||
label = getHighlightedText(item.l);
|
||||
} else {
|
||||
label = item.l;
|
||||
}
|
||||
var li = $("<li/>").appendTo(ul);
|
||||
var div = $("<div/>").appendTo(li);
|
||||
if (item.category === catSearchTags) {
|
||||
if (item.d) {
|
||||
div.html(label + "<span class=\"searchTagHolderResult\"> (" + item.h + ")</span><br><span class=\"searchTagDescResult\">"
|
||||
+ item.d + "</span><br>");
|
||||
} else {
|
||||
div.html(label + "<span class=\"searchTagHolderResult\"> (" + item.h + ")</span>");
|
||||
}
|
||||
} else {
|
||||
div.html(label);
|
||||
}
|
||||
return li;
|
||||
}
|
||||
});
|
||||
$(function() {
|
||||
$("#search").catcomplete({
|
||||
minLength: 1,
|
||||
delay: 100,
|
||||
source: function(request, response) {
|
||||
var result = new Array();
|
||||
var presult = new Array();
|
||||
var tresult = new Array();
|
||||
var mresult = new Array();
|
||||
var tgresult = new Array();
|
||||
var secondaryresult = new Array();
|
||||
var displayCount = 0;
|
||||
var exactMatcher = new RegExp("^" + $.ui.autocomplete.escapeRegex(request.term) + "$", "i");
|
||||
camelCaseRegexp = ($.ui.autocomplete.escapeRegex(request.term)).split(/(?=[A-Z])/).join("([a-z0-9_$]*?)");
|
||||
var camelCaseMatcher = new RegExp("^" + camelCaseRegexp);
|
||||
secondaryMatcher = new RegExp($.ui.autocomplete.escapeRegex(request.term), "i");
|
||||
|
||||
// Return the nested innermost name from the specified object
|
||||
function nestedName(e) {
|
||||
return e.l.substring(e.l.lastIndexOf(".") + 1);
|
||||
}
|
||||
|
||||
function concatResults(a1, a2) {
|
||||
a1 = a1.concat(a2);
|
||||
a2.length = 0;
|
||||
return a1;
|
||||
}
|
||||
|
||||
if (moduleSearchIndex) {
|
||||
var mdleCount = 0;
|
||||
$.each(moduleSearchIndex, function(index, item) {
|
||||
item.category = catModules;
|
||||
if (exactMatcher.test(item.l)) {
|
||||
result.push(item);
|
||||
mdleCount++;
|
||||
} else if (camelCaseMatcher.test(item.l)) {
|
||||
result.push(item);
|
||||
} else if (secondaryMatcher.test(item.l)) {
|
||||
secondaryresult.push(item);
|
||||
}
|
||||
});
|
||||
displayCount = mdleCount;
|
||||
result = concatResults(result, secondaryresult);
|
||||
}
|
||||
if (packageSearchIndex) {
|
||||
var pCount = 0;
|
||||
var pkg = "";
|
||||
$.each(packageSearchIndex, function(index, item) {
|
||||
item.category = catPackages;
|
||||
pkg = (item.m)
|
||||
? (item.m + "/" + item.l)
|
||||
: item.l;
|
||||
if (exactMatcher.test(item.l)) {
|
||||
presult.push(item);
|
||||
pCount++;
|
||||
} else if (camelCaseMatcher.test(pkg)) {
|
||||
presult.push(item);
|
||||
} else if (secondaryMatcher.test(pkg)) {
|
||||
secondaryresult.push(item);
|
||||
}
|
||||
});
|
||||
result = result.concat(concatResults(presult, secondaryresult));
|
||||
displayCount = (pCount > displayCount) ? pCount : displayCount;
|
||||
}
|
||||
if (typeSearchIndex) {
|
||||
var tCount = 0;
|
||||
$.each(typeSearchIndex, function(index, item) {
|
||||
item.category = catTypes;
|
||||
var s = nestedName(item);
|
||||
if (exactMatcher.test(s)) {
|
||||
tresult.push(item);
|
||||
tCount++;
|
||||
} else if (camelCaseMatcher.test(s)) {
|
||||
tresult.push(item);
|
||||
} else if (secondaryMatcher.test(item.p + "." + item.l)) {
|
||||
secondaryresult.push(item);
|
||||
}
|
||||
});
|
||||
result = result.concat(concatResults(tresult, secondaryresult));
|
||||
displayCount = (tCount > displayCount) ? tCount : displayCount;
|
||||
}
|
||||
if (memberSearchIndex) {
|
||||
var mCount = 0;
|
||||
$.each(memberSearchIndex, function(index, item) {
|
||||
item.category = catMembers;
|
||||
var s = nestedName(item);
|
||||
if (exactMatcher.test(s)) {
|
||||
mresult.push(item);
|
||||
mCount++;
|
||||
} else if (camelCaseMatcher.test(s)) {
|
||||
mresult.push(item);
|
||||
} else if (secondaryMatcher.test(item.c + "." + item.l)) {
|
||||
secondaryresult.push(item);
|
||||
}
|
||||
});
|
||||
result = result.concat(concatResults(mresult, secondaryresult));
|
||||
displayCount = (mCount > displayCount) ? mCount : displayCount;
|
||||
}
|
||||
if (tagSearchIndex) {
|
||||
var tgCount = 0;
|
||||
$.each(tagSearchIndex, function(index, item) {
|
||||
item.category = catSearchTags;
|
||||
if (exactMatcher.test(item.l)) {
|
||||
tgresult.push(item);
|
||||
tgCount++;
|
||||
} else if (secondaryMatcher.test(item.l)) {
|
||||
secondaryresult.push(item);
|
||||
}
|
||||
});
|
||||
result = result.concat(concatResults(tgresult, secondaryresult));
|
||||
displayCount = (tgCount > displayCount) ? tgCount : displayCount;
|
||||
}
|
||||
displayCount = (displayCount > 500) ? displayCount : 500;
|
||||
var counter = function() {
|
||||
var count = {Modules: 0, Packages: 0, Types: 0, Members: 0, SearchTags: 0};
|
||||
var f = function(item) {
|
||||
count[item.category] += 1;
|
||||
return (count[item.category] <= displayCount);
|
||||
};
|
||||
return f;
|
||||
}();
|
||||
response(result.filter(counter));
|
||||
},
|
||||
response: function(event, ui) {
|
||||
if (!ui.content.length) {
|
||||
ui.content.push(noResult);
|
||||
} else {
|
||||
$("#search").empty();
|
||||
}
|
||||
},
|
||||
autoFocus: true,
|
||||
position: {
|
||||
collision: "flip"
|
||||
},
|
||||
select: function(event, ui) {
|
||||
if (ui.item.l !== noResult.l) {
|
||||
var url = getURLPrefix(ui);
|
||||
if (ui.item.category === catModules) {
|
||||
if (useModuleDirectories) {
|
||||
url += "module-summary.html";
|
||||
} else {
|
||||
url = ui.item.l + "-summary.html";
|
||||
}
|
||||
} else if (ui.item.category === catPackages) {
|
||||
if (ui.item.url) {
|
||||
url = ui.item.url;
|
||||
} else {
|
||||
url += ui.item.l.replace(/\./g, '/') + "/package-summary.html";
|
||||
}
|
||||
} else if (ui.item.category === catTypes) {
|
||||
if (ui.item.url) {
|
||||
url = ui.item.url;
|
||||
} else if (ui.item.p === "<Unnamed>") {
|
||||
url += ui.item.l + ".html";
|
||||
} else {
|
||||
url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.l + ".html";
|
||||
}
|
||||
} else if (ui.item.category === catMembers) {
|
||||
if (ui.item.p === "<Unnamed>") {
|
||||
url += ui.item.c + ".html" + "#";
|
||||
} else {
|
||||
url += ui.item.p.replace(/\./g, '/') + "/" + ui.item.c + ".html" + "#";
|
||||
}
|
||||
if (ui.item.url) {
|
||||
url += ui.item.url;
|
||||
} else {
|
||||
url += ui.item.l;
|
||||
}
|
||||
} else if (ui.item.category === catSearchTags) {
|
||||
url += ui.item.u;
|
||||
}
|
||||
if (top !== window) {
|
||||
parent.classFrame.location = pathtoroot + url;
|
||||
} else {
|
||||
window.location.href = pathtoroot + url;
|
||||
}
|
||||
$("#search").focus();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,906 @@
|
||||
/*
|
||||
* Javadoc style sheet
|
||||
*/
|
||||
|
||||
@import url('resources/fonts/dejavu.css');
|
||||
|
||||
/*
|
||||
* Styles for individual HTML elements.
|
||||
*
|
||||
* These are styles that are specific to individual HTML elements. Changing them affects the style of a particular
|
||||
* HTML element throughout the page.
|
||||
*/
|
||||
|
||||
body {
|
||||
background-color:#ffffff;
|
||||
color:#353833;
|
||||
font-family:'DejaVu Sans', Arial, Helvetica, sans-serif;
|
||||
font-size:14px;
|
||||
margin:0;
|
||||
padding:0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
}
|
||||
iframe {
|
||||
margin:0;
|
||||
padding:0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
overflow-y:scroll;
|
||||
border:none;
|
||||
}
|
||||
a:link, a:visited {
|
||||
text-decoration:none;
|
||||
color:#4A6782;
|
||||
}
|
||||
a[href]:hover, a[href]:focus {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
}
|
||||
a[name] {
|
||||
color:#353833;
|
||||
}
|
||||
a[name]:before, a[name]:target, a[id]:before, a[id]:target {
|
||||
content:"";
|
||||
display:inline-block;
|
||||
position:relative;
|
||||
padding-top:129px;
|
||||
margin-top:-129px;
|
||||
}
|
||||
pre {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
}
|
||||
h1 {
|
||||
font-size:20px;
|
||||
}
|
||||
h2 {
|
||||
font-size:18px;
|
||||
}
|
||||
h3 {
|
||||
font-size:16px;
|
||||
font-style:italic;
|
||||
}
|
||||
h4 {
|
||||
font-size:13px;
|
||||
}
|
||||
h5 {
|
||||
font-size:12px;
|
||||
}
|
||||
h6 {
|
||||
font-size:11px;
|
||||
}
|
||||
ul {
|
||||
list-style-type:disc;
|
||||
}
|
||||
code, tt {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
padding-top:4px;
|
||||
margin-top:8px;
|
||||
line-height:1.4em;
|
||||
}
|
||||
dt code {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
padding-top:4px;
|
||||
}
|
||||
table tr td dt code {
|
||||
font-family:'DejaVu Sans Mono', monospace;
|
||||
font-size:14px;
|
||||
vertical-align:top;
|
||||
padding-top:4px;
|
||||
}
|
||||
sup {
|
||||
font-size:8px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Styles for HTML generated by javadoc.
|
||||
*
|
||||
* These are style classes that are used by the standard doclet to generate HTML documentation.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Styles for document title and copyright.
|
||||
*/
|
||||
.clear {
|
||||
clear:both;
|
||||
height:0px;
|
||||
overflow:hidden;
|
||||
}
|
||||
.aboutLanguage {
|
||||
float:right;
|
||||
padding:0px 21px;
|
||||
font-size:11px;
|
||||
z-index:200;
|
||||
margin-top:-9px;
|
||||
}
|
||||
.legalCopy {
|
||||
margin-left:.5em;
|
||||
}
|
||||
.bar a, .bar a:link, .bar a:visited, .bar a:active {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
}
|
||||
.bar a:hover, .bar a:focus {
|
||||
color:#bb7a2a;
|
||||
}
|
||||
.tab {
|
||||
background-color:#0066FF;
|
||||
color:#ffffff;
|
||||
padding:8px;
|
||||
width:5em;
|
||||
font-weight:bold;
|
||||
}
|
||||
/*
|
||||
* Styles for navigation bar.
|
||||
*/
|
||||
.bar {
|
||||
background-color:#4D7A97;
|
||||
color:#FFFFFF;
|
||||
padding:.8em .5em .4em .8em;
|
||||
height:auto;/*height:1.8em;*/
|
||||
font-size:11px;
|
||||
margin:0;
|
||||
}
|
||||
.navPadding {
|
||||
padding-top: 107px;
|
||||
}
|
||||
.fixedNav {
|
||||
position:fixed;
|
||||
width:100%;
|
||||
z-index:999;
|
||||
background-color:#ffffff;
|
||||
}
|
||||
.topNav {
|
||||
background-color:#4D7A97;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
font-size:12px;
|
||||
}
|
||||
.bottomNav {
|
||||
margin-top:10px;
|
||||
background-color:#4D7A97;
|
||||
color:#FFFFFF;
|
||||
float:left;
|
||||
padding:0;
|
||||
width:100%;
|
||||
clear:right;
|
||||
height:2.8em;
|
||||
padding-top:10px;
|
||||
overflow:hidden;
|
||||
font-size:12px;
|
||||
}
|
||||
.subNav {
|
||||
background-color:#dee3e9;
|
||||
float:left;
|
||||
width:100%;
|
||||
overflow:hidden;
|
||||
font-size:12px;
|
||||
}
|
||||
.subNav div {
|
||||
clear:left;
|
||||
float:left;
|
||||
padding:0 0 5px 6px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
ul.navList, ul.subNavList {
|
||||
float:left;
|
||||
margin:0 25px 0 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.navList li{
|
||||
list-style:none;
|
||||
float:left;
|
||||
padding: 5px 6px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
ul.navListSearch {
|
||||
float:right;
|
||||
margin:0 0 0 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.navListSearch li {
|
||||
list-style:none;
|
||||
float:right;
|
||||
padding: 5px 6px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
ul.navListSearch li label {
|
||||
position:relative;
|
||||
right:-16px;
|
||||
}
|
||||
ul.subNavList li {
|
||||
list-style:none;
|
||||
float:left;
|
||||
}
|
||||
.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited {
|
||||
color:#FFFFFF;
|
||||
text-decoration:none;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
.topNav a:hover, .bottomNav a:hover {
|
||||
text-decoration:none;
|
||||
color:#bb7a2a;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
.navBarCell1Rev {
|
||||
background-color:#F8981D;
|
||||
color:#253441;
|
||||
margin: auto 5px;
|
||||
}
|
||||
.skipNav {
|
||||
position:absolute;
|
||||
top:auto;
|
||||
left:-9999px;
|
||||
overflow:hidden;
|
||||
}
|
||||
/*
|
||||
* Styles for page header and footer.
|
||||
*/
|
||||
.header, .footer {
|
||||
clear:both;
|
||||
margin:0 20px;
|
||||
padding:5px 0 0 0;
|
||||
}
|
||||
.indexNav {
|
||||
position:relative;
|
||||
font-size:12px;
|
||||
background-color:#dee3e9;
|
||||
}
|
||||
.indexNav ul {
|
||||
margin-top:0;
|
||||
padding:5px;
|
||||
}
|
||||
.indexNav ul li {
|
||||
display:inline;
|
||||
list-style-type:none;
|
||||
padding-right:10px;
|
||||
text-transform:uppercase;
|
||||
}
|
||||
.indexNav h1 {
|
||||
font-size:13px;
|
||||
}
|
||||
.title {
|
||||
color:#2c4557;
|
||||
margin:10px 0;
|
||||
}
|
||||
.subTitle {
|
||||
margin:5px 0 0 0;
|
||||
}
|
||||
.header ul {
|
||||
margin:0 0 15px 0;
|
||||
padding:0;
|
||||
}
|
||||
.footer ul {
|
||||
margin:20px 0 5px 0;
|
||||
}
|
||||
.header ul li, .footer ul li {
|
||||
list-style:none;
|
||||
font-size:13px;
|
||||
}
|
||||
/*
|
||||
* Styles for headings.
|
||||
*/
|
||||
div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 {
|
||||
background-color:#dee3e9;
|
||||
border:1px solid #d0d9e0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:7px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||
background-color:#dee3e9;
|
||||
border:1px solid #d0d9e0;
|
||||
margin:0 0 6px -8px;
|
||||
padding:7px 5px;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList h3 {
|
||||
padding:0;
|
||||
margin:15px 0;
|
||||
}
|
||||
ul.blockList li.blockList h2 {
|
||||
padding:0px 0 20px 0;
|
||||
}
|
||||
/*
|
||||
* Styles for page layout containers.
|
||||
*/
|
||||
.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer,
|
||||
.allClassesContainer, .allPackagesContainer {
|
||||
clear:both;
|
||||
padding:10px 20px;
|
||||
position:relative;
|
||||
}
|
||||
.indexContainer {
|
||||
margin:10px;
|
||||
position:relative;
|
||||
font-size:12px;
|
||||
}
|
||||
.indexContainer h2 {
|
||||
font-size:13px;
|
||||
padding:0 0 3px 0;
|
||||
}
|
||||
.indexContainer ul {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
.indexContainer ul li {
|
||||
list-style:none;
|
||||
padding-top:2px;
|
||||
}
|
||||
.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt {
|
||||
font-size:12px;
|
||||
font-weight:bold;
|
||||
margin:10px 0 0 0;
|
||||
color:#4E4E4E;
|
||||
}
|
||||
.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd {
|
||||
margin:5px 0 10px 0px;
|
||||
font-size:14px;
|
||||
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dt {
|
||||
margin-left:1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
font-weight:bold;
|
||||
}
|
||||
.serializedFormContainer dl.nameValue dd {
|
||||
margin:0 0 0 1px;
|
||||
font-size:1.1em;
|
||||
display:inline;
|
||||
}
|
||||
/*
|
||||
* Styles for lists.
|
||||
*/
|
||||
li.circle {
|
||||
list-style:circle;
|
||||
}
|
||||
ul.horizontal li {
|
||||
display:inline;
|
||||
font-size:0.9em;
|
||||
}
|
||||
ul.inheritance {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
ul.inheritance li {
|
||||
display:inline;
|
||||
list-style:none;
|
||||
}
|
||||
ul.inheritance li ul.inheritance {
|
||||
margin-left:15px;
|
||||
padding-left:15px;
|
||||
padding-top:1px;
|
||||
}
|
||||
ul.blockList, ul.blockListLast {
|
||||
margin:10px 0 10px 0;
|
||||
padding:0;
|
||||
}
|
||||
ul.blockList li.blockList, ul.blockListLast li.blockList {
|
||||
list-style:none;
|
||||
margin-bottom:15px;
|
||||
line-height:1.4;
|
||||
}
|
||||
ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0px 20px 5px 10px;
|
||||
border:1px solid #ededed;
|
||||
background-color:#f8f8f8;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList {
|
||||
padding:0 0 5px 8px;
|
||||
background-color:#ffffff;
|
||||
border:none;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockList {
|
||||
margin-left:0;
|
||||
padding-left:0;
|
||||
padding-bottom:15px;
|
||||
border:none;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast {
|
||||
list-style:none;
|
||||
border-bottom:none;
|
||||
padding-bottom:0;
|
||||
}
|
||||
table tr td dl, table tr td dl dt, table tr td dl dd {
|
||||
margin-top:0;
|
||||
margin-bottom:1px;
|
||||
}
|
||||
/*
|
||||
* Styles for tables.
|
||||
*/
|
||||
.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary,
|
||||
.requiresSummary, .packagesSummary, .providesSummary, .usesSummary {
|
||||
width:100%;
|
||||
border-spacing:0;
|
||||
border-left:1px solid #EEE;
|
||||
border-right:1px solid #EEE;
|
||||
border-bottom:1px solid #EEE;
|
||||
}
|
||||
.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary {
|
||||
padding:0px;
|
||||
}
|
||||
.overviewSummary caption, .memberSummary caption, .typeSummary caption,
|
||||
.useSummary caption, .constantsSummary caption, .deprecatedSummary caption,
|
||||
.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption {
|
||||
position:relative;
|
||||
text-align:left;
|
||||
background-repeat:no-repeat;
|
||||
color:#253441;
|
||||
font-weight:bold;
|
||||
clear:none;
|
||||
overflow:hidden;
|
||||
padding:0px;
|
||||
padding-top:10px;
|
||||
padding-left:1px;
|
||||
margin:0px;
|
||||
white-space:pre;
|
||||
}
|
||||
.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link,
|
||||
.constantsSummary caption a:link, .deprecatedSummary caption a:link,
|
||||
.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link,
|
||||
.usesSummary caption a:link,
|
||||
.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover,
|
||||
.constantsSummary caption a:hover, .deprecatedSummary caption a:hover,
|
||||
.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover,
|
||||
.usesSummary caption a:hover,
|
||||
.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active,
|
||||
.constantsSummary caption a:active, .deprecatedSummary caption a:active,
|
||||
.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active,
|
||||
.usesSummary caption a:active,
|
||||
.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited,
|
||||
.constantsSummary caption a:visited, .deprecatedSummary caption a:visited,
|
||||
.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited,
|
||||
.usesSummary caption a:visited {
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active,
|
||||
.useSummary caption a:visited {
|
||||
color:#1f389c;
|
||||
}
|
||||
.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span,
|
||||
.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span,
|
||||
.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span,
|
||||
.usesSummary caption span {
|
||||
white-space:nowrap;
|
||||
padding-top:5px;
|
||||
padding-left:12px;
|
||||
padding-right:12px;
|
||||
padding-bottom:7px;
|
||||
display:inline-block;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
border: none;
|
||||
height:16px;
|
||||
}
|
||||
.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span,
|
||||
.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span {
|
||||
white-space:nowrap;
|
||||
padding-top:5px;
|
||||
padding-left:12px;
|
||||
padding-right:12px;
|
||||
margin-right:3px;
|
||||
display:inline-block;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
height:16px;
|
||||
}
|
||||
.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span,
|
||||
.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span {
|
||||
white-space:nowrap;
|
||||
padding-top:5px;
|
||||
padding-left:12px;
|
||||
padding-right:12px;
|
||||
margin-right:3px;
|
||||
display:inline-block;
|
||||
float:left;
|
||||
background-color:#4D7A97;
|
||||
height:16px;
|
||||
}
|
||||
.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab,
|
||||
.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab,
|
||||
.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab,
|
||||
.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab {
|
||||
padding-top:0px;
|
||||
padding-left:0px;
|
||||
padding-right:0px;
|
||||
background-image:none;
|
||||
float:none;
|
||||
display:inline;
|
||||
}
|
||||
.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd,
|
||||
.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd,
|
||||
.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd {
|
||||
display:none;
|
||||
width:5px;
|
||||
position:relative;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
}
|
||||
.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd,
|
||||
.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd {
|
||||
display:none;
|
||||
width:5px;
|
||||
margin-right:3px;
|
||||
position:relative;
|
||||
float:left;
|
||||
background-color:#F8981D;
|
||||
}
|
||||
.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd,
|
||||
.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd {
|
||||
display:none;
|
||||
width:5px;
|
||||
margin-right:3px;
|
||||
position:relative;
|
||||
background-color:#4D7A97;
|
||||
float:left;
|
||||
}
|
||||
.rowColor th, .altColor th {
|
||||
font-weight:normal;
|
||||
}
|
||||
.overviewSummary td, .memberSummary td, .typeSummary td,
|
||||
.useSummary td, .constantsSummary td, .deprecatedSummary td,
|
||||
.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td {
|
||||
text-align:left;
|
||||
padding:0px 0px 12px 10px;
|
||||
}
|
||||
th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th,
|
||||
.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td,
|
||||
.constantsSummary td {
|
||||
vertical-align:top;
|
||||
padding-right:0px;
|
||||
padding-top:8px;
|
||||
padding-bottom:3px;
|
||||
}
|
||||
th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th,
|
||||
.packagesSummary th {
|
||||
background:#dee3e9;
|
||||
text-align:left;
|
||||
padding:8px 3px 3px 7px;
|
||||
}
|
||||
td.colFirst, th.colFirst {
|
||||
font-size:13px;
|
||||
}
|
||||
td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast {
|
||||
font-size:13px;
|
||||
}
|
||||
.constantsSummary th, .packagesSummary th {
|
||||
font-size:13px;
|
||||
}
|
||||
.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst,
|
||||
.providesSummary td.colLast {
|
||||
white-space:normal;
|
||||
font-size:13px;
|
||||
}
|
||||
.overviewSummary td.colFirst, .overviewSummary th.colFirst,
|
||||
.requiresSummary td.colFirst, .requiresSummary th.colFirst,
|
||||
.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th,
|
||||
.usesSummary td.colFirst, .usesSummary th.colFirst,
|
||||
.providesSummary td.colFirst, .providesSummary th.colFirst,
|
||||
.memberSummary td.colFirst, .memberSummary th.colFirst,
|
||||
.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName,
|
||||
.typeSummary td.colFirst, .typeSummary th.colFirst {
|
||||
vertical-align:top;
|
||||
}
|
||||
.packagesSummary th.colLast, .packagesSummary td.colLast {
|
||||
white-space:normal;
|
||||
}
|
||||
td.colFirst a:link, td.colFirst a:visited,
|
||||
td.colSecond a:link, td.colSecond a:visited,
|
||||
th.colFirst a:link, th.colFirst a:visited,
|
||||
th.colSecond a:link, th.colSecond a:visited,
|
||||
th.colConstructorName a:link, th.colConstructorName a:visited,
|
||||
th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited,
|
||||
.constantValuesContainer td a:link, .constantValuesContainer td a:visited,
|
||||
.allClassesContainer td a:link, .allClassesContainer td a:visited,
|
||||
.allPackagesContainer td a:link, .allPackagesContainer td a:visited {
|
||||
font-weight:bold;
|
||||
}
|
||||
.tableSubHeadingColor {
|
||||
background-color:#EEEEFF;
|
||||
}
|
||||
.altColor, .altColor th {
|
||||
background-color:#FFFFFF;
|
||||
}
|
||||
.rowColor, .rowColor th {
|
||||
background-color:#EEEEEF;
|
||||
}
|
||||
/*
|
||||
* Styles for contents.
|
||||
*/
|
||||
.description pre {
|
||||
margin-top:0;
|
||||
}
|
||||
.deprecatedContent {
|
||||
margin:0;
|
||||
padding:10px 0;
|
||||
}
|
||||
.docSummary {
|
||||
padding:0;
|
||||
}
|
||||
ul.blockList ul.blockList ul.blockList li.blockList h3 {
|
||||
font-style:normal;
|
||||
}
|
||||
div.block {
|
||||
font-size:14px;
|
||||
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
|
||||
}
|
||||
td.colLast div {
|
||||
padding-top:0px;
|
||||
}
|
||||
td.colLast a {
|
||||
padding-bottom:3px;
|
||||
}
|
||||
/*
|
||||
* Styles for formatting effect.
|
||||
*/
|
||||
.sourceLineNo {
|
||||
color:green;
|
||||
padding:0 30px 0 0;
|
||||
}
|
||||
h1.hidden {
|
||||
visibility:hidden;
|
||||
overflow:hidden;
|
||||
font-size:10px;
|
||||
}
|
||||
.block {
|
||||
display:block;
|
||||
margin:3px 10px 2px 0px;
|
||||
color:#474747;
|
||||
}
|
||||
.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink,
|
||||
.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType,
|
||||
.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel,
|
||||
.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink {
|
||||
font-weight:bold;
|
||||
}
|
||||
.deprecationComment, .emphasizedPhrase, .interfaceName {
|
||||
font-style:italic;
|
||||
}
|
||||
.deprecationBlock {
|
||||
font-size:14px;
|
||||
font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif;
|
||||
border-style:solid;
|
||||
border-width:thin;
|
||||
border-radius:10px;
|
||||
padding:10px;
|
||||
margin-bottom:10px;
|
||||
margin-right:10px;
|
||||
display:inline-block;
|
||||
}
|
||||
div.block div.deprecationComment, div.block div.block span.emphasizedPhrase,
|
||||
div.block div.block span.interfaceName {
|
||||
font-style:normal;
|
||||
}
|
||||
div.contentContainer ul.blockList li.blockList h2 {
|
||||
padding-bottom:0px;
|
||||
}
|
||||
/*
|
||||
* Styles for IFRAME.
|
||||
*/
|
||||
.mainContainer {
|
||||
margin:0 auto;
|
||||
padding:0;
|
||||
height:100%;
|
||||
width:100%;
|
||||
position:fixed;
|
||||
top:0;
|
||||
left:0;
|
||||
}
|
||||
.leftContainer {
|
||||
height:100%;
|
||||
position:fixed;
|
||||
width:320px;
|
||||
}
|
||||
.leftTop {
|
||||
position:relative;
|
||||
float:left;
|
||||
width:315px;
|
||||
top:0;
|
||||
left:0;
|
||||
height:30%;
|
||||
border-right:6px solid #ccc;
|
||||
border-bottom:6px solid #ccc;
|
||||
}
|
||||
.leftBottom {
|
||||
position:relative;
|
||||
float:left;
|
||||
width:315px;
|
||||
bottom:0;
|
||||
left:0;
|
||||
height:70%;
|
||||
border-right:6px solid #ccc;
|
||||
border-top:1px solid #000;
|
||||
}
|
||||
.rightContainer {
|
||||
position:absolute;
|
||||
left:320px;
|
||||
top:0;
|
||||
bottom:0;
|
||||
height:100%;
|
||||
right:0;
|
||||
border-left:1px solid #000;
|
||||
}
|
||||
.rightIframe {
|
||||
margin:0;
|
||||
padding:0;
|
||||
height:100%;
|
||||
right:30px;
|
||||
width:100%;
|
||||
overflow:visible;
|
||||
margin-bottom:30px;
|
||||
}
|
||||
/*
|
||||
* Styles specific to HTML5 elements.
|
||||
*/
|
||||
main, nav, header, footer, section {
|
||||
display:block;
|
||||
}
|
||||
/*
|
||||
* Styles for javadoc search.
|
||||
*/
|
||||
.ui-autocomplete-category {
|
||||
font-weight:bold;
|
||||
font-size:15px;
|
||||
padding:7px 0 7px 3px;
|
||||
background-color:#4D7A97;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.resultItem {
|
||||
font-size:13px;
|
||||
}
|
||||
.ui-autocomplete {
|
||||
max-height:85%;
|
||||
max-width:65%;
|
||||
overflow-y:scroll;
|
||||
overflow-x:scroll;
|
||||
white-space:nowrap;
|
||||
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
|
||||
}
|
||||
ul.ui-autocomplete {
|
||||
position:fixed;
|
||||
z-index:999999;
|
||||
}
|
||||
ul.ui-autocomplete li {
|
||||
float:left;
|
||||
clear:both;
|
||||
width:100%;
|
||||
}
|
||||
.resultHighlight {
|
||||
font-weight:bold;
|
||||
}
|
||||
#search {
|
||||
background-image:url('resources/glass.png');
|
||||
background-size:13px;
|
||||
background-repeat:no-repeat;
|
||||
background-position:2px 3px;
|
||||
padding-left:20px;
|
||||
position:relative;
|
||||
right:-18px;
|
||||
}
|
||||
#reset {
|
||||
background-color: rgb(255,255,255);
|
||||
background-image:url('resources/x.png');
|
||||
background-position:center;
|
||||
background-repeat:no-repeat;
|
||||
background-size:12px;
|
||||
border:0 none;
|
||||
width:16px;
|
||||
height:17px;
|
||||
position:relative;
|
||||
left:-4px;
|
||||
top:-4px;
|
||||
font-size:0px;
|
||||
}
|
||||
.watermark {
|
||||
color:#545454;
|
||||
}
|
||||
.searchTagDescResult {
|
||||
font-style:italic;
|
||||
font-size:11px;
|
||||
}
|
||||
.searchTagHolderResult {
|
||||
font-style:italic;
|
||||
font-size:12px;
|
||||
}
|
||||
.searchTagResult:before, .searchTagResult:target {
|
||||
color:red;
|
||||
}
|
||||
.moduleGraph span {
|
||||
display:none;
|
||||
position:absolute;
|
||||
}
|
||||
.moduleGraph:hover span {
|
||||
display:block;
|
||||
margin: -100px 0 0 100px;
|
||||
z-index: 1;
|
||||
}
|
||||
.methodSignature {
|
||||
white-space:normal;
|
||||
}
|
||||
|
||||
/*
|
||||
* Styles for user-provided tables.
|
||||
*
|
||||
* borderless:
|
||||
* No borders, vertical margins, styled caption.
|
||||
* This style is provided for use with existing doc comments.
|
||||
* In general, borderless tables should not be used for layout purposes.
|
||||
*
|
||||
* plain:
|
||||
* Plain borders around table and cells, vertical margins, styled caption.
|
||||
* Best for small tables or for complex tables for tables with cells that span
|
||||
* rows and columns, when the "striped" style does not work well.
|
||||
*
|
||||
* striped:
|
||||
* Borders around the table and vertical borders between cells, striped rows,
|
||||
* vertical margins, styled caption.
|
||||
* Best for tables that have a header row, and a body containing a series of simple rows.
|
||||
*/
|
||||
|
||||
table.borderless,
|
||||
table.plain,
|
||||
table.striped {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
table.borderless > caption,
|
||||
table.plain > caption,
|
||||
table.striped > caption {
|
||||
font-weight: bold;
|
||||
font-size: smaller;
|
||||
}
|
||||
table.borderless th, table.borderless td,
|
||||
table.plain th, table.plain td,
|
||||
table.striped th, table.striped td {
|
||||
padding: 2px 5px;
|
||||
}
|
||||
table.borderless,
|
||||
table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th,
|
||||
table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td {
|
||||
border: none;
|
||||
}
|
||||
table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr {
|
||||
background-color: transparent;
|
||||
}
|
||||
table.plain {
|
||||
border-collapse: collapse;
|
||||
border: 1px solid black;
|
||||
}
|
||||
table.plain > thead > tr, table.plain > tbody tr, table.plain > tr {
|
||||
background-color: transparent;
|
||||
}
|
||||
table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th,
|
||||
table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
table.striped {
|
||||
border-collapse: collapse;
|
||||
border: 1px solid black;
|
||||
}
|
||||
table.striped > thead {
|
||||
background-color: #E3E3E3;
|
||||
}
|
||||
table.striped > thead > tr > th, table.striped > thead > tr > td {
|
||||
border: 1px solid black;
|
||||
}
|
||||
table.striped > tbody > tr:nth-child(even) {
|
||||
background-color: #EEE
|
||||
}
|
||||
table.striped > tbody > tr:nth-child(odd) {
|
||||
background-color: #FFF
|
||||
}
|
||||
table.striped > tbody > tr > th, table.striped > tbody > tr > td {
|
||||
border-left: 1px solid black;
|
||||
border-right: 1px solid black;
|
||||
}
|
||||
table.striped > tbody > tr > th {
|
||||
font-weight: normal;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
typeSearchIndex = [{"l":"All Classes","url":"allclasses-index.html"},{"p":"<Unnamed>","l":"IntNode"}]
|
||||
@@ -1,178 +0,0 @@
|
||||
package fileops;
|
||||
|
||||
import java.io.FileReader;
|
||||
import java.io.FileWriter;
|
||||
import java.io.IOException;
|
||||
import java.io.BufferedReader;
|
||||
import java.io.PrintWriter;
|
||||
|
||||
|
||||
/*
|
||||
* Ziad Arafat
|
||||
* Used powerpoint functions as reference
|
||||
* I then created seperate functions to get and store the column names and the data
|
||||
* I used switch statements to only print the specific columns and checked the age
|
||||
* IMPORTANT: Check the README
|
||||
*/
|
||||
public class fileops {
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
writeData(readCSV("core_dataset.csv"),
|
||||
readCSVCols("core_dataset.csv"),"young_employee.csv");
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Read the data from the CSV and return as a 2D String array.
|
||||
public static String[][] readCSV(String inFname) throws IOException {
|
||||
BufferedReader inputStream = new BufferedReader(new FileReader(inFname));
|
||||
String line;
|
||||
int lineno = 1;
|
||||
String[][] data = new String[302][20];
|
||||
while ((line = inputStream.readLine()) != null) {
|
||||
String[] numbers = line.split(",");
|
||||
if (lineno == 1) {
|
||||
System.out.println();
|
||||
}else {
|
||||
data[lineno-2] = numbers;
|
||||
}
|
||||
lineno++;
|
||||
}
|
||||
inputStream.close();
|
||||
|
||||
return(data);
|
||||
}
|
||||
|
||||
|
||||
// Read only the column labels from the fiile and store in it's own 1D array for later use
|
||||
public static String[] readCSVCols(String inFname) throws IOException {
|
||||
BufferedReader inputStream = new BufferedReader(new FileReader(inFname));
|
||||
String line = inputStream.readLine();
|
||||
String[] cols = new String[25];
|
||||
String[] labels = line.split(",");
|
||||
cols = labels;
|
||||
inputStream.close();
|
||||
return(cols);
|
||||
}
|
||||
|
||||
// Write data from 2D String array containing data and 1D String array containing labels
|
||||
public static void writeData(
|
||||
String[][] inData, String[] inDataLabels, String outFname
|
||||
) throws IOException {
|
||||
PrintWriter outputStream = null;
|
||||
Integer ageInt;
|
||||
String ageStr;
|
||||
|
||||
// print the data labels to the file
|
||||
try {
|
||||
outputStream = new PrintWriter(new FileWriter(outFname));
|
||||
for (int j = 0; j < inDataLabels.length
|
||||
&& (inDataLabels[j] != null); j++) {
|
||||
|
||||
// This switch case is to ensure only the correct column labels are used in the labels array.
|
||||
switch (inDataLabels[j]) {
|
||||
case "Employee Fname":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Employee Lname":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Employee Number":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "State":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Zip":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Age":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
case "Sex":
|
||||
outputStream.printf(inDataLabels[j] + ",");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
// print the data to the file
|
||||
outputStream.println();
|
||||
for (int i = 0; (i < inData.length-1) && (inData[i] != null); i++) {
|
||||
// I parse the age value to an integer for checking age.
|
||||
ageStr = new String(inData[i][6]);
|
||||
ageInt = Integer.parseInt(ageStr);
|
||||
if (ageInt <= 30) {
|
||||
for (int j = 0; j < inDataLabels.length
|
||||
&& (inData[i][j] != null); j++) {
|
||||
|
||||
// This switch case is to ensure only the correct column labels are used in the data array.
|
||||
switch (inDataLabels[j]) {
|
||||
case "Employee Fname":
|
||||
System.out.println(inData[i][j]);
|
||||
System.out.println();
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Employee Lname":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Employee Number":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "State":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Zip":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Age":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
case "Sex":
|
||||
System.out.println(inData[i][j]);
|
||||
outputStream.printf(inData[i][j] + ",");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
// print a newline when we finish a row
|
||||
outputStream.println();
|
||||
}
|
||||
}
|
||||
|
||||
} finally {
|
||||
if (outputStream != null) {
|
||||
outputStream.close();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
// This function is not used here it is for later use. It's a simple function to write strings to a file.
|
||||
public static void strToFile(String inStr, String outFname)
|
||||
throws IOException {
|
||||
String inputStr;
|
||||
PrintWriter outputStream = null;
|
||||
try {
|
||||
inputStr = new String(inStr);
|
||||
outputStream = new PrintWriter(new FileWriter(outFname));
|
||||
outputStream.println(inputStr);
|
||||
} finally {
|
||||
if (outputStream != null) {
|
||||
outputStream.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||