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

A

AbstractCommandLineInterface - Class in it.cnr.isti.hpc.cli
AbtractCommandLineInterface provides facilities to create command line interface classes (CLI).
AbstractCommandLineInterface() - Constructor for class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Do not use this costructor
AbstractCommandLineInterface(String[]) - Constructor for class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Default costructor
AbstractCommandLineInterface(String[], String[]) - Constructor for class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
 
AbstractCommandLineInterface(String[], String[], String) - Constructor for class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
 
addProperty(String, String) - Method in class it.cnr.isti.hpc.net.FakeBrowser
Adds a property to the request (e.g., a cookie..)
addProxy(String, int) - Method in class it.cnr.isti.hpc.net.proxy.ProxyList
Add a proxy.
addProxy(String, int, Proxy.Type) - Method in class it.cnr.isti.hpc.net.proxy.ProxyList
Add a proxy.

B

BaseItemReader<T extends Item> - Class in it.cnr.isti.hpc.io.reader
Deprecated.
BaseItemReader(String, T) - Constructor for class it.cnr.isti.hpc.io.reader.BaseItemReader
Deprecated.
 

C

clazz - Variable in class it.cnr.isti.hpc.io.reader.JsonRecordParser
 
clear() - Method in class it.cnr.isti.hpc.structure.LRUCache
Clears the cache.
closeInput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Closes the input file, terminates the cli if an error occurs.
closeInputAndOuput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Closes both input and output file, terminates the cli if an error occurs.
closeOutput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Closes the output file, terminates the cli if an error occurs.
containsKey(K) - Method in class it.cnr.isti.hpc.structure.LRUCache
 

D

decode(String) - Method in class it.cnr.isti.hpc.io.reader.JsonRecordParser
 
decode(String) - Method in interface it.cnr.isti.hpc.io.reader.RecordParser
Deserializes the object from a string
decode(String) - Method in class it.cnr.isti.hpc.io.reader.TsvRecordParser
 
DEFAULT_NAME - Static variable in class it.cnr.isti.hpc.property.ProjectProperties
The default property file
dump(Object, String) - Method in class it.cnr.isti.hpc.io.Serializer
serializes an object (serializable) on a file
It terminates the execution in case of any type of error.

E

encode(E) - Method in class it.cnr.isti.hpc.io.reader.JsonRecordParser
 
encode(E) - Method in interface it.cnr.isti.hpc.io.reader.RecordParser
Serializes the object in a string (the string must not contain newlines!)
encode(TsvTuple) - Method in class it.cnr.isti.hpc.io.reader.TsvRecordParser
 
equals(Object) - Method in class it.cnr.isti.hpc.benchmark.Stopwatch.SingleStopwatch
 

F

FakeBrowser - Class in it.cnr.isti.hpc.net
Simulates a Firefox browser in order to send queries to google/wikipedia...
FakeBrowser() - Constructor for class it.cnr.isti.hpc.net.FakeBrowser
 
fetch(URL) - Method in class it.cnr.isti.hpc.net.FakeBrowser
Fetches the url and returns a reader with the content of the page.
fetch(String) - Method in class it.cnr.isti.hpc.net.FakeBrowser
Fetches the url and returns a reader with the content of the page.
fetch(URL) - Method in class it.cnr.isti.hpc.net.proxy.ProxyUtil
Fetches the url and returns a reader with the content of the page.
fetchAsString(String) - Method in class it.cnr.isti.hpc.net.FakeBrowser
Fetches the url and returns a string with the content of the page.
filter(Filter<T>...) - Method in class it.cnr.isti.hpc.io.reader.BaseItemReader
Deprecated.
 
Filter<T> - Interface in it.cnr.isti.hpc.io.reader
A Filter object fiRecordReader.
filter(Filter<T>...) - Method in interface it.cnr.isti.hpc.io.reader.ItemReader
Deprecated.
 
