Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lab_reactive_java
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rtbdp
labs
lab_reactive_java
Commits
dbfab067
Commit
dbfab067
authored
8 years ago
by
Stuart Marks
Browse files
Options
Downloads
Patches
Plain Diff
minor updates from Maurice
parent
d0eff0cc
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
LambdaLab/test/solutions/A_LambdasAndMethodReferences.java
+3
-3
3 additions, 3 deletions
LambdaLab/test/solutions/A_LambdasAndMethodReferences.java
LambdaLab/test/suite/JUnit4TestSuite.java
+4
-2
4 additions, 2 deletions
LambdaLab/test/suite/JUnit4TestSuite.java
with
7 additions
and
5 deletions
LambdaLab/test/solutions/A_LambdasAndMethodReferences.java
+
3
−
3
View file @
dbfab067
...
@@ -172,7 +172,7 @@ public class A_LambdasAndMethodReferences {
...
@@ -172,7 +172,7 @@ public class A_LambdasAndMethodReferences {
@Test
@Test
public
void
a13bifunction
()
{
public
void
a13bifunction
()
{
// TODO: write a lambda expression, given two strings, returns the result
// TODO: write a lambda expression
that
, given two strings, returns the result
// of concatenating the first, followed by the second, followed by the
// of concatenating the first, followed by the second, followed by the
// first again.
// first again.
//UNCOMMENT//BiFunction<String, String, String> bifunc = null;
//UNCOMMENT//BiFunction<String, String, String> bifunc = null;
...
@@ -186,7 +186,7 @@ public class A_LambdasAndMethodReferences {
...
@@ -186,7 +186,7 @@ public class A_LambdasAndMethodReferences {
@Test
@Test
public
void
a14bifunction
()
{
public
void
a14bifunction
()
{
// TODO: write a lambda expression that returns the index of
// TODO: write a lambda expression that returns the index of
// the first occurrence the second string within the first string,
// the first occurrence
of
the second string within the first string,
// or -1 if the second string doesn't occur within the first string.
// or -1 if the second string doesn't occur within the first string.
//UNCOMMENT//BiFunction<String, String, Integer> bifunc = null;
//UNCOMMENT//BiFunction<String, String, Integer> bifunc = null;
//BEGINREMOVE
//BEGINREMOVE
...
@@ -200,7 +200,7 @@ public class A_LambdasAndMethodReferences {
...
@@ -200,7 +200,7 @@ public class A_LambdasAndMethodReferences {
@Test
@Test
public
void
a15bifunction
()
{
public
void
a15bifunction
()
{
// TODO: write a method reference that returns the index of
// TODO: write a method reference that returns the index of
// the first occurrence the second string within the first string,
// the first occurrence
of
the second string within the first string,
// or -1 if the second string doesn't occur within the first string.
// or -1 if the second string doesn't occur within the first string.
//UNCOMMENT//BiFunction<String, String, Integer> bifunc = null;
//UNCOMMENT//BiFunction<String, String, Integer> bifunc = null;
//BEGINREMOVE
//BEGINREMOVE
...
...
This diff is collapsed.
Click to expand it.
LambdaLab/test/suite/JUnit4TestSuite.java
+
4
−
2
View file @
dbfab067
...
@@ -4,7 +4,9 @@ import org.junit.runner.RunWith;
...
@@ -4,7 +4,9 @@ import org.junit.runner.RunWith;
import
org.junit.runners.Suite
;
import
org.junit.runners.Suite
;
@RunWith
(
Suite
.
class
)
@RunWith
(
Suite
.
class
)
// XXX @Suite.SuiteClasses(value={exercises.Exercises.class})
@Suite
.
SuiteClasses
(
value
={
@Suite
.
SuiteClasses
(
value
={
solutions
.
Exercises
.
class
})
exercises
.
A_LambdasAndMethodReferences
.
class
,
exercises
.
Exercises
.
class
})
public
class
JUnit4TestSuite
{
public
class
JUnit4TestSuite
{
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment