A C D E F G I J K L M P R S T U W

A

addDays(Date, int) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Add days to a date.
addHours(Date, int) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Add hours to a date.
addMinutes(Date, int) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Add minutes to a date.
addMonths(Date, int) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Add months to a date.
addSeconds(Date, int) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Add seconds to a date.
addWhiteSpaceToEnd(String, int) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
Adds whitespace to the end of given String
addYears(Date, int) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Add years to a date.
AHaHA2D - Class in com.mancrd.ahah.commons.spikes
An AHaHA2D instance is used to convert real-valued signals into a spike code.
AHaHA2D(int) - Constructor for class com.mancrd.ahah.commons.spikes.AHaHA2D
Constructor
AhahTree - Class in com.mancrd.ahah.commons.spikes
This class takes a spike code in an arbitrary dimension and converts it to a spike code in the given dimension R=2^depth.
AhahTree(int) - Constructor for class com.mancrd.ahah.commons.spikes.AhahTree
Constructor

C

com.mancrd.ahah.commons - package com.mancrd.ahah.commons
 
com.mancrd.ahah.commons.spikes - package com.mancrd.ahah.commons.spikes
 
com.mancrd.ahah.commons.utils - package com.mancrd.ahah.commons.utils
 
compareTo(LinkWeight) - Method in class com.mancrd.ahah.commons.LinkWeight
 
