C D E I J L M N O P R S T V Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- clear() - Static method in class com.coti.tools.DiaUtil
-
This method tries to clear the screen (erase the terminal) both in Windows and in Unix platforms.
- com.coti.tools - package com.coti.tools
- crossProduct(double[], double[]) - Static method in class com.coti.tools.OpVect
D
- DiaUtil - Class in com.coti.tools
-
Class Diautil offers methods that make it easy to calculate
execution time by means of a timer;
further it offers a method that shows the name of the user
and can be called right before program termination in order
to indicate the user's name and the program's running time. - DiaUtil() - Constructor for class com.coti.tools.DiaUtil
- distance(double[], double[]) - Static method in class com.coti.tools.OpVect
- dotProduct(double[], double[]) - Static method in class com.coti.tools.OpVect
- doubleVectorAsString(double[]) - Static method in class com.coti.tools.OpVect
E
- Esdia - Class in com.coti.tools
-
Class Esdia offers methods that make it easy to read numeric and alphanumeric
values from the keyboard while showing a prompt; errors are signalled
and indeed it is possible to read only non-empty strings. - Esdia() - Constructor for class com.coti.tools.Esdia
- exportToDisk(double[][], File, String) - Static method in class com.coti.tools.OpMat
-
This method exports a double[][] to disk with delimited format
- exportToDisk(float[][], File, String) - Static method in class com.coti.tools.OpMat
-
This method exports a float[][] to disk with delimited format
- exportToDisk(int[][], File, String) - Static method in class com.coti.tools.OpMat
-
This method exports an int[][] to disk with delimited format
- exportToDisk(String[][], File, String) - Static method in class com.coti.tools.OpMat
-
This method exports a String[][] with delimited format and can throw an exception
I
- importFromDisk(File, String) - Static method in class com.coti.tools.OpMat
-
This method imports from disk a String[][] written with delimited format
- importFromDisk(File, String, double) - Static method in class com.coti.tools.OpMat
-
This method imports a double[][] from a delimited file
- importFromDisk(File, String, float) - Static method in class com.coti.tools.OpMat
-
This method imports a float[][] from a delimited file
- importFromDisk(File, String, int) - Static method in class com.coti.tools.OpMat
-
This method imports an int[][] from a delimited file
- inputMat(double[][]) - Static method in class com.coti.tools.OpMat
-
This method reads from the keyboard a double[][]
- inputMat(float[][]) - Static method in class com.coti.tools.OpMat
-
This method reads from the keyboard a float[][]
- inputMat(int[][]) - Static method in class com.coti.tools.OpMat
-
This method reads from the keyboard an int[][]
- inputMat(String[][]) - Static method in class com.coti.tools.OpMat
-
This method reads from the keyboard a String[][]
- isValidPath(String) - Static method in class com.coti.tools.Esdia
-
This method finds out whether a path is valid
J
- join(String[][], String[]) - Static method in class com.coti.tools.OpMat
-
This method returns the join of a String[][] and a String[].
- join(String[][], String[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the join of its two String[][] arguments.
L
- loadFromDisk(File, double) - Static method in class com.coti.tools.OpMat
-
This method reads from disk an double[][] written with binary format
- loadFromDisk(File, float) - Static method in class com.coti.tools.OpMat
-
This method reads from disk an float[][] written with binary format
- loadFromDisk(File, int) - Static method in class com.coti.tools.OpMat
-
This method reads from disk an int[][] written with binary format
M
- mixedProduct(double[], double[], double[]) - Static method in class com.coti.tools.OpVect
- modulus(double[]) - Static method in class com.coti.tools.OpVect
- modulus2(double[]) - Static method in class com.coti.tools.OpVect
N
- nextDate() - Method in class com.coti.tools.RandomDate
O
- OpMat - Class in com.coti.tools
-
Class OpMat offers a list of static methods that deal with atomic and String
arrays; their purpose is to read from the keyboard, print to screen, import from disk
(CSV and columnar), export to disk (CSV and columnar), serialize (save) to disk,
read from disk, sum, multiply and join (only String arrays). - OpMat() - Constructor for class com.coti.tools.OpMat
- OpVect - Class in com.coti.tools
-
Class OpVect offers a list of static methods that deal with numeric vectors;
it allows the user to read vectors from the keyboard, and to calculate the
dot, cross and mixed product, as well as the modulus of a vector and the distance
between two points. - OpVect() - Constructor for class com.coti.tools.OpVect
P
- pathToDesktop() - Static method in class com.coti.tools.Rutas
-
This constructor returns the path to the Desktop for any platform
- pathToDocuments() - Static method in class com.coti.tools.Rutas
-
This method returns the path to Documents for any platform
- pathToFileInDocuments(String) - Static method in class com.coti.tools.Rutas
-
This method gives back the Path to a file in Documents
- pathToFileInFolderInDocuments(String, String) - Static method in class com.coti.tools.Rutas
-
This method gives back the Path to a file in a folder in Documents
- pathToFileInFolderOnDesktop(String, String) - Static method in class com.coti.tools.Rutas
-
This method gives back the Path to a file in a folder on the Desktop
- pathToFileOnDesktop(String) - Static method in class com.coti.tools.Rutas
-
This method gives back the Path to a file on the Desktop
- pathToFolderInDocuments(String) - Static method in class com.coti.tools.Rutas
-
This method returns a path to a folder in Documents for any platform
- pathToFolderOnDesktop(String) - Static method in class com.coti.tools.Rutas
-
This method returns a path to a folder on Desktop for any platform
- printToScreen(double[][]) - Static method in class com.coti.tools.OpMat
-
This method prints to screen a double[][] with fixed (8.3) column and decimal widths
- printToScreen(float[][]) - Static method in class com.coti.tools.OpMat
-
This method prints to screen a float[][] with fixed (8.3) column and decimal widths
- printToScreen(int[][]) - Static method in class com.coti.tools.OpMat
-
This method prints to screen an int[][] with fixed (8) column widths
- printToScreen(String[][]) - Static method in class com.coti.tools.OpMat
-
This method prints to screen a String[][] with fixed column widths (20)
- printToScreen2(String[][]) - Static method in class com.coti.tools.OpMat
-
This method prints to screen a String[][] with minimum (calculated but equal) column widths
- printToScreen3(String[][]) - Static method in class com.coti.tools.OpMat
-
This method prints to screen a String[][] with minimum and possibly different widths for each column
- product(double[][], double[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the product of its two double[][] arguments
- product(float[][], float[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the product of its two float[][] arguments
- product(int[][], int[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the product of its two int[][] arguments
R
- RandomDate - Class in com.coti.tools
-
Class RandomDate generates random a random LocalDate between two given ones;
methods are not static hence an instance of RandomDate must be created before
using the one method in this class, nextDate(). - RandomDate(LocalDate, LocalDate) - Constructor for class com.coti.tools.RandomDate
- readDouble(String) - Static method in class com.coti.tools.Esdia
-
This method gives back a double after prompting with prompt
- readDouble(String, double, double) - Static method in class com.coti.tools.Esdia
-
This method gives back a double between min and max after prompting with prompt
- readFloat(String) - Static method in class com.coti.tools.Esdia
-
This method gives back a float after prompting
- readFloat(String, float, float) - Static method in class com.coti.tools.Esdia
-
This method gives back a float between min and max after prompting with prompt
- readInt(String) - Static method in class com.coti.tools.Esdia
-
This method gives back an int
- readInt(String, int, int) - Static method in class com.coti.tools.Esdia
-
This method give back an int between min and max after prompting with prompt
- readPathFromKeyboard(String) - Static method in class com.coti.tools.Esdia
-
This method prompts for a path and gives it back only if valid
- readString(String) - Static method in class com.coti.tools.Esdia
-
This methos gives back a string after prompting with prompt
- readString(String, String[]) - Static method in class com.coti.tools.Esdia
-
This method gives back on of the options passed in the second argument after prompting with the first
- readString(String, String, String) - Static method in class com.coti.tools.Esdia
-
This method give back either op1 or op2 after prompting with prompt
- readString_ne(String) - Static method in class com.coti.tools.Esdia
-
This methos gives back a non-empty string after promting with prompt
- readVectorD(int) - Static method in class com.coti.tools.OpVect
- readVectorF(int) - Static method in class com.coti.tools.OpVect
- readVectorI(int) - Static method in class com.coti.tools.OpVect
- Rutas - Class in com.coti.tools
-
Class Rutas creates instances of Path that point to the Desktop or Documents
folders, as well as to objects in these folders, and even to objects in folders
on Desktop or in Documents. - Rutas() - Constructor for class com.coti.tools.Rutas
S
- saveToDisk(File, double[][]) - Static method in class com.coti.tools.OpMat
-
This method writes an double[][] to disk, with binary format
- saveToDisk(File, float[][]) - Static method in class com.coti.tools.OpMat
-
This method writes a float[][] to disk, with binary format
- saveToDisk(File, int[][]) - Static method in class com.coti.tools.OpMat
-
This method writes an int[][] to disk, with binary format
- SC - Static variable in class com.coti.tools.Esdia
-
This class offers a number of static methods that simplify the construction of text-based programs.
- showFinalTime() - Static method in class com.coti.tools.DiaUtil
-
This method shows the time of invocation and the user name; it is normally called right before the program will finish.
- startTimer() - Static method in class com.coti.tools.DiaUtil
-
This method stores its time of invocation in variable starting time (ms)
- stopTimerAndPrintElapsedTimeMillis() - Static method in class com.coti.tools.DiaUtil
-
This method stores its time of invocation in variable stopping time (ms) and then prints the elapsed time since the last call to startTimer()
- sum(double[][], double[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the sum of its two double[][] arguments
- sum(float[][], float[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the sum of its two float[][] arguments
- sum(int[][], int[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the sum of its two int[][] arguments
- sumMainDiagonal(double[][]) - Static method in class com.coti.tools.OpMat
-
This method returns the sum of the items placed in the main diagonal for the given array.
T
- toString() - Method in class com.coti.tools.RandomDate
V
- vToS(double[]) - Static method in class com.coti.tools.OpVect
Y
- yesOrNo(String) - Static method in class com.coti.tools.Esdia
-
This method prompts for a boolean, allowing only "y" or "n" as input
All Classes All Packages