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

A

asDisplay(Object) - Static method in class org.leialearns.common.Display
 
asDisplayWithTypes(Object) - Static method in class org.leialearns.common.Display
 
asList(Iterable<T>) - Static method in class org.leialearns.common.Static
Converts the given iterable to a List.

B

BaseSupplier<T> - Class in org.leialearns.common
Adds a convenient Object.toString() method to a Supplier.
BaseSupplier() - Constructor for class org.leialearns.common.BaseSupplier
 

C

compare(T, T) - Method in class org.leialearns.common.Pair
 
compare(T, T) - Static method in class org.leialearns.common.Static
Compares the two given objects, handling null values predictably.
compareTo(Pair<L, R>) - Method in class org.leialearns.common.Pair
 
configure(InputStream) - Method in class org.leialearns.common.logging.LogConfigurator
Configures the logging system using the given logging properties.

D

Display - Class in org.leialearns.common
Provides functions to display objects in a human friendly form.
display(Object) - Static method in class org.leialearns.common.Display
Displays the given object excluding type information.
display(Object, Object, Object...) - Static method in class org.leialearns.common.Display
Displays the given objects as an array excluding type information.
displayParts(Object...) - Static method in class org.leialearns.common.Display
Displays the given parts with a bit of syntactic sugar.
displayWithTypes(Object) - Static method in class org.leialearns.common.Display
Displays the given object including type information.

E

equal(Object, Object) - Static method in class org.leialearns.common.Static
Compares two objects.
equals(Object) - Method in class org.leialearns.common.Pair
 
ExceptionWrapper - Class in org.leialearns.common
Provides a static function to wrap a throwable in a RuntimeException if necessary.

F

filterLine(String) - Method in interface org.leialearns.common.logging.LineFilter
Performs substitutions on a single line of a text resource.
first() - Method in class org.leialearns.common.TypedIterable
Returns the first item of this iterable.
fix(String, int) - Method in class org.leialearns.common.logging.SimpleFormatter
 
format(LogRecord) - Method in class org.leialearns.common.logging.SimpleFormatter
Formats a logRecord.

G

gcd(long, long) - Static method in class org.leialearns.common.Static
 
get() - Method in class org.leialearns.common.Setting
Returns the value of this setting.
getInternal(Function<T, Q>, Supplier<Q>) - Method in class org.leialearns.common.Setting
 
getIterable(Iterable<?>, Function<Object, T>) - Static method in class org.leialearns.common.TransformingIterable
 
getLeft() - Method in class org.leialearns.common.Pair
 
getLogger() - Method in class org.leialearns.common.logging.SimpleFormatter.SilentSetting
 
getLogger() - Method in class org.leialearns.common.Setting
 
getLoggingClass(Object) - Static method in class org.leialearns.common.Static
Returns the class that can be used to derive the logger name from.
getRight() - Method in class org.leialearns.common.Pair
 
getType() - Method in class org.leialearns.common.TypedIterable
Returns the base type of this iterable.
getWrappedIterable() - Method in interface org.leialearns.common.HasWrappedIterable
Returns the wrapped iterable that backs this iterable.
getWrappedIterable() - Method in class org.leialearns.common.TypedIterable
Returns the backing iterable.

H

hashCode() - Method in class org.leialearns.common.Pair
 
HasWrappedIterable - Interface in org.leialearns.common
Provides a method to get the original iterable that was wrapped by i.e.

I

implode(String, List<String>) - Method in class org.leialearns.common.logging.SimpleFormatter
 
isEmpty() - Method in class org.leialearns.common.TypedIterable
Returns a flag that indicates whether this iterable is empty.
isFixated() - Method in class org.leialearns.common.Setting
Returns a flag that indicates whether the value of this setting is already fixated.
iterator() - Method in class org.leialearns.common.TypedIterable
Returns an iterator for this iterable.

J

join(String, String[]) - Static method in class org.leialearns.common.Static
Joins an array of strings together using a given separator

L

L - Class in org.leialearns.common
Provides a wrapped String that is not mangled by Display.show(String).
L(String) - Constructor for class org.leialearns.common.L
 
LineFilter - Interface in org.leialearns.common.logging
Provides a method that can be called line by line to filter a text resource.
LineFilterInputStream - Class in org.leialearns.common.logging
Provides an input stream that filters a text resource.
LineFilterInputStream(Reader, LineFilter) - Constructor for class org.leialearns.common.logging.LineFilterInputStream
Creates a new LineFilterInputStream instance.
LineFilterInputStream(Reader, LineFilter, Boolean) - Constructor for class org.leialearns.common.logging.LineFilterInputStream
Creates a new LineFilterInputStream instance.
literal(String) - Static method in class org.leialearns.common.L
Creates a new L instance.
LogConfigurator - Class in org.leialearns.common.logging
Configures the logging system.
LogConfigurator(String) - Constructor for class org.leialearns.common.logging.LogConfigurator
Creates a new LogConfigurator instance.

