Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AdoptOpenJDK/lambda-tutorial
/ functions
Functions
147 in github.com/AdoptOpenJDK/lambda-tutorial
⨍
Functions
147
◇
Types & classes
43
Method
equals
(Object o)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Author.java:46
Method
featureValueOf
(FROM t)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/FeatureMatchers.java:53
Method
fullName
Return the firstName and LastName @return Full name
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Author.java:42
Method
getAge
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Person.java:38
Method
getAllBookTitles
Use Stream.map() to convert a collection of books into a collection of their titles.
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_3_Test.java:147
Method
getAllPersonsEligibleToVote
Use <code>Stream.filter()</code> to produce a list containing only those Persons eligible to vote. @see Person#getAge()
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_2_Test.java:163
Method
getColor
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise1/Shape.java:41
Method
getListOfDocumentTitlesUsingReferenceOfInstanceMethodBelongingToAClass
The <code>Documents</code> class has a method which transforms a list of <code>Document</code> into a list of their titles. The implementation has alr
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_4_Test.java:169
Method
getListOfPageCharacterCountsFromDocumentUsingReferenceOfStaticMethodBelongingToAClass
The <code>Documents</code> class has a method which calculates a list of the character counts of Pages in a Document. The method <code>characterCount<
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_4_Test.java:194
Method
getNamesOfAuthorsOfBooks
Use Stream.map() to convert a collection of books into a collection of the author's full names. Note that it is possible to chain calls to map(). E.g
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_3_Test.java:161
Method
getParty
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Ballot.java:70
Method
getPrefix
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/ElectoralDistrict.java:74
Method
getPublishersRepresentedByBooks
Use Stream.map() to convert a collection of books into a collection of the distinct publishers represented within the given list of books. For example
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_3_Test.java:179
Method
hashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/RegisteredVoter.java:50
Method
hashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/Rating.java:52
Method
hashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Book.java:54
Method
hashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Publisher.java:48
Method
hashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Author.java:59
Method
main
Utility method to warn users if they have an incorrect environment @param args - should be <code>null</code>
src/main/java/org/adoptopenjdk/lambda/setupcheck/ConfigureYourLambdaBuildOfJdk.java:39
Method
matchesSafely
(Class<?> clazz, Description mismatchDescription)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/CodeUsesMethodReferencesMatcher.java:61
Method
matchesSafely
(Class<?> item, Description mismatchDescription)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/HasConcreteMethod.java:46
Method
matchesSafely
(String actual, Description mismatchDescription)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/StringWithComparisonMatcher.java:45
Method
overrideDefaultMethodInInterfaceToProvideUserEnteredSongRatings
Override the default method {@link MusicLibrary#ratingOf(Song)} in {@link UserRatedMusicLibrary} to return a {@link Rating} based on the {@link StarRa
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_5_Test.java:243
Method
overridesDefaultMethodInClassToProvideCustomSongRatingAlgorithm
Override the default method {@link MusicLibrary#ratingOf(Song)} in {@link CloudScrobblingMusicLibrary} to return a {@link Rating} based on the rating
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_5_Test.java:227
Method
printContentsOfDocumentUsingReferenceOfInstanceMethodBeloningToAnObject
The <code>Documents</code> class has a method which takes a <code>PagePrinter</code> and renders a <code>Document</code> to text. The method uses two
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_4_Test.java:218
Method
removeAllSpoiledBallots
Use Stream.filter() to remove all the ballots that have been spoiled. @see ElectoralDistrict#unspoiledBallots(Set) @see Ballot#isSpoiled
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_2_Test.java:222
Method
retrieveScrobbledRatingOf
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/CloudScrobblingMusicLibrary.java:58
Method
setColor
(Color color)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise1/Shape.java:45
Method
setOfVotersInDistrict
<p> Use Stream.filter() to find all the voters residing in a given district. </p> <p> The resulting collection is to be used for quick lookups to find
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_2_Test.java:199
Method
setOfVotersInDistrictInUnmodifiableSet
<p> Ensure that the Set returned cannot be modified by callers by wrapping the result in Collections.unmodifiableSet(). </p> @throws ClassNotFoundExce
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_2_Test.java:252
Method
songBy
(String artist)
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_5_Test.java:251
Method
sort
(Collection<Song> songs)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/MusicLibrary.java:41
Method
timesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/UserRatedLocalFilesystemMusicLibrary.java:68
Method
timesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/CloudScrobblingMusicLibrary.java:46
Method
timesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/LocalFilesystemMusicLibrary.java:48
Method
timesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/MusicLibrary.java:59
Method
toContent
(File file)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/CodeUsesMethodReferencesMatcher.java:110
Method
toString
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Ballot.java:40
Method
toString
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/RegisteredVoter.java:55
Method
toString
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/Rating.java:57
Method
transformPagesToHaveFooterUsingReferenceOfInstanceMethodBelonginToThisObject
The <code>Document</code> class has a method which can create a new Document where all the pages have had a footer appended to it of the format "Docum
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_4_Test.java:247
Method
translate
(String input)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise4/Translator.java:31
Method
useDefaultMethodToReturnPlaylistOrderedByArtist
Add a default method to {@link MusicLibrary} that returns every song in the library, sorted by artist. You should NOT need to add a method to any impl
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_5_Test.java:198
Method
userRatingOf
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/UserRatedLocalFilesystemMusicLibrary.java:44
Method
userRatingOf
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/UserRatedMusicLibrary.java:27
Method
visitMethod
(int access, String name, String desc, String signature, String[] exceptions)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/HasConcreteMethod.java:87
Method
visitSource
(String source, String debug)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/CodeUsesMethodReferencesMatcher.java:156
← previous
101–147 of 147, ranked by callers