filter(Filter<E>...) - Method in class it.cnr.isti.hpc.io.reader.RecordReader
Add one Filter or more to the reader, only objects that do not match any filter will be returned.
flush() - Method in class it.cnr.isti.hpc.parallel.ThreadPool
Performs the flush everytime a thread writes something (for debugging)
FunctionToExec - Interface in it.cnr.isti.hpc.parallel
The function that a thread pool has to exec.

G

get(String) - Method in class it.cnr.isti.hpc.io.reader.TsvTuple
Gets a value.
get(String) - Method in class it.cnr.isti.hpc.property.ProjectProperties
Gets a property
get(K) - Method in class it.cnr.isti.hpc.structure.LRUCache
Retrieves an entry from the cache.
The retrieved entry becomes the MRU (most recently used) entry.
getAll() - Method in class it.cnr.isti.hpc.structure.LRUCache
Returns a Collection that contains a copy of all cache entries.
getDouble(String) - Method in class it.cnr.isti.hpc.io.reader.TsvTuple
Gets an double value.
getDouble(String) - Method in class it.cnr.isti.hpc.property.ProjectProperties
Gets a int property
getDoubleParam(String) - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Returns the double value of a particular parameter
getFileAsString(String) - Static method in class it.cnr.isti.hpc.io.IOUtils
Open a file and returns a string containing the content of the file
It terminates the execution in case of any type of error.
getFileAsUTF8String(String) - Static method in class it.cnr.isti.hpc.io.IOUtils
Returns a list where each element is a line of the UTF8 file
It terminates the execution in case of any type of error.
getInput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Returns the input filename.
getInstance() - Static method in class it.cnr.isti.hpc.net.proxy.ProxyList
Returns an instance of proxylist.
getInt(String) - Method in class it.cnr.isti.hpc.io.reader.TsvTuple
Gets an int value.
getInt(String) - Method in class it.cnr.isti.hpc.property.ProjectProperties
Gets a int property
getIntParam(String) - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Returns the int value of a particular parameter
getLines(String) - Static method in class it.cnr.isti.hpc.io.IOUtils
Returns a list where each element is a line of the file
It terminates the execution in case of any type of error.
getOutput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Returns the output filename.
getParam(String) - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Returns the value of a particular parameter
getPlainOrCompressedReader(String) - Static method in class it.cnr.isti.hpc.io.IOUtils
Opens a file.
getPlainOrCompressedUTF8Reader(String) - Static method in class it.cnr.isti.hpc.io.IOUtils
Opens an UTF8 file.
getPlainOrCompressedUTF8Writer(String) - Static method in class it.cnr.isti.hpc.io.IOUtils
Opens a UTF8 file for writing.
getPlainOrCompressedWriter(String) - Static method in class it.cnr.isti.hpc.io.IOUtils
Opens a file for writing.
getProxy() - Method in class it.cnr.isti.hpc.net.proxy.ProxyList
Returns the next proxy.
getUsage() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Returns the usage message.
gson - Static variable in class it.cnr.isti.hpc.io.reader.JsonRecordParser
 

H

has(String) - Method in class it.cnr.isti.hpc.property.ProjectProperties
Checks if the a property is defined
Hash - Interface in it.cnr.isti.hpc.hash
Hash.java
hash(Object) - Method in interface it.cnr.isti.hpc.hash.Hash
 
hash(byte[]) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
 
hash(long[]) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
Hashes a byte array efficiently.
hash(int) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
 
hash(Object) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
 
hashCode() - Method in class it.cnr.isti.hpc.benchmark.Stopwatch.SingleStopwatch
 
hashLong(Object) - Method in interface it.cnr.isti.hpc.hash.Hash
 
hashLong(byte[]) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
 
hashLong(long[]) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
 
hashLong(long) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
 
hashLong(Object) - Method in class it.cnr.isti.hpc.hash.MurmurHash3
 
hitRate() - Method in class it.cnr.isti.hpc.structure.LRUCache
 

I

INPUT - Static variable in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Default name for the input file
instance - Static variable in class it.cnr.isti.hpc.net.proxy.ProxyList
 
IntArrayString - Class in it.cnr.isti.hpc.text
IntArrayString.java
IntArrayString() - Constructor for class it.cnr.isti.hpc.text.IntArrayString
 
