Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W X 

A

accept(SelectionKey) - Method in class at.chrl.nutils.network.Acceptor
Method called by Accept Dispatcher Selector when socket
connects to ServerSocketChannel listening for connections.
AcceptDispatcherImpl - Class in at.chrl.nutils.network
This is implementation of Dispatcher that may only accept connections.
AcceptDispatcherImpl(String) - Constructor for class at.chrl.nutils.network.AcceptDispatcherImpl
Constructor that accept String name as parameter.
Acceptor - Class in at.chrl.nutils.network
This class represents an Acceptor that will accept sockets
connections dispatched by Accept Dispatcher.
AcceptReadWriteDispatcherImpl - Class in at.chrl.nutils.network
This is implementation of Dispatcher that may accept connections, read and write data.
AcceptReadWriteDispatcherImpl(String, Executor) - Constructor for class at.chrl.nutils.network.AcceptReadWriteDispatcherImpl
Constructor that accept String name and DisconnectionThreadPool dcPool as parameter.
AConnection - Class in at.chrl.nutils.network
Class that represent Connection with server socket.
AConnection(SocketChannel, Dispatcher) - Constructor for class at.chrl.nutils.network.AConnection
Constructor
add(Object[], Object) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(boolean[], boolean) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(byte[], byte) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(char[], char) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(double[], double) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(float[], float) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(int[], int) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(long[], long) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(short[], short) - Static method in class at.chrl.nutils.ArrayUtils
Copies the given array and adds the given element at the end of the new array.
add(Object[], int, Object) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(char[], int, char) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(byte[], int, byte) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(short[], int, short) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(int[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(long[], int, long) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(float[], int, float) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(double[], int, double) - Static method in class at.chrl.nutils.ArrayUtils
Inserts the specified element at the specified position in the array.
add(E) - Method in interface at.chrl.nutils.interfaces.INestedCollection
addAll(T[], T[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(boolean[], boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(char[], char[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(byte[], byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(short[], short[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(int[], int[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(long[], long[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(float[], float[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(double[], double[]) - Static method in class at.chrl.nutils.ArrayUtils
Adds all the elements of the given arrays into a new array.
addAll(Collection<? extends E>) - Method in interface at.chrl.nutils.interfaces.INestedCollection
addElement(Map.Entry<K, V>) - Method in class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePairContainer
 
addExclusion(Class<?>) - Method in class at.chrl.nutils.DatasetGenerator
 
addToQueue(T...) - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
addToQueue(Iterable<T>) - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
AionRejectedExecutionHandler - Class in at.chrl.nutils.concurrent
 
AionRejectedExecutionHandler() - Constructor for class at.chrl.nutils.concurrent.AionRejectedExecutionHandler
 
ArrayParser - Class in at.chrl.utils
 
ArrayParser() - Constructor for class at.chrl.utils.ArrayParser
 
ArrayUtils - Class in at.chrl.nutils
 
ArrayUtils() - Constructor for class at.chrl.nutils.ArrayUtils
ArrayUtils instances should NOT be constructed in standard programming.
Assertion - Class in at.chrl.nutils.network.options
Class with public static final booleans indicating parts of this "project" where assertion should be enabled.
Assertion() - Constructor for class at.chrl.nutils.network.options.Assertion
 
at.chrl.algorithms.search - package at.chrl.algorithms.search
 
at.chrl.logging - package at.chrl.logging
 
at.chrl.nutils - package at.chrl.nutils
 
at.chrl.nutils.concurrent - package at.chrl.nutils.concurrent
 
at.chrl.nutils.interfaces - package at.chrl.nutils.interfaces
 
at.chrl.nutils.ncrypt - package at.chrl.nutils.ncrypt
 
at.chrl.nutils.network - package at.chrl.nutils.network
 
at.chrl.nutils.network.options - package at.chrl.nutils.network.options
 
at.chrl.nutils.network.packet - package at.chrl.nutils.network.packet
 
at.chrl.nutils.network.util - package at.chrl.nutils.network.util
 
at.chrl.nutils.streams - package at.chrl.nutils.streams
 
at.chrl.nutils.xml - package at.chrl.nutils.xml
 
at.chrl.utils - package at.chrl.utils
 
at.chrl.utils.patterns - package at.chrl.utils.patterns
 
at.chrl.utils.TaskExecutor - package at.chrl.utils.TaskExecutor
 
at.chrl.utils.ThresholdTimeout - package at.chrl.utils.ThresholdTimeout
 

B

Base64 - Class in at.chrl.nutils
A very fast and memory efficient class to encode and decode to and from BASE64 in full accordance with RFC 2045.
Base64() - Constructor for class at.chrl.nutils.Base64
 
BaseClientPacket<T extends AConnection> - Class in at.chrl.nutils.network.packet
Base class for every Client Packet
BaseClientPacket(ByteBuffer, int) - Constructor for class at.chrl.nutils.network.packet.BaseClientPacket
Constructs a new client packet with specified id and data buffer.
BaseClientPacket(int) - Constructor for class at.chrl.nutils.network.packet.BaseClientPacket
Constructs a new client packet with specified id.
BasePacket - Class in at.chrl.nutils.network.packet
Basic superclass for packets.
BasePacket(BasePacket.PacketType, int) - Constructor for class at.chrl.nutils.network.packet.BasePacket
Constructs a new packet with specified type and id.
BasePacket(BasePacket.PacketType) - Constructor for class at.chrl.nutils.network.packet.BasePacket
Constructs a new packet with given type.
BasePacket.PacketType - Enum in at.chrl.nutils.network.packet
Enumeration of packet types.
BaseServerPacket - Class in at.chrl.nutils.network.packet
Base class for every Server Packet
BaseServerPacket(int) - Constructor for class at.chrl.nutils.network.packet.BaseServerPacket
Constructs a new server packet with specified id.
BaseServerPacket() - Constructor for class at.chrl.nutils.network.packet.BaseServerPacket
Constructs a new server packet.
BlowfishCipher - Class in at.chrl.nutils.ncrypt
Blowfish Cipher - symmetric 16-round cipher, uses 64-bit blocks, 32-448 key size and key-dependend 32-bit four S-boxes
BlowfishCipher(byte[]) - Constructor for class at.chrl.nutils.ncrypt.BlowfishCipher
Default constructor.

C

cancel(boolean) - Method in class at.chrl.nutils.concurrent.ScheduledFutureWrapper
Just make sure to avoid wrong usage of Future.cancel(true).
capacity(int) - Static method in class at.chrl.nutils.CollectionUtils
Returns a capacity that is sufficient to keep the map from being resized as long as it grows no larger than expectedSize and the load factor is >= its default (0.75).
chance(int) - Static method in class at.chrl.nutils.Rnd
 
chance(double) - Static method in class at.chrl.nutils.Rnd
 
checkIPMatching(String, String) - Static method in class at.chrl.nutils.NetworkUtils
check if IP address match pattern
chopped(List<T>, int) - Static method in class at.chrl.nutils.CollectionUtils
 
cipher(byte[]) - Method in class at.chrl.nutils.ncrypt.BlowfishCipher
Cipher the given byte-array with Blowfish cipher
cipher(byte[], int, int) - Method in class at.chrl.nutils.ncrypt.BlowfishCipher
Cipher the given byte-array with Blowfish cipher
ClassFinder - Class in at.chrl.utils
Deprecated.
ClassFinder() - Constructor for class at.chrl.utils.ClassFinder
Deprecated.
 
ClassUtils - Class in at.chrl.nutils
This class contains utilities that are used when we are working with classes
ClassUtils() - Constructor for class at.chrl.nutils.ClassUtils
 
clear() - Method in interface at.chrl.nutils.interfaces.INestedCollection
clear() - Method in interface at.chrl.nutils.interfaces.INestedMap
 
clearExclusions() - Method in class at.chrl.nutils.DatasetGenerator
 
clone(Object[]) - Static method in class at.chrl.nutils.ArrayUtils
Shallow clones an array returning a typecast result and handling null.
clone(long[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(int[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(short[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(char[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(double[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(float[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
clone(boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Clones an array returning a typecast result and handling null.
close(boolean) - Method in class at.chrl.nutils.network.AConnection
Connection will be closed at some time [by Dispatcher Thread], after that onDisconnect() method will be called to clear all other things.
closeConnectionImpl(AConnection) - Method in class at.chrl.nutils.network.Dispatcher
Connection will be closed [onlyClose()] and onDisconnect() method will be executed on another thread [DisconnectionThreadPool] after getDisconnectionDelay() time in ms.
closed - Variable in class at.chrl.nutils.network.AConnection
True if this connection is already closed.
CODE_ERROR - Static variable in class at.chrl.nutils.ExitCode
Indicates that error happened in server and it's need to shutdown.
CODE_NORMAL - Static variable in class at.chrl.nutils.ExitCode
Indicates that server successfully finished it's work
CODE_RESTART - Static variable in class at.chrl.nutils.ExitCode
Indicates that server successfully finished it's work and should be restarted
CollectionUtils - Class in at.chrl.nutils
 
compareTo(T, T, Function<T, ? extends Comparable<?>>...) - Static method in class at.chrl.nutils.ClassUtils
Helper function to implement compare interfaces
compareTo(Delayed) - Method in class at.chrl.nutils.concurrent.ScheduledFutureWrapper
 
compareTo(Task) - Method in class at.chrl.utils.TaskExecutor.Task
connect() - Method in class at.chrl.nutils.network.NioServer
 
ConnectionFactory - Interface in at.chrl.nutils.network
This interface defines a factory for connection implementations.
connectionName - Variable in class at.chrl.nutils.network.ServerCfg
Connection Name only for logging purposes.
Constants - Class in at.chrl.nutils
 
Constants() - Constructor for class at.chrl.nutils.Constants
 
contains(Object[], Object) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the object is in the given array.
contains(long[], long) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(int[], int) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(short[], short) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(char[], char) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(byte[], byte) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(double[], double) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(double[], double, double) - Static method in class at.chrl.nutils.ArrayUtils
Checks if a value falling within the given tolerance is in the given array.
contains(float[], float) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(boolean[], boolean) - Static method in class at.chrl.nutils.ArrayUtils
Checks if the value is in the given array.
contains(Object) - Method in interface at.chrl.nutils.interfaces.INestedCollection
contains(String) - Static method in class at.chrl.nutils.SystemPropertyUtil
Returns true if and only if the system property with the specified key exists.
containsAll(Collection<?>) - Method in interface at.chrl.nutils.interfaces.INestedCollection
containsKey(Object) - Method in interface at.chrl.nutils.interfaces.INestedMap
 
containsValue(Object) - Method in interface at.chrl.nutils.interfaces.INestedMap
 
countMatches(String, char) - Static method in class at.chrl.utils.StringUtils
Counts matches of given Char "matchMe" in given String s
countMatches(String, String) - Static method in class at.chrl.utils.StringUtils
 
create(SocketChannel, Dispatcher) - Method in interface at.chrl.nutils.network.ConnectionFactory
Create a new AConnection instance.
createHash(String) - Static method in class at.chrl.nutils.PasswordHash
Returns a salted PBKDF2 hash of the password.
createHash(char[]) - Static method in class at.chrl.nutils.PasswordHash
Returns a salted PBKDF2 hash of the password.
createOutput(String, String) - Method in class at.chrl.nutils.xml.StringSchemaOutputResolver
 
CryptEngine - Class in at.chrl.nutils.ncrypt
Crypto engine for ecnrypting/decrypting packets, error handling and verifying checksum
CryptEngine() - Constructor for class at.chrl.nutils.ncrypt.CryptEngine
Default constructor.

D

DatasetGenerator - Class in at.chrl.nutils
Dataset generator NOT SUPPORTED: arrays of primtives | multimaps
DatasetGenerator() - Constructor for class at.chrl.nutils.DatasetGenerator
 
DeadLockDetector - Class in at.chrl.nutils.network.util
 
DeadLockDetector(int, byte) - Constructor for class at.chrl.nutils.network.util.DeadLockDetector
Create new DeadLockDetector with given values.
DEBUG - Variable in class at.chrl.logging.Logger
 
debug(Object, Throwable...) - Method in class at.chrl.logging.Logger
 
decipher(byte[]) - Method in class at.chrl.nutils.ncrypt.BlowfishCipher
Decipher the given byte-array with Blowfish cipher
decipher(byte[], int, int) - Method in class at.chrl.nutils.ncrypt.BlowfishCipher
Decipher the given byte-array with Blowfish cipher
decode(char[]) - Static method in class at.chrl.nutils.Base64
Decodes a BASE64 encoded char array.
decode(byte[]) - Static method in class at.chrl.nutils.Base64
Decodes a BASE64 encoded byte array.
decode(String) - Static method in class at.chrl.nutils.Base64
Decodes a BASE64 encoded String.
decodeFast(char[]) - Static method in class at.chrl.nutils.Base64
Decodes a BASE64 encoded char array that is known to be resonably well formatted.
decodeFast(byte[]) - Static method in class at.chrl.nutils.Base64
Decodes a BASE64 encoded byte array that is known to be resonably well formatted.
decodeFast(String) - Static method in class at.chrl.nutils.Base64
Decodes a BASE64 encoded string that is known to be resonably well formatted.
decrypt(byte[], int, int) - Method in class at.chrl.nutils.ncrypt.CryptEngine
Decrypt given data
deserialize(String, Class<T>) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
deserialize(String, Class<T>, URL) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
deserialize(String, Class<T>, String) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
deserialize(Document, Class<T>, String) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
deserialize(String, Class<T>, Schema) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
DisconnectionTask - Class in at.chrl.nutils.network
Disconnection Task that will be execute on DisconnectionThreadPool
DisconnectionTask(AConnection) - Constructor for class at.chrl.nutils.network.DisconnectionTask
Construct DisconnectionTask
DisconnectionThreadPool - Interface in at.chrl.nutils.network
DisconnectionThreadPool that will be used to execute DisconnectionTask
Dispatcher - Class in at.chrl.nutils.network
Dispatcher that dispatch SelectionKeys set selected by Selector.
Dispatcher(String, Executor) - Constructor for class at.chrl.nutils.network.Dispatcher
Constructor.
dumpClassStats() - Static method in class at.chrl.nutils.concurrent.RunnableStatsManager
 
dumpClassStats(RunnableStatsManager.SortBy) - Static method in class at.chrl.nutils.concurrent.RunnableStatsManager
 

E

EMPTY_BOOLEAN_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable boolean array.
EMPTY_BOOLEAN_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Boolean array.
EMPTY_BYTE_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable byte array.
EMPTY_BYTE_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Byte array.
EMPTY_CHAR_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable char array.
EMPTY_CHARACTER_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Character array.
EMPTY_CLASS_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Class array.
EMPTY_DOUBLE_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable double array.
EMPTY_DOUBLE_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Double array.
EMPTY_FLOAT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable float array.
EMPTY_FLOAT_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Float array.
EMPTY_INT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable int array.
EMPTY_INTEGER_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Integer array.
EMPTY_LONG_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable long array.
EMPTY_LONG_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Long array.
EMPTY_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Object array.
EMPTY_SHORT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable short array.
EMPTY_SHORT_OBJECT_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable Short array.
EMPTY_STRING_ARRAY - Static variable in class at.chrl.nutils.ArrayUtils
An empty immutable String array.
enableWriteInterest() - Method in class at.chrl.nutils.network.AConnection
Notify Dispatcher Selector that we want write some data here.
encodeToByte(byte[], boolean) - Static method in class at.chrl.nutils.Base64
Encodes a raw byte array into a BASE64 byte[] representation i accordance with RFC 2045.
encodeToChar(byte[], boolean) - Static method in class at.chrl.nutils.Base64
Encodes a raw byte array into a BASE64 char[] representation i accordance with RFC 2045.
encodeToString(byte[], boolean) - Static method in class at.chrl.nutils.Base64
Encodes a raw byte array into a BASE64 String representation i accordance with RFC 2045.
encrypt(byte[], int, int) - Method in class at.chrl.nutils.ncrypt.CryptEngine
Encrypt given data
EncryptedRSAKeyPair - Class in at.chrl.nutils.ncrypt
This class is for storing standard RSA Public/Static keyPairs The main difference that N (Modulus) is encrypted to be transfered on the net with simple scrambling algorythm.
EncryptedRSAKeyPair(KeyPair) - Constructor for class at.chrl.nutils.ncrypt.EncryptedRSAKeyPair
Default constructor.
entrySet() - Method in interface at.chrl.nutils.interfaces.INestedMap
 
equals(T, Object, Function<T, ?>...) - Static method in class at.chrl.nutils.ClassUtils
Helper function to implement equals by given getter functions
equals(Object) - Method in class at.chrl.nutils.network.IPRange
Equals of IPRange object.
ERROR - Variable in class at.chrl.logging.Logger
 
error(Object, Throwable...) - Method in class at.chrl.logging.Logger
 
execute(Runnable) - Static method in class at.chrl.nutils.concurrent.ExecuteWrapper
 
execute(Runnable, long) - Static method in class at.chrl.nutils.concurrent.ExecuteWrapper
 
execute(Runnable) - Method in class at.chrl.nutils.network.util.ThreadPoolManager
Executes Runnable - GameServer Client packet.
executePacket(BaseClientPacket<T>) - Method in class at.chrl.nutils.network.PacketProcessor
Add packet to execution queue and execute it as soon as possible on another Thread.
ExecuteWrapper - Class in at.chrl.nutils.concurrent
 
ExecuteWrapper(Runnable) - Constructor for class at.chrl.nutils.concurrent.ExecuteWrapper
 
ExitCode - Class in at.chrl.nutils
Class that contains exit codes for server

F

factory - Variable in class at.chrl.nutils.network.ServerCfg
ConnectionFactory that will create AConection object
representing new socket connection.
FileUtil - Class in at.chrl.nutils
 
FileUtil() - Constructor for class at.chrl.nutils.FileUtil
 
find(String) - Static method in class at.chrl.utils.ClassFinder
Deprecated.
 
FINE - Variable in class at.chrl.logging.Logger
 
FINER - Variable in class at.chrl.logging.Logger
 
FINEST - Variable in class at.chrl.logging.Logger
 

G

generate(Class<T>, int) - Method in class at.chrl.nutils.DatasetGenerator
 
generate(Class<T>) - Method in class at.chrl.nutils.DatasetGenerator
 
generateBlowfishKey() - Static method in class at.chrl.nutils.ncrypt.KeyGen
Generate and return blowfish key
generateIterable(Class<T>, int) - Method in class at.chrl.nutils.DatasetGenerator
 
generateSchemma(Class<?>...) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
GenericMapAdapter<K,V> - Class in at.chrl.nutils.xml
 
GenericMapAdapter() - Constructor for class at.chrl.nutils.xml.GenericMapAdapter
 
GenericMapAdapter.KeyValuePair<K,V> - Class in at.chrl.nutils.xml
 
GenericMapAdapter.KeyValuePairContainer<K,V> - Class in at.chrl.nutils.xml
 
GenericValidator - Class in at.chrl.nutils
 
GenericValidator() - Constructor for class at.chrl.nutils.GenericValidator
 
get() - Method in class at.chrl.nutils.concurrent.ScheduledFutureWrapper
 
get(long, TimeUnit) - Method in class at.chrl.nutils.concurrent.ScheduledFutureWrapper
 
get(Object) - Method in interface at.chrl.nutils.interfaces.INestedMap
 
get(int, int) - Static method in class at.chrl.nutils.LoremIpsum
 
get() - Static method in class at.chrl.nutils.Rnd
 
get(int) - Static method in class at.chrl.nutils.Rnd
Gets a random number from 0(inclusive) to n(exclusive)
get(int, int) - Static method in class at.chrl.nutils.Rnd
Get a random number from min(inclusiv) to max(inclusiv)
get(T[]) - Static method in class at.chrl.nutils.Rnd
Though i'm not agree this one should be at Rnd, such slick move - CFx01
get(int[]) - Static method in class at.chrl.nutils.Rnd
 
get(List<?>) - Static method in class at.chrl.nutils.Rnd
 
get(String) - Static method in class at.chrl.nutils.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to null if the property access fails.
get(String, String) - Static method in class at.chrl.nutils.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getAcceptDispatcher() - Method in class at.chrl.nutils.network.NioServer
 
getActiveConnections() - Method in class at.chrl.nutils.network.NioServer
 
getAddress() - Method in class at.chrl.nutils.network.IPRange
Retuns address that is assigned to this range
getBoolean(String, boolean) - Static method in class at.chrl.nutils.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getClassesExtending(Class<T>) - Static method in class at.chrl.utils.ClassFinder
Deprecated.
 
getClassesExtending(Class<T>, Type, Package) - Static method in class at.chrl.utils.ClassFinder
Deprecated.
 
getClassesExtending(Class<T>, Package) - Static method in class at.chrl.utils.ClassFinder
Deprecated.
 
getClassNamesFromDirectory(File) - Static method in class at.chrl.nutils.ClassUtils
Returns class names from directory.
getClassNamesFromJarFile(File) - Static method in class at.chrl.nutils.ClassUtils
Method that returns all class file names from given jar file
getClassNamesFromPackage(File, String, boolean) - Static method in class at.chrl.nutils.ClassUtils
Recursive method used to find all classes in a given directory and subdirs.
getCollectionValue() - Method in class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePair
 
getComparator(Function<T, R>, boolean) - Static method in class at.chrl.nutils.StreamUtils
returns comparator for gicen getter function
getComparator(Function<T, R>...) - Static method in class at.chrl.nutils.StreamUtils
returns comparator by getter functions
getComparator(boolean, Function<T, R>...) - Static method in class at.chrl.nutils.StreamUtils
returns comparator by getter functions
getConcurrentMapSupplier() - Static method in class at.chrl.nutils.CollectionUtils
 
getConnection() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
 
getCPUInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getDefaultPool() - Method in class at.chrl.nutils.concurrent.PriorityThreadFactory
 
getDelay(TimeUnit) - Method in class at.chrl.nutils.concurrent.ScheduledFutureWrapper
 
getDequeSupplier() - Static method in class at.chrl.nutils.CollectionUtils
 
getDisconnectionDelay() - Method in class at.chrl.nutils.network.AConnection
This method is called by Dispatcher when connection is ready to be closed.
getDocument(String) - Static method in class at.chrl.nutils.xml.XmlUtils
 
getEncryptedModulus() - Method in class at.chrl.nutils.ncrypt.EncryptedRSAKeyPair
Get encrypted modulus to be transferred on the net.
getEncryptedRSAKeyPair() - Static method in class at.chrl.nutils.ncrypt.KeyGen
Get common RSA Public/Static Key Pair with encrypted modulus N
getFloats(int) - Static method in class at.chrl.nutils.Rnd
Returns a array of length amount with random floats.
getHeader() - Static method in class at.chrl.nutils.LoremIpsum
 
getHostMachineName() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getInfiniteCountingStream(int, int) - Static method in class at.chrl.nutils.streams.InfiniteStreams
returns a infinite stream which counts
getInfiniteModuloStream(int, int, int) - Static method in class at.chrl.nutils.streams.InfiniteStreams
returns a infinite stream which counts and calculates modulo
getInfinteRandomStream() - Static method in class at.chrl.nutils.streams.InfiniteStreams
returns a infinite stream with random numbers
getInstance() - Static method in class at.chrl.nutils.network.util.ThreadPoolManager
 
getInstance(Class<T>) - Static method in class at.chrl.utils.patterns.SingletonHolder
 
getInt(String, int) - Static method in class at.chrl.nutils.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getIP() - Method in class at.chrl.nutils.network.AConnection
 
getJREInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getJVMInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getJVMProcess() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getJVMProcessId() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getKey() - Method in class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePair
 
getKeyComparator(boolean) - Static method in class at.chrl.nutils.StreamUtils
Returns Comparator for quick map entry sorting Compares by key
getKeyComparator() - Static method in class at.chrl.nutils.StreamUtils
Returns Comparator for quick map entry sorting Compares by key
getLength(Object) - Static method in class at.chrl.nutils.ArrayUtils
Returns the length of the specified array.
getListSupplier() - Static method in class at.chrl.nutils.CollectionUtils
 
getListSupplier(int) - Static method in class at.chrl.nutils.CollectionUtils
 
getLogLevelByString(String) - Static method in enum at.chrl.logging.LogLevel
 
getLong(String, long) - Static method in class at.chrl.nutils.SystemPropertyUtil
Returns the value of the Java system property with the specified key, while falling back to the specified default value if the property access fails.
getMapSupplier() - Static method in class at.chrl.nutils.CollectionUtils
 
getMapSupplier(int) - Static method in class at.chrl.nutils.CollectionUtils
 
getMapValue() - Method in class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePair
 
getMaxAsByteArray() - Method in class at.chrl.nutils.network.IPRange
Returns maximal ip address of the range
getMaximumRuntimeInMillisecWithoutWarning() - Method in class at.chrl.nutils.concurrent.ExecuteWrapper
 
getMemoryInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getMinAsByteArray() - Method in class at.chrl.nutils.network.IPRange
Returns minimal ip address of the range
getName() - Method in enum at.chrl.nutils.network.packet.BasePacket.PacketType
Returns packet type name.
getNestedCollection() - Method in interface at.chrl.nutils.interfaces.INestedCollection
returns nested collection of type C
getNestedMap() - Method in interface at.chrl.nutils.interfaces.INestedMap
Returns nestes map object
getNonPrimitiveClass(Class<?>) - Static method in class at.chrl.nutils.ClassUtils
 
getOpcode() - Method in class at.chrl.nutils.network.packet.BasePacket
Returns packet opcode.
getOSInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getPacketName() - Method in class at.chrl.nutils.network.packet.BasePacket
Returns packet name.
getPacketsThreadPool() - Method in class at.chrl.nutils.network.util.ThreadPoolManager
 
getPacketType() - Method in class at.chrl.nutils.network.packet.BasePacket
Returns packet type.
getPrimitiveClass(Class<?>) - Static method in class at.chrl.nutils.ClassUtils
 
getProcessesRunning() - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
getQueueStream(BlockingQueue<T>) - Static method in class at.chrl.nutils.streams.InfiniteStreams
Gets infinite queue working stream
getQueueSupplier() - Static method in class at.chrl.nutils.CollectionUtils
 
getRand() - Static method in class at.chrl.nutils.LoremIpsum
 
getRand(int) - Static method in class at.chrl.nutils.LoremIpsum
 
getReadWriteDispatcher() - Method in class at.chrl.nutils.network.NioServer
 
getRealTime() - Static method in class at.chrl.nutils.JVMInfoUtil
 
getRemainingBytes() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
 
getRSAKeyPair() - Method in class at.chrl.nutils.ncrypt.EncryptedRSAKeyPair
Get default RSA key pair
getSchema(String) - Static method in class at.chrl.nutils.xml.XmlUtils
 
getSchema(URL) - Static method in class at.chrl.nutils.xml.XmlUtils
 
getSchemma() - Method in class at.chrl.nutils.xml.StringSchemaOutputResolver
 
getSetSupplier() - Static method in class at.chrl.nutils.CollectionUtils
 
getSetSupplier(int) - Static method in class at.chrl.nutils.CollectionUtils
 
getSocketChannel() - Method in class at.chrl.nutils.network.AConnection
 
getString(T, Function<T, ?>...) - Static method in class at.chrl.nutils.ClassUtils
Helper function for toString function
getString(Document) - Static method in class at.chrl.nutils.xml.XmlUtils
 
getThreshold() - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
getTimeout() - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
getToPrimitive(Class<T>) - Static method in class at.chrl.nutils.ArrayUtils
 
getValue() - Method in enum at.chrl.logging.LogLevel
 
getValue() - Method in class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePair
 
getValueComparator(boolean) - Static method in class at.chrl.nutils.StreamUtils
Returns Comparator for quick map entry sorting Compares by value
getValueComparator() - Static method in class at.chrl.nutils.StreamUtils
Returns Comparator for quick map entry sorting Compares by value
getValues() - Method in class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePairContainer
 
getWeakMapSupplier() - Static method in class at.chrl.nutils.CollectionUtils
 
guard - Variable in class at.chrl.nutils.network.AConnection
Object on witch some methods are synchronized

H

handleStats(Class<? extends Runnable>, long) - Static method in class at.chrl.nutils.concurrent.RunnableStatsManager
 
handleStats(Class<?>, String, long) - Static method in class at.chrl.nutils.concurrent.RunnableStatsManager
 
hasCallLater() - Method in class at.chrl.utils.TaskExecutor.Task
 
HASH_BYTE_SIZE - Static variable in class at.chrl.nutils.PasswordHash
 
hashCode(T, Function<T, ?>...) - Static method in class at.chrl.nutils.ClassUtils
Helper function to calculate a hashcode from selected getter functions
hashCode() - Method in class at.chrl.nutils.network.IPRange
Hashcode of IPRange object.
hostName - Variable in class at.chrl.nutils.network.ServerCfg
Host Name on wich we will listen for connections.

I

identity() - Static method in class at.chrl.nutils.StreamUtils
identity function
INDEX_NOT_FOUND - Static variable in class at.chrl.nutils.ArrayUtils
The index value when an element is not found in a list or array: -1.
indexOf(Object[], Object) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given object in the array.
indexOf(Object[], Object, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given object in the array starting at the given index.
indexOf(long[], long) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(long[], long, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(int[], int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(int[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(short[], short) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(short[], short, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(char[], char) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(char[], char, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(byte[], byte) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(byte[], byte, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(double[], double) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(double[], double, double) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value within a given tolerance in the array.
indexOf(double[], double, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(double[], double, int, double) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(float[], float) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(float[], float, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexOf(boolean[], boolean) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array.
indexOf(boolean[], boolean, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the index of the given value in the array starting at the given index.
indexSearch(double, int, double[]) - Static method in class at.chrl.algorithms.search.SearchUtil
 
indexSearch(int, int, int[]) - Static method in class at.chrl.algorithms.search.SearchUtil
 
INestedCollection<C extends Collection<E>,E> - Interface in at.chrl.nutils.interfaces
 
INestedMap<M extends Map<K,V>,K,V> - Interface in at.chrl.nutils.interfaces
 
InfiniteStreams - Class in at.chrl.nutils.streams
 
InfiniteStreams() - Constructor for class at.chrl.nutils.streams.InfiniteStreams
 
INFO - Variable in class at.chrl.logging.Logger
 
info(Object, Throwable...) - Method in class at.chrl.logging.Logger
 
init() - Static method in class at.chrl.nutils.ncrypt.KeyGen
Initialize Key Generator (Blowfish keygen and RSA keygen)
insertLineBreaks(String, int) - Static method in class at.chrl.utils.StringUtils
Equal to call StringUtils.insertRepetitive(String, int, String) with parameter: (s, col, System.lineSeperator())
Useful to limit column length of a string.
insertRepetitive(String, int, String) - Static method in class at.chrl.utils.StringUtils
Inserts String "insertMe" periodically in String s.
IPRange - Class in at.chrl.nutils.network
Utility class that is designed to check belongings of one address to the range.
IPRange(String, String, String) - Constructor for class at.chrl.nutils.network.IPRange
Creates new IPRange object.
IPRange(byte[], byte[], byte[]) - Constructor for class at.chrl.nutils.network.IPRange
Creates new IPRange object
isBlankOrNull(String) - Static method in class at.chrl.nutils.GenericValidator
 
isBlankOrNull(Collection<?>) - Static method in class at.chrl.nutils.GenericValidator
 
isBlankOrNull(Map<?, ?>) - Static method in class at.chrl.nutils.GenericValidator
 
isBlankOrNull(Number) - Static method in class at.chrl.nutils.GenericValidator
 
isBlankOrNull(Object[]) - Static method in class at.chrl.nutils.GenericValidator
 
isCancelled() - Method in class at.chrl.nutils.concurrent.ScheduledFutureWrapper
 
isChinese(String) - Static method in class at.chrl.nutils.JVMInfoUtil
 
isDebugEnabled() - Method in class at.chrl.logging.Logger
 
isDone() - Method in class at.chrl.nutils.concurrent.ScheduledFutureWrapper
 
isEmpty(Object[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of Objects is empty or null.
isEmpty(long[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive longs is empty or null.
isEmpty(int[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive ints is empty or null.
isEmpty(short[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive shorts is empty or null.
isEmpty(char[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive chars is empty or null.
isEmpty(byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive bytes is empty or null.
isEmpty(double[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive doubles is empty or null.
isEmpty(float[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive floats is empty or null.
isEmpty(boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive booleans is empty or null.
isEmpty() - Method in interface at.chrl.nutils.interfaces.INestedCollection
isEmpty() - Method in interface at.chrl.nutils.interfaces.INestedMap
 
isForcedClosing - Variable in class at.chrl.nutils.network.AConnection
True if OnDisconnect() method should be called immediately after this connection was closed.
isInRange(String) - Method in class at.chrl.nutils.network.IPRange
Checks if address is in range
isNotEmpty(Object[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of Objects is not empty or not null.
isNotEmpty(long[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive longs is not empty or not null.
isNotEmpty(int[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive ints is not empty or not null.
isNotEmpty(short[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive shorts is not empty or not null.
isNotEmpty(char[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive chars is not empty or not null.
isNotEmpty(byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive bytes is not empty or not null.
isNotEmpty(double[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive doubles is not empty or not null.
isNotEmpty(float[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive floats is not empty or not null.
isNotEmpty(boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks if an array of primitive booleans is not empty or not null.
isPackageMember(Class<?>, String) - Static method in class at.chrl.nutils.ClassUtils
Checks if class in member of the package
isPackageMember(String, String) - Static method in class at.chrl.nutils.ClassUtils
Checks if classNames belongs to package
isSameLength(Object[], Object[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(long[], long[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(int[], int[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(short[], short[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(char[], char[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(byte[], byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(double[], double[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(float[], float[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameLength(boolean[], boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same length, treating null arrays as length 0.
isSameType(Object, Object) - Static method in class at.chrl.nutils.ArrayUtils
Checks whether two arrays are the same type taking into account multi-dimensional arrays.
isSubclass(Class<?>, Class<?>) - Static method in class at.chrl.nutils.ClassUtils
Return true if class a is either equivalent to class b, or if class a is a subclass of class b, i.e. if a either "extends" or "implements" b.
isWriteDisabled() - Method in class at.chrl.nutils.network.AConnection
 
ITERATION_INDEX - Static variable in class at.chrl.nutils.PasswordHash
 
iterator() - Method in interface at.chrl.nutils.interfaces.INestedCollection

J

JAXBUtil - Class in at.chrl.nutils.xml
 
JAXBUtil() - Constructor for class at.chrl.nutils.xml.JAXBUtil
 
joinTask(T) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 
JVMInfoUtil - Class in at.chrl.nutils
 

K

keepFirst() - Static method in class at.chrl.nutils.StreamUtils
binary keep first function
keepLast() - Static method in class at.chrl.nutils.StreamUtils
binary keep last function
KeyGen - Class in at.chrl.nutils.ncrypt
Key generator.
KeyGen() - Constructor for class at.chrl.nutils.ncrypt.KeyGen
 
keySet() - Method in interface at.chrl.nutils.interfaces.INestedMap
 
KeyValuePair() - Constructor for class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePair
 
KeyValuePair(Map.Entry<K, V>) - Constructor for class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePair
 
KeyValuePair(K, V) - Constructor for class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePair
 
KeyValuePairContainer() - Constructor for class at.chrl.nutils.xml.GenericMapAdapter.KeyValuePairContainer
 

L

lastIndexOf(Object[], Object) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given object within the array.
lastIndexOf(Object[], Object, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given object in the array starting at the given index.
lastIndexOf(long[], long) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(long[], long, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(int[], int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(int[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(short[], short) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(short[], short, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(char[], char) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(char[], char, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(byte[], byte) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(byte[], byte, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(double[], double) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(double[], double, double) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within a given tolerance in the array.
lastIndexOf(double[], double, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(double[], double, int, double) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(float[], float) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(float[], float, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastIndexOf(boolean[], boolean) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value within the array.
lastIndexOf(boolean[], boolean, int) - Static method in class at.chrl.nutils.ArrayUtils
Finds the last index of the given value in the array starting at the given index.
lastOf(T[]) - Static method in class at.chrl.nutils.ArrayUtils
Returns last element of given array
length(String) - Static method in class at.chrl.nutils.JVMInfoUtil
 
log(Object, LogLevel) - Method in class at.chrl.logging.Logger
 
log - Static variable in class at.chrl.nutils.Constants
 
Logger - Class in at.chrl.logging
 
Logger() - Constructor for class at.chrl.logging.Logger
 
loglevel - Variable in class at.chrl.logging.Logger
 
LogLevel - Enum in at.chrl.logging
 
LOREM_IPSUM - Static variable in class at.chrl.nutils.LoremIpsum
 
LoremIpsum - Class in at.chrl.nutils
Class for Random Strings
LoremIpsum() - Constructor for class at.chrl.nutils.LoremIpsum
 

M

main(String[]) - Static method in class at.chrl.nutils.PasswordHash
Tests the basic functionality of the PasswordHash class
marshal(Map<K, V>) - Method in class at.chrl.nutils.xml.GenericMapAdapter
 
memoize(Function<T, U>) - Static method in class at.chrl.nutils.Memoizer
 
memoizePredicate(Predicate<T>) - Static method in class at.chrl.nutils.Memoizer
 
Memoizer - Class in at.chrl.nutils
 
Memoizer() - Constructor for class at.chrl.nutils.Memoizer
 
MTRandom - Class in at.chrl.nutils
 
MTRandom() - Constructor for class at.chrl.nutils.MTRandom
The default constructor for an instance of MTRandom.
MTRandom(boolean) - Constructor for class at.chrl.nutils.MTRandom
This version of the constructor can be used to implement identical behaviour to the original C code version of this algorithm including exactly replicating the case where the seed value had not been set prior to calling genrand_int32.
MTRandom(long) - Constructor for class at.chrl.nutils.MTRandom
This version of the constructor simply initialises the class with the given 64 bit seed value.
MTRandom(byte[]) - Constructor for class at.chrl.nutils.MTRandom
This version of the constructor initialises the class with the given byte array.
MTRandom(int[]) - Constructor for class at.chrl.nutils.MTRandom
This version of the constructor initialises the class with the given integer array.

N

NetworkAssertion - Static variable in class at.chrl.nutils.network.options.Assertion
False if assertion at Network code should be removed at compile time. [0 overhead]
NetworkUtils - Class in at.chrl.nutils
 
NetworkUtils() - Constructor for class at.chrl.nutils.NetworkUtils
 
newConcurrentMap() - Static method in class at.chrl.nutils.CollectionUtils
 
newList() - Static method in class at.chrl.nutils.CollectionUtils
 
newList(int) - Static method in class at.chrl.nutils.CollectionUtils
 
newMap() - Static method in class at.chrl.nutils.CollectionUtils
 
newMap(int) - Static method in class at.chrl.nutils.CollectionUtils
 
newSet() - Static method in class at.chrl.nutils.CollectionUtils
 
newSet(int) - Static method in class at.chrl.nutils.CollectionUtils
 
newThread(Runnable) - Method in class at.chrl.nutils.concurrent.PriorityThreadFactory
next(int) - Method in class at.chrl.nutils.MTRandom
This method forms the basis for generating a pseudo random number sequence from this class.
nextBoolean() - Static method in class at.chrl.nutils.Rnd
 
nextByte() - Static method in class at.chrl.nutils.Rnd
 
nextChar() - Static method in class at.chrl.nutils.Rnd
 
nextDouble() - Static method in class at.chrl.nutils.Rnd
 
nextFloat() - Static method in class at.chrl.nutils.Rnd
 
nextGaussian() - Static method in class at.chrl.nutils.Rnd
 
nextInt(int) - Static method in class at.chrl.nutils.Rnd
 
nextInt() - Static method in class at.chrl.nutils.Rnd
 
nextLong() - Static method in class at.chrl.nutils.Rnd
 
nextShort() - Static method in class at.chrl.nutils.Rnd
 
nextString() - Static method in class at.chrl.nutils.Rnd
 
NioServer - Class in at.chrl.nutils.network
NioServer instance that handle connections on specified addresses.
NioServer(int, ServerCfg...) - Constructor for class at.chrl.nutils.network.NioServer
Constructor.
NOP_PRINT_STREAM - Static variable in class at.chrl.nutils.Constants
 
NOTHING - Static variable in class at.chrl.nutils.network.util.DeadLockDetector
What should we do on DeadLock
nullToEmpty(T[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(String[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(long[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(int[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(short[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(char[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(double[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(float[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Long[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Integer[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Short[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Character[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Double[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Float[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.
nullToEmpty(Boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Defensive programming technique to change a null reference to an empty one.

O

onDisconnect() - Method in class at.chrl.nutils.network.AConnection
This method is called by Dispatcher to inform that this connection was closed and should be cleared.
onServerClose() - Method in class at.chrl.nutils.network.AConnection
This method is called by NioServer to inform that NioServer is shouting down.

P

pack(byte[]) - Static method in class at.chrl.nutils.MTRandom
This simply utility method can be used in cases where a byte array of seed data is to be used to repeatedly re-seed the random number sequence.
PacketProcessor<T extends AConnection> - Class in at.chrl.nutils.network
Packet Processor responsible for executing packets in correct order with respecting rules: - 1 packet / client at one time. - execute packets in received order.
PacketProcessor(int, int) - Constructor for class at.chrl.nutils.network.PacketProcessor
Create and start PacketProcessor responsible for executing packets.
parse(Function<R, T>, T) - Static method in class at.chrl.nutils.StreamUtils
 
parseNumberToBoolean() - Static method in class at.chrl.nutils.StreamUtils
 
parseStringToBoolean() - Static method in class at.chrl.nutils.StreamUtils
 
parseStringToNumeric(BiFunction<String, Integer, T>, int, T) - Static method in class at.chrl.nutils.StreamUtils
 
parseToBooleanArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToBooleanObjectArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToByte() - Static method in class at.chrl.nutils.StreamUtils
 
parseToByte(int) - Static method in class at.chrl.nutils.StreamUtils
 
parseToDouble() - Static method in class at.chrl.nutils.StreamUtils
 
parseToFloat() - Static method in class at.chrl.nutils.StreamUtils
 
parseToInt() - Static method in class at.chrl.nutils.StreamUtils
 
parseToInt(int) - Static method in class at.chrl.nutils.StreamUtils
 
parseToIntArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToIntegerArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToLong() - Static method in class at.chrl.nutils.StreamUtils
 
parseToLong(int) - Static method in class at.chrl.nutils.StreamUtils
 
parseToLongArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToLongObjectArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToShort() - Static method in class at.chrl.nutils.StreamUtils
 
parseToShort(int) - Static method in class at.chrl.nutils.StreamUtils
 
parseToShortArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToShortObjectArray(String[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToStringArray(int[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToStringArray(long[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToStringArray(boolean[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToStringArray(short[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToStringArray(Object[]) - Static method in class at.chrl.utils.ArrayParser
 
parseToULong() - Static method in class at.chrl.nutils.StreamUtils
 
parseToULong(int) - Static method in class at.chrl.nutils.StreamUtils
 
PasswordHash - Class in at.chrl.nutils
PBKDF2 salted password hashing.
PasswordHash() - Constructor for class at.chrl.nutils.PasswordHash
 
PBKDF2_ALGORITHM - Static variable in class at.chrl.nutils.PasswordHash
 
PBKDF2_INDEX - Static variable in class at.chrl.nutils.PasswordHash
 
PBKDF2_ITERATIONS - Static variable in class at.chrl.nutils.PasswordHash
 
pendingClose - Variable in class at.chrl.nutils.network.AConnection
True if this connection should be closed after sending last server packet.
port - Variable in class at.chrl.nutils.network.ServerCfg
Port number on wich we will listen for connections.
print(PrintStream, String...) - Static method in class at.chrl.nutils.JVMInfoUtil
 
PRINT_SECTION_LENGTH - Static variable in class at.chrl.nutils.JVMInfoUtil
 
printAllInfos() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printAllInfos(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printCPUInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printCPUInfo(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printHostMachineName(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printJREInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printJREInfo(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printJVMInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printJVMInfo(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printJVMProcessId() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printJVMProcessId(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printMemoryInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printMemoryInfo(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printOSInfo() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printOSInfo(PrintStream) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printOut() - Static method in class at.chrl.nutils.StreamUtils
identity function and print on System.out
printOut(PrintStream) - Static method in class at.chrl.nutils.StreamUtils
identity function with print on given stream
printRealTime() - Static method in class at.chrl.nutils.JVMInfoUtil
 
printSection(String) - Static method in class at.chrl.nutils.JVMInfoUtil
 
printSection(PrintStream, String) - Static method in class at.chrl.nutils.JVMInfoUtil
 
priority - Variable in class at.chrl.utils.TaskExecutor.Task
 
PriorityThreadFactory - Class in at.chrl.nutils.concurrent
 
PriorityThreadFactory(String, int) - Constructor for class at.chrl.nutils.concurrent.PriorityThreadFactory
Constructor.
PriorityThreadFactory(String, ExecutorService) - Constructor for class at.chrl.nutils.concurrent.PriorityThreadFactory
 
processAfterAll(T) - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
post processing
processAll(Collection<T>) - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
main processing
processBeforeAll(T) - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
pre processing
processData(ByteBuffer) - Method in class at.chrl.nutils.network.AConnection
 
put(K, V) - Method in interface at.chrl.nutils.interfaces.INestedMap
 
putAll(Map<? extends K, ? extends V>) - Method in interface at.chrl.nutils.interfaces.INestedMap
 

R

rangeStream(T, T, UnaryOperator<T>) - Static method in class at.chrl.nutils.StreamUtils
creates a range stream of given type T.
read() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
This method reads data from a packet buffer.
readB(int) - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read n bytes from this packet buffer, n = length.
readBuffer - Variable in class at.chrl.nutils.network.AConnection
ByteBuffer for io read.
readC() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read byte from this packet buffer.
readD() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read int from this packet buffer.
readDF() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read double from this packet buffer.
readF() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read double from this packet buffer.
readH() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read short from this packet buffer.
readImpl() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Data reading implementation
readQ() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read long from this packet buffer.
readS() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Read String from this packet buffer.
recreate(File) - Static method in class at.chrl.nutils.FileUtil
Creates specified File.
register(SelectableChannel, int, AConnection) - Method in class at.chrl.nutils.network.Dispatcher
Register new client connected to this Dispatcher and set SelectionKey (result of registration) as this key of given AConnection.
register(SelectableChannel, int, Acceptor) - Method in class at.chrl.nutils.network.Dispatcher
Register new Acceptor this Dispatcher and return SelectionKey (result of registration).
rejectedExecution(Runnable, ThreadPoolExecutor) - Method in class at.chrl.nutils.concurrent.AionRejectedExecutionHandler
 
remove(Object[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(boolean[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(byte[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(char[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(double[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(float[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(int[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(long[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(short[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the element at the specified position from the specified array.
remove(Object) - Method in interface at.chrl.nutils.interfaces.INestedCollection
remove(Object) - Method in interface at.chrl.nutils.interfaces.INestedMap
 
removeAll(Collection<?>) - Method in interface at.chrl.nutils.interfaces.INestedCollection
removeElement(Object[], Object) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(boolean[], boolean) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(byte[], byte) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(char[], char) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(double[], double) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(float[], float) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(int[], int) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(long[], long) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
removeElement(short[], short) - Static method in class at.chrl.nutils.ArrayUtils
Removes the first occurrence of the specified element from the specified array.
RESTART - Static variable in class at.chrl.nutils.network.util.DeadLockDetector
What should we do on DeadLock
retainAll(Collection<?>) - Method in interface at.chrl.nutils.interfaces.INestedCollection
reverse(Object[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(long[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(int[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(short[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(char[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(double[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(float[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverse(boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Reverses the order of the given array.
reverseFragments(String, String) - Static method in class at.chrl.utils.StringUtils
Example: (regex = "\n"); Converts: Hey,
this is a
simple test
to: simple test
this is a
Hey,
Rnd - Class in at.chrl.nutils
 
Rnd() - Constructor for class at.chrl.nutils.Rnd
 
run() - Method in class at.chrl.nutils.concurrent.ExecuteWrapper
 
run() - Method in class at.chrl.nutils.concurrent.RunnableWrapper
 
run() - Method in class at.chrl.nutils.network.DisconnectionTask
 
run() - Method in class at.chrl.nutils.network.Dispatcher
Dispatching Selected keys and processing pending close.
run() - Method in class at.chrl.nutils.network.util.DeadLockDetector
Check if there is a DeadLock.
run() - Method in class at.chrl.utils.TaskExecutor.Task
runImpl() - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Execute this packet action.
runInParallelStream(T) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 
runInStream(T) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 
RunnableStatsManager - Class in at.chrl.nutils.concurrent
 
RunnableStatsManager() - Constructor for class at.chrl.nutils.concurrent.RunnableStatsManager
 
RunnableStatsManager.SortBy - Enum in at.chrl.nutils.concurrent
 
RunnableWrapper - Class in at.chrl.nutils.concurrent
 
RunnableWrapper(Runnable) - Constructor for class at.chrl.nutils.concurrent.RunnableWrapper
 
RunnableWrapper(Runnable, long) - Constructor for class at.chrl.nutils.concurrent.RunnableWrapper
 
runTask() - Method in class at.chrl.utils.TaskExecutor.Task
Method called by Task Executer and by Functional Interace implementation
runTask(Task) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 
runTaskGroup(Collection<Task>) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 
runTaskGroup(boolean, Collection<Task>) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 
runTaskGroup(Task...) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 
runTaskGroup(boolean, Task...) - Static method in class at.chrl.utils.TaskExecutor.TaskExecutor
 

S

SALT_BYTE_SIZE - Static variable in class at.chrl.nutils.PasswordHash
 
SALT_INDEX - Static variable in class at.chrl.nutils.PasswordHash
 
schedule(T, long) - Method in class at.chrl.nutils.network.util.ThreadPoolManager
Schedule
scheduleAtFixedRate(T, long, long) - Method in class at.chrl.nutils.network.util.ThreadPoolManager
Schedule at fixed rate
ScheduledFutureWrapper - Class in at.chrl.nutils.concurrent
 
ScheduledFutureWrapper(ScheduledFuture<?>) - Constructor for class at.chrl.nutils.concurrent.ScheduledFutureWrapper
 
scheduleDisconnection(DisconnectionTask, long) - Method in interface at.chrl.nutils.network.DisconnectionThreadPool
Schedule Disconnection task.
search(Set<String>, String) - Static method in class at.chrl.algorithms.search.SearchUtil
Search method which return given search pool ordered by search result.
SearchUtil - Class in at.chrl.algorithms.search
Search Util Created by Vinzynth on 14.08.2014.
SearchUtil() - Constructor for class at.chrl.algorithms.search.SearchUtil
 
selector() - Method in class at.chrl.nutils.network.Dispatcher
 
serialize(Object) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
serializeToDocument(Object) - Static method in class at.chrl.nutils.xml.JAXBUtil
 
ServerCfg - Class in at.chrl.nutils.network
This class represents ServerCfg for configuring NioServer
ServerCfg(String, int, String, ConnectionFactory) - Constructor for class at.chrl.nutils.network.ServerCfg
Constructor
setBuffer(ByteBuffer) - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Attach ByteBuffer to this packet.
setCallLater(Task) - Method in class at.chrl.utils.TaskExecutor.Task
 
setConnection(T) - Method in class at.chrl.nutils.network.packet.BaseClientPacket
Attach client connection to this packet.
setDefaultPool(ExecutorService) - Method in class at.chrl.nutils.concurrent.PriorityThreadFactory
 
setOpcode(int) - Method in class at.chrl.nutils.network.packet.BasePacket
Sets opcode of this packet.
setSeed(long) - Method in class at.chrl.nutils.MTRandom
This method resets the state of this instance using the 64 bits of seed data provided.
setSeed(byte[]) - Method in class at.chrl.nutils.MTRandom
This method resets the state of this instance using the byte array of seed data provided.
setSeed(int[]) - Method in class at.chrl.nutils.MTRandom
This method resets the state of this instance using the integer array of seed data provided.
setSupportedType(Class<?>, Supplier<?>) - Method in class at.chrl.nutils.DatasetGenerator
 
setThreshold(int) - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
setTimeout(int) - Method in class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
shutdown() - Method in class at.chrl.nutils.network.NioServer
Shutdown.
shutdown() - Method in class at.chrl.nutils.network.util.ThreadPoolManager
Shutdown all thread pools.
SingletonHolder - Class in at.chrl.utils.patterns
 
SingletonHolder() - Constructor for class at.chrl.utils.patterns.SingletonHolder
 
size() - Method in interface at.chrl.nutils.interfaces.INestedCollection
size() - Method in interface at.chrl.nutils.interfaces.INestedMap
 
SPLITED - Static variable in class at.chrl.nutils.LoremIpsum
 
StreamUtils - Class in at.chrl.nutils
 
StringSchemaOutputResolver - Class in at.chrl.nutils.xml
 
StringSchemaOutputResolver() - Constructor for class at.chrl.nutils.xml.StringSchemaOutputResolver
 
StringUtils - Class in at.chrl.utils
 
subarray(Object[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new array containing the elements between the start and end indices.
subarray(long[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new long array containing the elements between the start and end indices.
subarray(int[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new int array containing the elements between the start and end indices.
subarray(short[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new short array containing the elements between the start and end indices.
subarray(char[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new char array containing the elements between the start and end indices.
subarray(byte[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new byte array containing the elements between the start and end indices.
subarray(double[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new double array containing the elements between the start and end indices.
subarray(float[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new float array containing the elements between the start and end indices.
subarray(boolean[], int, int) - Static method in class at.chrl.nutils.ArrayUtils
Produces a new boolean array containing the elements between the start and end indices.
SystemPropertyUtil - Class in at.chrl.nutils
A collection of utility methods to retrieve and parse the values of the Java system properties.

T

Task - Class in at.chrl.utils.TaskExecutor
 
Task() - Constructor for class at.chrl.utils.TaskExecutor.Task
 
TaskExecutor - Class in at.chrl.utils.TaskExecutor
 
TaskExecutor() - Constructor for class at.chrl.utils.TaskExecutor.TaskExecutor
 
ThreadPoolManager - Class in at.chrl.nutils.network.util
 
ThreadUncaughtExceptionHandler - Class in at.chrl.nutils.network.util
 
ThreadUncaughtExceptionHandler() - Constructor for class at.chrl.nutils.network.util.ThreadUncaughtExceptionHandler
 
ThresholdTimeoutService<T> - Class in at.chrl.utils.ThresholdTimeout
 
ThresholdTimeoutService(int, int) - Constructor for class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
fires processBeforeAll(Object), processAll(Collection) and processAfterAll(Object) when threshold or timeout is reached
ThresholdTimeoutService(int, int, Comparator<T>) - Constructor for class at.chrl.utils.ThresholdTimeout.ThresholdTimeoutService
 
toArray() - Method in interface at.chrl.nutils.interfaces.INestedCollection
toArray(T[]) - Method in interface at.chrl.nutils.interfaces.INestedCollection
toByteArray(String) - Static method in class at.chrl.nutils.network.IPRange
Convers IPv4 address to byte array
toMap(Object[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts the given array into a Map.
toMap(Function<T, K>) - Static method in class at.chrl.nutils.StreamUtils
Collectors.toMap(Function, Function, BinaryOperator, java.util.function.Supplier) override returns toMap function with given key Mapper.
toMapKeepLast(Function<T, K>) - Static method in class at.chrl.nutils.StreamUtils
Collectors.toMap(Function, Function, BinaryOperator, java.util.function.Supplier) override returns toMap function with given key Mapper.
toMultimap(Function<T, K>) - Static method in class at.chrl.nutils.StreamUtils
Collector to collect values into multimaps
toNull() - Static method in class at.chrl.nutils.StreamUtils
to null function
toObject(char[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive chars to objects.
toObject(long[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive longs to objects.
toObject(int[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive ints to objects.
toObject(short[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive shorts to objects.
toObject(byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive bytes to objects.
toObject(double[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive doubles to objects.
toObject(float[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive floats to objects.
toObject(boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of primitive booleans to objects.
toPrimitive(Character[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Characters to primitives.
toPrimitive(Character[], char) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Character to primitives handling null.
toPrimitive(Long[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Longs to primitives.
toPrimitive(Long[], long) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Long to primitives handling null .
toPrimitive(Integer[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Integers to primitives.
toPrimitive(Integer[], int) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Integer to primitives handling null.
toPrimitive(Short[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Shorts to primitives.
toPrimitive(Short[], short) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Short to primitives handling null.
toPrimitive(Byte[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Bytes to primitives.
toPrimitive(Byte[], byte) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Bytes to primitives handling null.
toPrimitive(Double[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Doubles to primitives.
toPrimitive(Double[], double) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Doubles to primitives handling null.
toPrimitive(Float[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Floats to primitives.
toPrimitive(Float[], float) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Floats to primitives handling null.
toPrimitive(Boolean[]) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Booleans to primitives.
toPrimitive(Boolean[], boolean) - Static method in class at.chrl.nutils.ArrayUtils
Converts an array of object Booleans to primitives handling null.
toString() - Method in enum at.chrl.logging.LogLevel
toString() - Method in class at.chrl.nutils.network.packet.BasePacket
Returns string representation of this packet based on packet type, opcode and name.
trim(char, String) - Static method in class at.chrl.utils.StringUtils
Equal to StringUtils.trim(String, char...) with parameter (data, trimChar)
trim(String, char...) - Static method in class at.chrl.utils.StringUtils
Trims "data" String like String.trim(), but uses defined "trimChars".
trimAmount(String, int) - Static method in class at.chrl.utils.StringUtils
Equal to data.substring(count, data.length()-count)
trimAround(String, String, char...) - Static method in class at.chrl.utils.StringUtils
Splits data String and trims every substring like StringUtils.trim(String, char...) does.
trimSpaces(String) - Static method in class at.chrl.utils.StringUtils
Equal to StringUtils.trim(char, String) with ' ' as char parameter
TYPE_PATTERN - Static variable in class at.chrl.nutils.network.packet.BasePacket
Default packet string representation pattern.

U

uncaughtException(Thread, Throwable) - Method in class at.chrl.nutils.network.util.ThreadUncaughtExceptionHandler
unmarshal(GenericMapAdapter.KeyValuePairContainer<K, V>) - Method in class at.chrl.nutils.xml.GenericMapAdapter
 
updateKey(byte[]) - Method in class at.chrl.nutils.ncrypt.BlowfishCipher
Update current blowfish key with the new one and reinitialize the P-array and S-boxes
updateKey(byte[]) - Method in class at.chrl.nutils.ncrypt.CryptEngine
Update the key for packet encryption/decryption with the Blowfish Cipher

V

validate(Schema, Document) - Static method in class at.chrl.nutils.xml.XmlUtils
 
validatePassword(String, String) - Static method in class at.chrl.nutils.PasswordHash
Validates a password using a hash.
validatePassword(char[], String) - Static method in class at.chrl.nutils.PasswordHash
Validates a password using a hash.
valueOf(String) - Static method in enum at.chrl.logging.LogLevel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum at.chrl.nutils.concurrent.RunnableStatsManager.SortBy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum at.chrl.nutils.network.packet.BasePacket.PacketType
Returns the enum constant of this type with the specified name.
values() - Static method in enum at.chrl.logging.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum at.chrl.nutils.concurrent.RunnableStatsManager.SortBy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in interface at.chrl.nutils.interfaces.INestedMap
 
values() - Static method in enum at.chrl.nutils.network.packet.BasePacket.PacketType
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForDisconnectionTasks() - Method in interface at.chrl.nutils.network.DisconnectionThreadPool
Waits till all task end work.
waitFunction(long) - Static method in class at.chrl.nutils.StreamUtils
 
warn(Object, Throwable...) - Method in class at.chrl.logging.Logger
 
WARNING - Variable in class at.chrl.logging.Logger
 
workQueueStream(BlockingQueue<T>, Consumer<Stream<T>>, int) - Static method in class at.chrl.nutils.streams.InfiniteStreams
Creates some threads which poll the given queue and work down the stack
writeB(ByteBuffer, byte[]) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write byte array to buffer.
writeBuffer - Variable in class at.chrl.nutils.network.AConnection
ByteBuffer for io write.
writeC(ByteBuffer, int) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write byte to buffer.
writeD(ByteBuffer, int) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write int to buffer.
writeData(ByteBuffer) - Method in class at.chrl.nutils.network.AConnection
This method will be called by Dispatcher, and will be repeated till return false.
writeDF(ByteBuffer, double) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write double to buffer.
writeF(ByteBuffer, float) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write float to buffer.
writeH(ByteBuffer, int) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write short to buffer.
writeQ(ByteBuffer, long) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write long to buffer.
writeS(ByteBuffer, String) - Method in class at.chrl.nutils.network.packet.BaseServerPacket
Write String to buffer

X

XmlUtils - Class in at.chrl.nutils.xml
Unfortunately JAXP seems to be working wrong in multithreaded enviroment.
XmlUtils() - Constructor for class at.chrl.nutils.xml.XmlUtils
 
A B C D E F G H I J K L M N O P R S T U V W X 
Skip navigation links

Copyright © 2014–2015. All rights reserved.