N

newArrayInstance(T[], int) - Static method in class org.leialearns.common.Static
Creates a new array instance in a type safe way.
newArrayInstance(Class<T>, int) - Static method in class org.leialearns.common.Static
Creates a new array instance in a type safe way.
nextLine() - Method in class org.leialearns.common.logging.LineFilterInputStream
 
notNull(Iterable<T>) - Static method in class org.leialearns.common.Static
Returns the given iterable, or an empty iterable if null is given.
NullStream - Class in org.leialearns.common
Provides a stream that does not produce any input.
NullStream() - Constructor for class org.leialearns.common.NullStream
Creates a new NullStream instance.

O

offer(T) - Method in class org.leialearns.common.Setting
Offers the value as a candidate for the reference.
offer(T, T[]) - Static method in class org.leialearns.common.Static
Creates a copy of an array with a single item prepended to it.
offerArray(T[], T[]) - Static method in class org.leialearns.common.Static
Creates a copy of an array with another array prepended to it.
offerInternal(T) - Method in class org.leialearns.common.Setting
 
org.leialearns.common - package org.leialearns.common
 
org.leialearns.common.logging - package org.leialearns.common.logging
Provides some extra logging facilities.

P

Pair<L extends Comparable<? super L>,R extends Comparable<? super R>> - Class in org.leialearns.common
 
Pair(L, R) - Constructor for class org.leialearns.common.Pair
 

R

read() - Method in class org.leialearns.common.logging.LineFilterInputStream
 
read() - Method in class org.leialearns.common.NullStream
Always returns -1 (no more input).
reduceStackBlock(String) - Method in class org.leialearns.common.logging.SimpleFormatter
 

S

set(T) - Method in class org.leialearns.common.Setting
Sets the value, if possible.
setRegexFormat(boolean) - Method in class org.leialearns.common.logging.SimpleFormatter
Sets property regexFormat.
Setting<T> - Class in org.leialearns.common
Encapsulates a reference to a value that can be set only once.
Setting(String, Supplier<T>) - Constructor for class org.leialearns.common.Setting
Creates a new Setting instance.
Setting(String, T) - Constructor for class org.leialearns.common.Setting
Creates a new Setting instance.
Setting(String) - Constructor for class org.leialearns.common.Setting
Creates a new Setting instance.
show(String) - Static method in class org.leialearns.common.Display
Shows a string in such a way that it can be uniquely decoded, but with a minimum of syntactic sugar.
SilentSetting(String, T) - Constructor for class org.leialearns.common.logging.SimpleFormatter.SilentSetting
 
SimpleFormatter - Class in org.leialearns.common.logging
Provides a formatter that can be used with java.util.logging to produce single-line log-entries that are reasonably compact and are prefixed with a sort-proof time-stamp.
SimpleFormatter() - Constructor for class org.leialearns.common.logging.SimpleFormatter
Creates a new SimpleFormatter instance.
SimpleFormatter.SilentSetting<T> - Class in org.leialearns.common.logging
 
Static - Class in org.leialearns.common
Provides static convenience methods.
stream() - Method in class org.leialearns.common.TypedIterable
Returns this iterable as a Stream.

T

toList(TypedIterable<T>) - Static method in class org.leialearns.common.Static
Converts the given iterable to a List.
toString() - Method in class org.leialearns.common.BaseSupplier
 
toString() - Method in class org.leialearns.common.L
 
toString() - Method in class org.leialearns.common.Pair
 
toString() - Method in class org.leialearns.common.Setting
 
TransformingIterable<T> - Class in org.leialearns.common
Produces iterators that transform each element returned by an iterator of a backing iterable.
TransformingIterable(Iterable<?>, Class<T>, Function<Object, T>) - Constructor for class org.leialearns.common.TransformingIterable
Creates a new TransformingIterable instance.
TypedIterable<T> - Class in org.leialearns.common
Adds a bit of run-time type information to an iterable.
TypedIterable(Iterable<T>, Class<T>) - Constructor for class org.leialearns.common.TypedIterable
Creates a new TypedIterable instance.
TypedIterable(Class<T>, Iterable<?>) - Constructor for class org.leialearns.common.TypedIterable
Creates a new TypedIterable instance.

W

wrap(Throwable) - Static method in class org.leialearns.common.ExceptionWrapper
Returns the given throwable as a RuntimeException wrapping it in a new RuntimeException if necessary.
A B C D E F G H I J L N O P R S T W 

Copyright © 2014. All rights reserved.