IntArrayString(boolean) - Constructor for class it.cnr.isti.hpc.text.IntArrayString
 
IOUtils - Class in it.cnr.isti.hpc.io
Utilities to manage files.
IOUtils() - Constructor for class it.cnr.isti.hpc.io.IOUtils
 
is(String) - Method in class it.cnr.isti.hpc.property.ProjectProperties
Gets a boolean property
isFilter(T) - Method in interface it.cnr.isti.hpc.io.reader.Filter
Returns true if the item has to be filter, false otherwise
it.cnr.isti.hpc.benchmark - package it.cnr.isti.hpc.benchmark
 
it.cnr.isti.hpc.cli - package it.cnr.isti.hpc.cli
 
it.cnr.isti.hpc.hash - package it.cnr.isti.hpc.hash
 
it.cnr.isti.hpc.io - package it.cnr.isti.hpc.io
 
it.cnr.isti.hpc.io.reader - package it.cnr.isti.hpc.io.reader
 
it.cnr.isti.hpc.log - package it.cnr.isti.hpc.log
 
it.cnr.isti.hpc.net - package it.cnr.isti.hpc.net
 
it.cnr.isti.hpc.net.proxy - package it.cnr.isti.hpc.net.proxy
 
it.cnr.isti.hpc.parallel - package it.cnr.isti.hpc.parallel
 
it.cnr.isti.hpc.property - package it.cnr.isti.hpc.property
 
it.cnr.isti.hpc.structure - package it.cnr.isti.hpc.structure
 
it.cnr.isti.hpc.text - package it.cnr.isti.hpc.text
 
Item - Interface in it.cnr.isti.hpc.io.reader
Deprecated.
ItemReader<T extends Item> - Interface in it.cnr.isti.hpc.io.reader
Deprecated.
iterator() - Method in class it.cnr.isti.hpc.io.reader.BaseItemReader
Deprecated.
 
iterator() - Method in class it.cnr.isti.hpc.io.reader.RecordReader
 

J

JsonRecordParser<E> - Class in it.cnr.isti.hpc.io.reader
A Json RecordParser}, serializes and deserializes a an object E to json string.
JsonRecordParser(Class<E>) - Constructor for class it.cnr.isti.hpc.io.reader.JsonRecordParser
 

L

load(String) - Method in class it.cnr.isti.hpc.io.Serializer
deserialize an object from a file
LRUCache<K,V> - Class in it.cnr.isti.hpc.structure
An LRU cache, based on LinkedHashMap.
LRUCache(int) - Constructor for class it.cnr.isti.hpc.structure.LRUCache
Creates a new LRU cache.

M

main(String[]) - Static method in class it.cnr.isti.hpc.benchmark.Stopwatch
 
MurmurHash3 - Class in it.cnr.isti.hpc.hash
MurmurHash3 implementation in Java, based on Austin Appleby's original in C Only implementing x64 version, because this should always be faster on 64 bit native processors, even 64 bit being ran with a 32 bit OS; this should also be as fast or faster than the x86 version on some modern 32 bit processors.
MurmurHash3() - Constructor for class it.cnr.isti.hpc.hash.MurmurHash3
 
MurmurHash3_x64_128(byte[], int) - Static method in class it.cnr.isti.hpc.hash.MurmurHash3
Hash a value using the x64 128 bit variant of MurmurHash3
MurmurHash3_x64_128(long[], int) - Static method in class it.cnr.isti.hpc.hash.MurmurHash3
Hash a value using the x64 128 bit variant of MurmurHash3
MurmurHash3_x64_32(byte[], int) - Static method in class it.cnr.isti.hpc.hash.MurmurHash3
Hash a value using the x64 32 bit variant of MurmurHash3
MurmurHash3_x64_32(long[], int) - Static method in class it.cnr.isti.hpc.hash.MurmurHash3
Hash a value using the x64 32 bit variant of MurmurHash3
MurmurHash3_x64_64(byte[], int) - Static method in class it.cnr.isti.hpc.hash.MurmurHash3
Hash a value using the x64 64 bit variant of MurmurHash3
MurmurHash3_x64_64(long[], int) - Static method in class it.cnr.isti.hpc.hash.MurmurHash3
Hash a value using the x64 64 bit variant of MurmurHash3

