MCPcopy Create free account

hub / github.com/AdoptOpenJDK/lambda-tutorial / functions

Functions147 in github.com/AdoptOpenJDK/lambda-tutorial

Methodequals
(Object o)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Author.java:46
MethodfeatureValueOf
(FROM t)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/FeatureMatchers.java:53
MethodfullName
Return the firstName and LastName @return Full name
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Author.java:42
MethodgetAge
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Person.java:38
MethodgetAllBookTitles
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
MethodgetAllPersonsEligibleToVote
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
MethodgetColor
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise1/Shape.java:41
MethodgetListOfDocumentTitlesUsingReferenceOfInstanceMethodBelongingToAClass
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
MethodgetListOfPageCharacterCountsFromDocumentUsingReferenceOfStaticMethodBelongingToAClass
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
MethodgetNamesOfAuthorsOfBooks
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
MethodgetParty
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Ballot.java:70
MethodgetPrefix
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/ElectoralDistrict.java:74
MethodgetPublishersRepresentedByBooks
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
MethodhashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/RegisteredVoter.java:50
MethodhashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/Rating.java:52
MethodhashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Book.java:54
MethodhashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Publisher.java:48
MethodhashCode
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise3/Author.java:59
Methodmain
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
MethodmatchesSafely
(Class<?> clazz, Description mismatchDescription)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/CodeUsesMethodReferencesMatcher.java:61
MethodmatchesSafely
(Class<?> item, Description mismatchDescription)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/HasConcreteMethod.java:46
MethodmatchesSafely
(String actual, Description mismatchDescription)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/StringWithComparisonMatcher.java:45
MethodoverrideDefaultMethodInInterfaceToProvideUserEnteredSongRatings
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
MethodoverridesDefaultMethodInClassToProvideCustomSongRatingAlgorithm
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
MethodprintContentsOfDocumentUsingReferenceOfInstanceMethodBeloningToAnObject
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
MethodremoveAllSpoiledBallots
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
MethodretrieveScrobbledRatingOf
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/CloudScrobblingMusicLibrary.java:58
MethodsetColor
(Color color)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise1/Shape.java:45
MethodsetOfVotersInDistrict
<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
MethodsetOfVotersInDistrictInUnmodifiableSet
<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
MethodsongBy
(String artist)
src/test/java/org/adoptopenjdk/lambda/tutorial/Exercise_5_Test.java:251
Methodsort
(Collection<Song> songs)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/MusicLibrary.java:41
MethodtimesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/UserRatedLocalFilesystemMusicLibrary.java:68
MethodtimesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/CloudScrobblingMusicLibrary.java:46
MethodtimesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/LocalFilesystemMusicLibrary.java:48
MethodtimesPlayed
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/MusicLibrary.java:59
MethodtoContent
(File file)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/CodeUsesMethodReferencesMatcher.java:110
MethodtoString
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/Ballot.java:40
MethodtoString
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise2/RegisteredVoter.java:55
MethodtoString
()
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/Rating.java:57
MethodtransformPagesToHaveFooterUsingReferenceOfInstanceMethodBelonginToThisObject
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
Methodtranslate
(String input)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise4/Translator.java:31
MethoduseDefaultMethodToReturnPlaylistOrderedByArtist
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
MethoduserRatingOf
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/thirdpartyplugin/UserRatedLocalFilesystemMusicLibrary.java:44
MethoduserRatingOf
(Song song)
src/main/java/org/adoptopenjdk/lambda/tutorial/exercise5/musicplayer/UserRatedMusicLibrary.java:27
MethodvisitMethod
(int access, String name, String desc, String signature, String[] exceptions)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/HasConcreteMethod.java:87
MethodvisitSource
(String source, String debug)
src/test/java/org/adoptopenjdk/lambda/tutorial/util/CodeUsesMethodReferencesMatcher.java:156
← previous101–147 of 147, ranked by callers