public class Delphi extends Object
| Modifier and Type | Field and Description |
|---|---|
static Delphi |
delphi |
HashMap |
projects
Relates String keys to Project values
|
| Constructor and Description |
|---|
Delphi() |
| Modifier and Type | Method and Description |
|---|---|
void |
addColumn(String username,
String projectName,
String text) |
void |
addRow(String username,
String projectName,
String text) |
static Integer[] |
fromObjectArray(Object[] ob) |
void |
fromXML(String xml) |
ArrayList |
getColumnNames(String projectName,
String username) |
static Delphi |
getInstance() |
static void |
main(String[] args) |
static int |
median(Integer[] distribution) |
static boolean |
odd(int val) |
static boolean |
outsideInterquartile(ArrayList distribution,
int value)
Determine whether an int is outside the interquartile range
of a distribution of int(s).
|
void |
readProjects() |
void |
save() |
void |
setValue(String projectName,
String username,
String rowcolumn,
String value)
Set the value of a rating in a row and column of a specific project
and user's table.
|
void |
setWeight(String projectName,
String username,
String column,
String value)
Set the weight of a column of a specific project
and user's table.
|
public static Delphi delphi
public HashMap projects
public static Delphi getInstance()
public static boolean odd(int val)
public static int median(Integer[] distribution)
public static boolean outsideInterquartile(ArrayList distribution, int value)
public void save()
throws IOException
IOExceptionpublic void setValue(String projectName, String username, String rowcolumn, String value)
public void setWeight(String projectName, String username, String column, String value)
public void fromXML(String xml)
public void readProjects()
throws IOException
IOExceptionpublic static void main(String[] args)
Copyright © 2015. All rights reserved.