Class unit


public class unit
extends java.lang.Object

Field Summary

(package private) long
due
(package private) int
lesson
private int[]
level
String contains Information about the Difficulty-level
(package private) double
reliability

Constructor Summary

unit()
unit(int lesson, double reliability, long due)
Constructor for unit-class with parameters

Method Summary

int
getDifficulty()
Gives back the difficulty level of the used coding
long
getDue()
gives back the time needed for the test
int
getLesson()
gives back the lessonnumber of the unit
double
getReliability()
how sucessful was the test done in %

Field Details

due

(package private)  long due

lesson

(package private)  int lesson

level

private int[] level
String contains Information about the Difficulty-level

reliability

(package private)  double reliability

Constructor Details

unit

public unit()

unit

public unit(int lesson,
            double reliability,
            long due)
Constructor for unit-class with parameters
Parameters:
lesson - int lessonnumber, which kind of test
reliability - double how sucessful was the test done in %
due - long how long did the test take

Method Details

getDifficulty

public int getDifficulty()
Gives back the difficulty level of the used coding
Returns:
int the difficulty of the used coding

getDue

public long getDue()
gives back the time needed for the test
Returns:
long time

getLesson

public int getLesson()
gives back the lessonnumber of the unit
Returns:
int lessonnumber

getReliability

public double getReliability()
how sucessful was the test done in %
Returns:
double reliability