O

openInput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Opens the file given in input, if the file ends with .gz, it uses a compressed reader.
openInputAndOutput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Opens both input and output, terminates the cli if an error occurs.
openOutput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Open the file given in output, if the file ends with .gz, it uses a compressed writer.
OUTPUT - Static variable in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Default name for the output file

P

params - Variable in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
 
parse(String) - Method in interface it.cnr.isti.hpc.io.reader.Item
Deprecated.
 
ProgressLogger - Class in it.cnr.isti.hpc.log
A progress logger, print a configurable message when a the method
ProgressLogger() - Constructor for class it.cnr.isti.hpc.log.ProgressLogger
Creates a progress logger, the print frequency is initialized using the system property logat.
ProgressLogger(int) - Constructor for class it.cnr.isti.hpc.log.ProgressLogger
Creates a progress logger.
ProgressLogger(String, int) - Constructor for class it.cnr.isti.hpc.log.ProgressLogger
Creates a progress logger.
ProgressLogger(String) - Constructor for class it.cnr.isti.hpc.log.ProgressLogger
Creates a progress logger.
ProjectProperties - Class in it.cnr.isti.hpc.property
ProjectProperties wraps project properties to open the file and return properties.
ProjectProperties(String) - Constructor for class it.cnr.isti.hpc.property.ProjectProperties
Loads the properties
ProjectProperties(Class) - Constructor for class it.cnr.isti.hpc.property.ProjectProperties
Loads the properties from the resources.
ProjectProperties(File) - Constructor for class it.cnr.isti.hpc.property.ProjectProperties
Loads the properties
ProjectProperties(InputStream) - Constructor for class it.cnr.isti.hpc.property.ProjectProperties
Loads the properties
ProjectProperties(Reader) - Constructor for class it.cnr.isti.hpc.property.ProjectProperties
Loads the properties
ProxyList - Class in it.cnr.isti.hpc.net.proxy
A proxy list, useful to run queries against websites and avoid to be blacklisted.
ProxyUtil - Class in it.cnr.isti.hpc.net.proxy
Fetches webpages using a list of proxies.
ProxyUtil() - Constructor for class it.cnr.isti.hpc.net.proxy.ProxyUtil
 
put(String, String) - Method in class it.cnr.isti.hpc.io.reader.TsvTuple
Set a value
put(K, V) - Method in class it.cnr.isti.hpc.structure.LRUCache
Adds an entry to this cache.

R

readLineFromInput() - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Reads the next line on the inputfile, if the file ends returns null.
RecordParser<E> - Interface in it.cnr.isti.hpc.io.reader
A RecordParser serializes and deserialize an object E to a string (without newlines).
RecordReader<E> - Class in it.cnr.isti.hpc.io.reader
A RecordReader abstracts a collection of objects on a file.
RecordReader(String, RecordParser<E>) - Constructor for class it.cnr.isti.hpc.io.reader.RecordReader
Creates the record reader, it will be possible to iterate on the object serialized on the file inputFile.
RecordReader(String, Class<E>) - Constructor for class it.cnr.isti.hpc.io.reader.RecordReader
Creates the record reader, it will be possible to iterate on the object serialized on the file inputFile.
run(String) - Method in interface it.cnr.isti.hpc.parallel.FunctionToExec
The function that a thread in the thread pool has to exec.
run() - Method in class it.cnr.isti.hpc.parallel.ThreadPool
Starts the threads.

S

Serializer - Class in it.cnr.isti.hpc.io
Facilities for serializing and deserializing objects on/from files.
Serializer() - Constructor for class it.cnr.isti.hpc.io.Serializer
 
