Skip navigation links
A C D E F G H I J N O 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.

C

compare(T, T) - Static method in class org.leialearns.common.Static
Compares the two given objects, handling null values predictably.

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.
ExceptionWrapper - Class in org.leialearns.common
Provides a static function to wrap a throwable in a RuntimeException if necessary.

F

first() - Method in class org.leialearns.common.TypedIterable
Returns the first item of this iterable.

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
 
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.
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

HasWrappedIterable - Interface in org.leialearns.common
Provides a method to get the original iterable that was wrapped by i.e.

I

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

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.
notNull(Iterable<T>) - Static method in class org.leialearns.common.Static
Returns the given iterable, or an empty iterable if null is given.

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
 

S

set(T) - Method in class org.leialearns.common.Setting
Sets the value, if possible.
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.
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.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 C D E F G H I J N O S T W 

Copyright © 2014. All rights reserved.