Skip to content
Features
Business
Explore
Marketplace
Pricing
This repository
Sign in
or
Sign up
Watch
56
Star
131
Fork
157
samtools
/
htsjdk
Code
Issues
168
Pull requests
39
Projects
0
Wiki
Insights
Pulse
Graphs
made LazyInitializer a @FunctionalIterface to enable java8 sugar.
#652
Merged
yfarjoun
merged 1 commit into
master
from
yf_LazyInitializer_functional
Jun 28, 2016
Conversation
5
Commits
1
Files changed
1
Changes from
all commits
Commits
Show all changes
1 commit
Select commit
abc4c18
made LazyInitializer a @FunctionalIterface to enable java8 sugar.
yfarjoun
Jun 27, 2016
Jump to…
Jump to file or symbol
Failed to load files and symbols.
Retry
+1
−0
Unified
Split
Show comments
View
1
src/main/java/htsjdk/samtools/util/Lazy.java
@@ -28,6 +28,7 @@ public synchronized T get() {
}
/*
* Describes how to build the instance of the lazy object.
*/
+
@FunctionalInterface
public
interface
LazyInitializer
<T> {
/*
* Returns the desired object instance.
*/
T
make
();
Toggle all file notes
You can't perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.