set(String, String) - Method in class it.cnr.isti.hpc.property.ProjectProperties
Sets a property
setOutputFile(String) - Method in class it.cnr.isti.hpc.parallel.ThreadPool
Sets the output file name.
setOutputFolder(String) - Method in class it.cnr.isti.hpc.parallel.ThreadPool
Sets the output folder.
setThreadSleepTime(long) - Method in class it.cnr.isti.hpc.parallel.ThreadPool
Sets thread sleep time
setUsage(String) - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Sets the usage message.
start() - Method in class it.cnr.isti.hpc.benchmark.Stopwatch.SingleStopwatch
Starts the stopwatch
start(String) - Method in class it.cnr.isti.hpc.benchmark.Stopwatch
Starts a stopwatch with symbolic name 'name'
stat() - Method in class it.cnr.isti.hpc.benchmark.Stopwatch.SingleStopwatch
Returns a string containing the stats for this stopwatch (name, total time, average time per call)
stat(String) - Method in class it.cnr.isti.hpc.benchmark.Stopwatch
Returns a string containing the benchmark for the stopwatch 'name'
stat() - Method in class it.cnr.isti.hpc.benchmark.Stopwatch
Returns a string with all the benchmarks for all the stopwatches started
stop() - Method in class it.cnr.isti.hpc.benchmark.Stopwatch.SingleStopwatch
Stops the stopwatch
stop(String) - Method in class it.cnr.isti.hpc.benchmark.Stopwatch
Stops a stopwatch with symbolic name 'name'
Stopwatch - Class in it.cnr.isti.hpc.benchmark
A pool of stopwatches, useful for benchmarking code.
Stopwatch() - Constructor for class it.cnr.isti.hpc.benchmark.Stopwatch
 
Stopwatch.SingleStopwatch - Class in it.cnr.isti.hpc.benchmark
A single stopwatch.
Stopwatch.SingleStopwatch(String) - Constructor for class it.cnr.isti.hpc.benchmark.Stopwatch.SingleStopwatch
 
SYSTEM_PROPERTY - Static variable in class it.cnr.isti.hpc.property.ProjectProperties
System property

T

ThreadPool - Class in it.cnr.isti.hpc.parallel
ThreadPool allows to run a simple job in parallel using a pool of threads.
ThreadPool(int, String, FunctionToExec) - Constructor for class it.cnr.isti.hpc.parallel.ThreadPool
Creates the thread pull.
toArray(String) - Method in class it.cnr.isti.hpc.text.IntArrayString
 
toString(List<Integer>) - Method in class it.cnr.isti.hpc.text.IntArrayString
 
toString(Integer[]) - Method in class it.cnr.isti.hpc.text.IntArrayString
 
totalStopwatchesTime - Variable in class it.cnr.isti.hpc.benchmark.Stopwatch
 
TsvRecordParser - Class in it.cnr.isti.hpc.io.reader
A Tab Separated Values file reader RecordParser, serializes and deserializes an object E to tsv string.
TsvRecordParser(String...) - Constructor for class it.cnr.isti.hpc.io.reader.TsvRecordParser
Creates a Tsv Record Reader, reading a list of fields separated by the delimeter symbol.
TsvTuple - Class in it.cnr.isti.hpc.io.reader
A TsvTuple containing the fields parsed by a line encoded with tab separated values.
TsvTuple() - Constructor for class it.cnr.isti.hpc.io.reader.TsvTuple
Creates a tuple object.

U

up() - Method in class it.cnr.isti.hpc.log.ProgressLogger
Updates the progress status and print a line base on logFrequency;
usage - Variable in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Default usage string, overwrite it to change the message
usedEntries() - Method in class it.cnr.isti.hpc.structure.LRUCache
Returns the number of used entries in the cache.
useOnlyOneOutputFile() - Method in class it.cnr.isti.hpc.parallel.ThreadPool
Uses only one output file.

W

writeInOutput(String) - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Writes text in the output file.
writeLineInOutput(String) - Method in class it.cnr.isti.hpc.cli.AbstractCommandLineInterface
Writes a line in the output file.
A B C D E F G H I J L M O P R S T U W 

Copyright © 2013. All rights reserved.