Index
All Classes and Interfaces|All Packages
A
- addValue(int) - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
-
Insert a new value into our container
C
- clear() - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
-
Empty the current set of values and set the store to its initial state.
D
- de.hdm_stuttgart.mi.sd1.main - package de.hdm_stuttgart.mi.sd1.main
- de.hdm_stuttgart.mi.sd1.store - package de.hdm_stuttgart.mi.sd1.store
-
Dealing with integer stores.
- Driver - Class in de.hdm_stuttgart.mi.sd1.main
-
Ask a user for sample input values to calculate average and median.
- Driver() - Constructor for class de.hdm_stuttgart.mi.sd1.main.Driver
G
- getAverage() - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
- getCapacity() - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
- getMedian() - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
-
Precondition: There must be at least one element.
- getNumValues() - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
- getValue(int) - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
-
Access the value at a given index
- getValues() - Method in class de.hdm_stuttgart.mi.sd1.store.IntegerStore
I
- IntegerStore - Class in de.hdm_stuttgart.mi.sd1.store
-
A container holding a fixed number of integer values.
- IntegerStore() - Constructor for class de.hdm_stuttgart.mi.sd1.store.IntegerStore
-
Create a new store being able to hold integer values.
- IntegerStore(int) - Constructor for class de.hdm_stuttgart.mi.sd1.store.IntegerStore
-
Create a new store being able to hold integer values.
- IntegerStore(int[]) - Constructor for class de.hdm_stuttgart.mi.sd1.store.IntegerStore
-
Initializing from a given array of integers.
M
- main(String[]) - Static method in class de.hdm_stuttgart.mi.sd1.main.Driver
All Classes and Interfaces|All Packages