copy(String, String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
Copies src file to dst file.
createThumbnail(BufferedImage, int) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
Creates a Thumbnail of an image, maintaining the aspect ratio, and scaling the largest dimension to pSize
createTruncatedDate() - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Creates a current Date without timestamp
CSVUtils - Class in com.mancrd.ahah.commons.utils
 
CSVUtils() - Constructor for class com.mancrd.ahah.commons.utils.CSVUtils
 

D

DateUtils - Class in com.mancrd.ahah.commons.utils
 
deleteFile(String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
 
deserialize(File) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
 

E

encode(long[]) - Method in class com.mancrd.ahah.commons.spikes.AhahTree
 
encode(double[], int) - Method in class com.mancrd.ahah.commons.spikes.KNearestNeighbors
 
encode(T) - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 

F

fileExists(String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
Checks if a file exists
FileUtils - Class in com.mancrd.ahah.commons.utils
 
fillTransparentPixels(BufferedImage, Color) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
formatDate_MySQL(Date) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
 
formatDate_yyyyMMdd(Date) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
 
formatPercentage(double) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
Will convert a decimal to a percentage.
formatPrice(double) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
 

G

get(int) - Method in class com.mancrd.ahah.commons.spikes.AHaHA2D
 
getAll() - Method in class com.mancrd.ahah.commons.LRUCache
Returns a Collection that contains a copy of all cache entries.
getAllFileNames(String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
This method returns the names of all the files found in the given directory
getAllFileNames(String, String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
This method returns the names of all the files found in the given directory matching the given regular expression.
getAllFiles(String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
This method returns the Files found in the given directory
getAllFiles(String, String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
This method returns the files found in the given directory matching the given regular expression.
getAverage() - Method in class com.mancrd.ahah.commons.utils.RunningStat
 
getBufferedImageFromFile(File) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
Creates a BufferredImage give a File
getBufferedImageFromURL(String) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
Generates a BufferedImage from a given URL
getDateFromString(String, String) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Given a Date String and a format String, returns a Date Object
getDateSQLString(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
getDateTimeSQLString(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
getDifferenceInDays(Date, Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
getIdFromSpike(long) - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
getImageSizeWithoutFullDownload(URL, int) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
getJpegImageByteArray(BufferedImage, float) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
getLabel() - Method in class com.mancrd.ahah.commons.LinkWeight
 
getLabelString() - Method in class com.mancrd.ahah.commons.LinkWeight
 
getLastDayOfMonth(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
getLastDayOfPreviousMonth(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
getlRate() - Method in class com.mancrd.ahah.commons.spikes.AHaHA2D
 
getMap() - Method in class com.mancrd.ahah.commons.LRUCache
get the internal key/value (Signature/Lables) map of the CAM
getMD5(String) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
Get the MD5 hash of a String
getMD5Hash(BufferedImage) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
Generates a MD5 Hash for a given Bufferred Image
getNextBusinessDay(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
getNumBits(int) - Static method in class com.mancrd.ahah.commons.spikes.AHaHA2D
 
getOriginalSpikeIDFromComposite(long) - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
getPixelARGB(int) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
getPixelInt(int, int, int, int) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
getReverseMap() - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
getSpike() - Method in class com.mancrd.ahah.commons.LinkWeight
 
getSpikeLabel(int) - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
getSpikeLabel(long) - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
getSpikePatternSpace() - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
getSpikes(T) - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
abstract methods
getSpikeString() - Method in class com.mancrd.ahah.commons.LinkWeight
 
getStandardDeviation() - Method in class com.mancrd.ahah.commons.utils.RunningStat
 
getTimezoneDifference(String, String) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
getUniquePositiveID() - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
getWeight() - Method in class com.mancrd.ahah.commons.LinkWeight
 

I

ImageUtils - Class in com.mancrd.ahah.commons.utils
 
isFirstDayOfMonth(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Check if given date is the first of the month
isFull() - Method in class com.mancrd.ahah.commons.LRUCache
check if the CAM is full
isNear(Date, Date, int) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Checks if the first date is near to the second date within the number of days specified
isReassign() - Method in class com.mancrd.ahah.commons.LRUCache
Returns whether or not the last insert was an overwrite or not.
isSameDate(Date, Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Check if two Date objects are the same date
isSameDateTime(Date, Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
 
isToday(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Check if the given date is today

J

join(Collection<? extends Object>, String) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
Joins a collection of Objects separated by a specified separator

K

KNearestNeighbors - Class in com.mancrd.ahah.commons.spikes
 
KNearestNeighbors(int, int, double) - Constructor for class com.mancrd.ahah.commons.spikes.KNearestNeighbors
Constructor

L

LinkWeight - Class in com.mancrd.ahah.commons
 
LinkWeight(long, int, double) - Constructor for class com.mancrd.ahah.commons.LinkWeight
Constructor
LRUCache - Class in com.mancrd.ahah.commons
A specialized LRUCache where only keys are put into it.
LRUCache(int) - Constructor for class com.mancrd.ahah.commons.LRUCache
Constructor

M

maxSize() - Method in class com.mancrd.ahah.commons.LRUCache
check the max size of the CAM
mkDirIfNotExists(String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
Makes a dir, if it doesn't already exist

P

parseDateString_MySQL(String) - Static method in class com.mancrd.ahah.commons.utils.StringUtils
 
put(String) - Method in class com.mancrd.ahah.commons.LRUCache
Adds an entry to this cache.
put(double) - Method in class com.mancrd.ahah.commons.spikes.AHaHA2D
 
put(double) - Method in class com.mancrd.ahah.commons.utils.RunningStat
Incoming new values used to calculate the running statistics
putAndParse(double) - Method in class com.mancrd.ahah.commons.spikes.AHaHA2D
 

R

read(String) - Static method in class com.mancrd.ahah.commons.utils.CSVUtils
 
readFileFromClasspathToString(String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
Given a File from the classpath, return the content of the file as a String
readFileToString(String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
Given a path to a File, return the content of the file as a String
removeTimestamp(Date) - Static method in class com.mancrd.ahah.commons.utils.DateUtils
Removes the timestamp portion of a date
reset() - Method in class com.mancrd.ahah.commons.LRUCache
resets everything to new state
reverseLookup(Integer) - Method in class com.mancrd.ahah.commons.LRUCache
given a label, return the signature
RunningStat - Class in com.mancrd.ahah.commons.utils
RunningStat keeps track of running average and standard deviation values for incoming values
RunningStat() - Constructor for class com.mancrd.ahah.commons.utils.RunningStat
 

S

saveByteArrayToJpeg(byte[], String, String) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
saveImage(BufferedImage, String, String, String) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
saveJPG(BufferedImage, String, String) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
saveJPGWithQuality(BufferedImage, String, String, float) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
savePNG(BufferedImage, String, String) - Static method in class com.mancrd.ahah.commons.utils.ImageUtils
 
serialize(Object, String) - Static method in class com.mancrd.ahah.commons.utils.FileUtils
 
setLabelString(String) - Method in class com.mancrd.ahah.commons.LinkWeight
 
setlRate(double) - Method in class com.mancrd.ahah.commons.spikes.AHaHA2D
 
setSpikeLabel(List<LinkWeight>) - Method in class com.mancrd.ahah.commons.spikes.SpikeEncoder
 
setSpikeString(String) - Method in class com.mancrd.ahah.commons.LinkWeight
 
size() - Method in class com.mancrd.ahah.commons.LRUCache
Returns the number of used entries in the cache.
SpikeEncoder<T> - Class in com.mancrd.ahah.commons.spikes
 
SpikeEncoder() - Constructor for class com.mancrd.ahah.commons.spikes.SpikeEncoder
Constructor
StringUtils - Class in com.mancrd.ahah.commons.utils
This class performs various tasks on Strings

T

toString() - Method in class com.mancrd.ahah.commons.LinkWeight
 
toString() - Method in class com.mancrd.ahah.commons.LRUCache
 

U

update(long[], StringBuffer) - Method in class com.mancrd.ahah.commons.spikes.AhahTree
 

W

writeCSVRows(List<List<? extends Object>>, String, String) - Static method in class com.mancrd.ahah.commons.utils.CSVUtils
 

A C D E F G I J K L M P R S T U W

Copyright © 2013–2014 M. Alexander Nugent Consulting, Research and Devlopment. All rights reserved.