Index
All Classes and Interfaces|All Packages|Serialized Form
C
- compareTo(T) - Method in class org.spokbjorn.lazy.Lazy
E
- equals(Object) - Method in class org.spokbjorn.lazy.Lazy
G
- get() - Method in class org.spokbjorn.lazy.Lazy
-
Gets the lazily initialized value, computing it if necessary.
H
- hashCode() - Method in class org.spokbjorn.lazy.Lazy
L
- lazy(Supplier<T>) - Static method in class org.spokbjorn.lazy.Lazy
- Lazy<T> - Class in org.spokbjorn.lazy
-
A generic class for creating a lazy-initialized value that can be computed on-demand.
M
- map(Function<? super T, ? extends R>) - Method in class org.spokbjorn.lazy.Lazy
-
Returns a new
Lazyinstance that holds a lazily evaluated result of applying the given mapping function to the value held by this instance.
O
- of(Supplier<T>) - Static method in class org.spokbjorn.lazy.Lazy
- org.spokbjorn.lazy - package org.spokbjorn.lazy
-
Lazy loading helps with not allocating unnecessary memory to the heap when it's not needed.
S
- same(Object) - Method in class org.spokbjorn.lazy.Lazy
-
Compares this
get()instance to another object to determine if they are the same value. - same(Lazy<T>) - Method in class org.spokbjorn.lazy.Lazy
-
Compares this
Lazyinstance to another instance to determine if they hold the same lazily initialized value.
T
- toolbox.lazy - module toolbox.lazy
-
Defines the Lazy API.
- toString() - Method in class org.spokbjorn.lazy.Lazy
All Classes and Interfaces|All Packages|Serialized Form