Modifier and Type | Method and Description |
---|---|
boolean |
KeyValuePair.equals(KeyValuePair<? extends TKey,? extends TValue> kvp)
Compares two key/value pairs for equality.
|
Modifier and Type | Method and Description |
---|---|
void |
IHashtable.add(KeyValuePair<? extends TKey,? extends TValue> kvp)
Adds an element represented by the provided key/value pair if the key is not already present.
|
boolean |
IHashtable.contains(KeyValuePair<? extends TKey,? extends TValue> kvp)
Returns true if the key of the key/value pair exists in the key collection
|
boolean |
IHashtable.remove(KeyValuePair<? extends TKey,? extends TValue> kvp)
Removes a key/value pair based on its key.
|
Modifier and Type | Method and Description |
---|---|
KeyValuePair<TKey,TValue> |
AscendingOrderKeyValuePairIterator.next()
Returns the next element in the iteration.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<KeyValuePair<TKey,TValue>> |
SharedAvlHashtable.iterator()
Returns all key/value pairs in a list copy of key/value pairs.
|
java.util.Iterator<KeyValuePair<TKey,TValue>> |
AvlHashtable.iterator()
Returns an iterator of key/value pairs.
|
Modifier and Type | Method and Description |
---|---|
void |
AvlHashtable.add(KeyValuePair<? extends TKey,? extends TValue> kvp)
Adds an element represented by the provided key/value pair if the key is not already present.
|
boolean |
AvlHashtable.contains(KeyValuePair<? extends TKey,? extends TValue> kvp)
Returns true if a key exists in the key collection.
|
boolean |
AvlHashtable.remove(KeyValuePair<? extends TKey,? extends TValue> kvp)
Removes a key/value pair based on its key.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<KeyValuePair<TKey,TValue>> |
AvlBiMap.iterator() |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<KeyValuePair<TKey,TValue>> |
ListMap.iterator()
Returns an iterator of the collection.
|
java.util.Iterator<KeyValuePair<TKey,TValue>> |
AvlTreeList.iterator()
Returns an ascending key order iterator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ListMap.add(KeyValuePair<? extends TKey,? extends TValue> kvp)
Adds an item to the collection.
|
boolean |
IListMap.add(KeyValuePair<? extends TKey,? extends TValue> kvp)
Adds a new key/value pair.
|
boolean |
AvlTreeList.add(KeyValuePair<? extends TKey,? extends TValue> kvp)
Adds a new key/value pair.
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<KeyValuePair<TKey,TValue>> |
MapData.iterator()
Enumerates key/value pairs
|
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<KeyValuePair<TKey,TValue>> |
KeyValueSessionStore.iterator() |
Modifier and Type | Field and Description |
---|---|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.CONTRACTSENGINE_DEFAULT_SWEEP_THRESHOLD
The default maximum number of objects created between forced sweeps.
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.CONTRACTSENGINE_TYPENAME
The full type name of the DbC contracts engine used
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.HTTPSOCKETMANAGER_MAX_CHUNK_SIZE
The maximum transferred object length, if object is larger than this then it will be sent/received in chunks of this size, to avoid
excessive memory consumption
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.LINQ_DEFAULT_LIST_SIZE
When Linq needs to create a list for storing a collection of items, it will set the initial size to this.
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.NETWORK_CHECKIP_DYNDNS_URL
URL for checkip.dyndns.org that allows external IP polling
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.NETWORK_PING_TIMEOUT_MILLIS
This is the maximum amount of time to wait for a ping response
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.NETWORK_SNMP_COMMUNITY
Standard SNMP community that is open for unrestricted reading
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.NETWORK_SNMP_PORT
The port designated to the SNMP protocol
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.NETWORK_SNMP_READ_TIMEOUT_MILLIS
The amount of time in millis to wait for an SNMP response
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.NETWORK_SNMP_RETRY_INTERVAL_MILLIS
SNMP retry interval upon timeout failure
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.NETWORK_WHATISMYIP_COM_URL
URL for whatismyip.com that allows external IP polling
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.NETWORK_WHATISMYIP_ORG_URL
URL for whatismyip.org that allows external IP polling
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.PROTOCOLMANAGER_AB_PRIME_BITS
The D/H A and B parameter length in bits
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.PROTOCOLMANAGER_P_PRIME_BITS
The D/H P parameter length in bits
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.STACKTRACE_LOGGER_MAX_STACKFRAMES
The number of stack frames to show when ABBREVIATED stack trace logging is used
|
static KeyValuePair<java.lang.String,java.lang.Boolean> |
ConfigurableConsts.TASKTHREADPOOL_DAEMON_THREADS
Whether task threads are daemon threads or not.
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.TASKTHREADPOOL_MIN_IDLE_THREADS
Task threadpool has this many (initial) threads available to execute tasks for bursts of parallel activity.
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.TASKTHREADPOOL_MIN_THREAD_REPLENISH_TRIGGER
When the available number of threads falls below this threshold, the threadpool will start creating a number of extra threads
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.TASKTHREADPOOL_THREAD_ID_PREFIX
Thread naming convention: Prefixes this to thread ID, postfixed by creator thread
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.TASKTHREADPOOL_THREAD_REPLENISH_COUNT
This is the number of threads that the threadpool will create if reached a low thread count threshold that triggers it
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.TCPSOCKETMANAGER_MAX_CHUNK_SIZE
The maximum transferred object length, if object is larger than this then it will be sent/received in chunks of this size, to avoid
excessive memory consumption
|
static KeyValuePair<java.lang.String,java.lang.Short> |
ConfigurableConsts.TOSTRINGCOMBINER_MAX_COUNT
ToStringCombiner classs does not combine more than this amount of elements
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.UNIVERSALPATH_CONVERSION_UNIX_TO_WINDOWS_DEFAULT_DRIVE
See UniversalPath's CONVERSION_UNIX_TO_WINDOWS_DEFAULT_DRIVE constant
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.UNIVERSALPATH_CONVERSION_UNIX_TO_WINDOWS_DEFAULT_FOLDER
See UniversalPath's CONVERSION_UNIX_TO_WINDOWS_DEFAULT_FOLDER constant
|
static KeyValuePair<java.lang.String,java.lang.String> |
ConfigurableConsts.UNIVERSALPATH_CONVERSION_WINDOWS_TO_UNIX_DRIVE_ENCODING_PREFIX
See UniversalPath's CONVERSION_WINDOWS_TO_UNIX_DRIVE_ENCODING_PREFIX constant
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_ALLOWED_IPV4_CHARS
Allowed IPv4 characters
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_ALLOWED_IPV6_CHARS
Allowed IPv6 characters
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_ALLOWED_MAC_CHARS
Allowed MAC characters
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_ALLOWED_TEL_CHARS
Allowed telephone number characters
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_CREDITCARD_LENGTH
Default maximum credit card length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_DOMAIN_LENGTH
Default maximum sub-domain length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_EMAIL_LENGTH
Default maximum email address length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_FILENAME_LENGTH
Default maximum filename length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_IPV4_LENGTH
Default maximum IPv4 length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_IPV6_LENGTH
Default maximum IPv6 length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_LOCALPART_LENGTH
Default maximum email address local part length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_MAC_LENGTH
Default maximum MAC length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_PATH_LENGTH
Default maximum path length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_SUBDOMAIN_LENGTH
Default maximum sub-domain length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_TEL_LENGTH
Default maximum telephone number length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MAX_WIN_USERNAME_LENGTH
Default maximum Windows username length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_CREDITCARD_LENGTH
Default minimum credit card length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_DOMAIN_LENGTH
Default minimum sub-domain length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_EMAIL_LENGTH
Default minimum email address length e.g.
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_FILENAME_LENGTH
Default minimum filename length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_IPV4_LENGTH
Default minimum IPv4 length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_IPV6_LENGTH
Default minimum IPv6 length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_LOCALPART_LENGTH
Default minimum email address local part length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_MAC_LENGTH
Default maximum MAC length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_PATH_LENGTH
Default minimum path length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_SUBDOMAIN_LENGTH
Default minimum sub-domain length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_TEL_LENGTH
Default minimum telephone number length
|
static KeyValuePair<java.lang.String,java.lang.Integer> |
ConfigurableConsts.VALIDATION_DEFAULT_MIN_WIN_USERNAME_LENGTH
Default minimum Windows username length
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_AD_USERNAME_CHARS
Disallowed Active Directory username characters
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_AD_USERNAME_END_CHARS
Characters disallowed to appear at the end of an Active Directory username
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_AD_USERNAME_START_CHARS
Characters disallowed to appear at the start of an Active Directory username
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_EMAIL_LOCALPART_CHARS
Allowed localpart characters: A-Z, a-z, 0-9, ! # $ % & ' * + - / = ? ^ _ ` { | } ~ .
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_EMAIL_LOCALPART_END_CHARS
Characters not allowed at the end of and email's local part
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_EMAIL_LOCALPART_START_CHARS
Characters not allowed at the start of and email's local part
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_FILENAME_CHARS
Disallowed filename characters
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_FILENAME_END_CHARS
Characters not allowed to be at the end of a filename
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_FILENAME_START_CHARS
Characters not allowed to be at the start of a filename
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_PATH_CHARS
Disallowed path characters
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_PATH_END_CHARS
Characters not allowed to be at the end of a path
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_PATH_START_CHARS
Characters not allowed to be at the start of a path
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_SUBDOMAIN_CHARS
Allowed sub-domain characters: A-Z, a-z, 0-9 and hyphen
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_SUBDOMAIN_END_CHARS
Characters that are not allowed at the end of a sub-domain
|
static KeyValuePair<java.lang.String,ReifiedIterable<java.lang.Character>> |
ConfigurableConsts.VALIDATION_DISALLOWED_SUBDOMAIN_START_CHARS
Characters that are not allowed at the start of a sub-domain
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
ConfigurableParameters.getBool(KeyValuePair<java.lang.String,java.lang.Boolean> kvp)
Gets the value of an Boolean key if it exists, otherwise returns the specified default value.
|
static java.lang.Character |
ConfigurableParameters.getChar(KeyValuePair<java.lang.String,java.lang.Character> kvp)
Gets the value of a Char key if it exists, otherwise returns the specified default value.
|
static org.joda.time.LocalDateTime |
ConfigurableParameters.getDateTime(KeyValuePair<java.lang.String,org.joda.time.LocalDateTime> kvp)
Gets the value of a DateTime key if it exists, otherwise returns the specified default value.
|
static java.math.BigDecimal |
ConfigurableParameters.getDecimal(KeyValuePair<java.lang.String,java.math.BigDecimal> kvp)
Gets the value of a Decimal key if it exists, otherwise returns the specified default value.
|
static java.lang.Double |
ConfigurableParameters.getDouble(KeyValuePair<java.lang.String,java.lang.Double> kvp)
Gets the value of a Double key if it exists, otherwise returns the specified default value.
|
static java.lang.Float |
ConfigurableParameters.getFloat(KeyValuePair<java.lang.String,java.lang.Float> kvp)
Gets the value of a Float key if it exists, otherwise returns the specified default value.
|
static java.lang.Short |
ConfigurableParameters.getInt16(KeyValuePair<java.lang.String,java.lang.Short> kvp)
Gets the value of an Int16 key if it exists, otherwise returns the specified default value.
|
static int |
ConfigurableParameters.getInt32(KeyValuePair<java.lang.String,java.lang.Integer> kvp)
Gets the value of an Int32 key if it exists, otherwise returns the specified default value.
|
static java.lang.Long |
ConfigurableParameters.getInt64(KeyValuePair<java.lang.String,java.lang.Long> kvp)
Gets the value of an Int64 key if it exists, otherwise returns the specified default value.
|
static java.lang.Byte |
ConfigurableParameters.getInt8(KeyValuePair<java.lang.String,java.lang.Byte> kvp)
Gets the value of an SByte key if it exists, otherwise returns the specified default value.
|
static java.net.InetAddress |
ConfigurableParameters.getIPAddress(KeyValuePair<java.lang.String,java.net.InetAddress> kvp)
Gets the value of a IPAddress key if it exists, otherwise returns the specified default value.
|
static <T> java.lang.Iterable<T> |
ConfigurableParameters.getIterable(KeyValuePair<java.lang.String,ReifiedIterable<T>> kvp)
Gets the value of an Iterable if it exists, otherwise returns the specified default value.
|
static java.lang.Object |
ConfigurableParameters.getObject(KeyValuePair<java.lang.String,java.lang.String> kvp,
java.lang.Object[] constructorArgs)
Gets the type name of an object from the configured parameter and instantiates it.
|
static java.lang.String |
ConfigurableParameters.getString(KeyValuePair<java.lang.String,java.lang.String> kvp)
Gets the value of a String key if it exists, otherwise returns the specified default value.
|
static org.joda.time.Duration |
ConfigurableParameters.getTimeSpan(KeyValuePair<java.lang.String,org.joda.time.Duration> kvp)
Gets the value of a TimeSpan key if it exists, otherwise returns the specified default value.
|
static java.lang.Class<?> |
ConfigurableParameters.getType(KeyValuePair<java.lang.String,java.lang.String> kvp)
Gets the type name from the configured parameters and attempts to parse it, returning a Type.
|
static UnsignedShort |
ConfigurableParameters.getUInt16(KeyValuePair<java.lang.String,UnsignedShort> kvp)
Gets the value of a UInt16 key if it exists, otherwise returns the specified default value.
|
static UnsignedInteger |
ConfigurableParameters.getUInt32(KeyValuePair<java.lang.String,UnsignedInteger> kvp)
Gets the value of a UInt32 key if it exists, otherwise returns the specified default value.
|
static UnsignedLong |
ConfigurableParameters.getUInt64(KeyValuePair<java.lang.String,UnsignedLong> kvp)
Gets the value of a UInt64 key if it exists, otherwise returns the specified default value.
|
static UnsignedByte |
ConfigurableParameters.getUInt8(KeyValuePair<java.lang.String,UnsignedByte> kvp)
Gets the value of an UnsignedByte key if it exists, otherwise returns the specified default value.
|
static java.util.UUID |
ConfigurableParameters.getUuid(KeyValuePair<java.lang.String,java.util.UUID> kvp)
Gets the value of a UUID key if it exists, otherwise returns the specified default value.
|
static <T> java.lang.Iterable<T> |
ConfigurableParameters.tryGetIterable(KeyValuePair<java.lang.String,ReifiedIterable<T>> kvp)
Gets the value of an Iterable if it exists, otherwise returns the specified default value.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> Functions.Function1<KeyValuePair<K,V>,K> |
Tuples.kvpKeySelector()
Calls getKey() on map entries specified
|
static <K,V> Functions.Function1<KeyValuePair<K,V>,V> |
Tuples.kvpValueSelector()
Calls getValue() on key/value pair function arguments
|