Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(double) - Method in class io.fi0x.javadatastructures.AvgList
-
Adds a value to the already existing list.
- add(float, Type) - Method in class io.fi0x.javadatastructures.WeightedList
-
This method allows new elements to be added to the
WeightedList. - AvgList - Class in io.fi0x.javadatastructures
-
This list supports averaging methods for data.
- AvgList() - Constructor for class io.fi0x.javadatastructures.AvgList
-
Default constructor of this class.
- AvgList(List<Double>) - Constructor for class io.fi0x.javadatastructures.AvgList
-
This constructor will copy the content of the provided list to a new one as its initial values.
G
- get() - Method in class io.fi0x.javadatastructures.AvgList
-
This will return the averaged version of the original list.
- get(double) - Method in class io.fi0x.javadatastructures.WeightedList
-
This method returns an
Objectfrom theWeightedListwith a specified weighted value. - getObject1() - Method in class io.fi0x.javadatastructures.Tuple
- getObject2() - Method in class io.fi0x.javadatastructures.Tuple
- getOriginalList() - Method in class io.fi0x.javadatastructures.AvgList
-
This will return the unmodified list that was provided to this class.
I
- io.fi0x.javadatastructures - package io.fi0x.javadatastructures
R
- random() - Method in class io.fi0x.javadatastructures.WeightedList
-
This method returns a random element from the
WeightedList. - randomRemove() - Method in class io.fi0x.javadatastructures.WeightedList
-
This method returns a random element from the
WeightedListand removes it. - reCalculate() - Method in class io.fi0x.javadatastructures.AvgList
-
Forces a re-calculation of the returned list.
- remove(int) - Method in class io.fi0x.javadatastructures.AvgList
-
This will remove a value at the indexed position in the list and return it.
S
- setAdditionalAveragingValues(int) - Method in class io.fi0x.javadatastructures.AvgList
-
This number defines, how many neighbouring values a value should be averaged with.
- setData(List<Double>) - Method in class io.fi0x.javadatastructures.AvgList
-
Sets the provided data s new base-data.
- setLowCutoff(Double) - Method in class io.fi0x.javadatastructures.AvgList
-
All numbers that are equal or lower than this value, will be removed from the returned list.
- setLowCutoffPercent(Double) - Method in class io.fi0x.javadatastructures.AvgList
-
All numbers that are equal or lower than the lowest X percent of the highes value in the list, will be removed from the returned list.
- setObject1(O1) - Method in class io.fi0x.javadatastructures.Tuple
- setObject2(O2) - Method in class io.fi0x.javadatastructures.Tuple
- setPreCalculate(boolean) - Method in class io.fi0x.javadatastructures.AvgList
-
Weather or not the results should be calculated before retrieving them.
- setTopCutoff(Double) - Method in class io.fi0x.javadatastructures.AvgList
-
All numbers that are equal or higher than this value, will be removed from the returned list.
- setTopCutoffPercent(Double) - Method in class io.fi0x.javadatastructures.AvgList
-
All numbers that are equal or higher than the top X percent of the highest value in the list, will be removed from the returned list.
- size() - Method in class io.fi0x.javadatastructures.WeightedList
-
This method returns the amount of entries that are stored inside the
WeightedList.
T
- toList() - Method in class io.fi0x.javadatastructures.WeightedList
-
Returns a version of this
WeightedListthat only contains theWeightedListelements without their weights. - Tuple<O1,
O2> - Class in io.fi0x.javadatastructures -
This class is used as a data-structure to support tuples of
objects. - Tuple(O1, O2) - Constructor for class io.fi0x.javadatastructures.Tuple
-
The main constructor of this data-structure.
- TupleList<O1,
O2> - Class in io.fi0x.javadatastructures -
This class is an extension of a normal
ArrayList. - TupleList() - Constructor for class io.fi0x.javadatastructures.TupleList
-
The default constructor of this class.
W
- WeightedList<Type> - Class in io.fi0x.javadatastructures
-
This class represents a weighted list that can be used for easy weighted randomization.
- WeightedList(Random) - Constructor for class io.fi0x.javadatastructures.WeightedList
-
The main constructor of this class requires a
Randomto be able to return random elements later.
All Classes and Interfaces|All Packages|Serialized Form