MCPcopy Create free account

hub / github.com/BruceEckel/AtomicKotlinExamples / functions

Functions3,170 in github.com/BruceEckel/AtomicKotlinExamples

↓ 833 callersMethodtestExample
Tests/AbstractTestExamples.kt:19
↓ 77 callersFunctioncapture
* Captures an exception and produces * information about it. Usage: * capture { * // Code that fails * } eq "FailureException: message"
Examples/AtomicTest/AtomicTest.kt:95
↓ 48 callersFunctiontrace
Examples/Logging/SimpleLoggingStrategy.kt:14
↓ 33 callersFunctionadd
Examples/LocalFunctions/Task3.kt:8
↓ 28 callersFunctionrequire
Examples/NothingType/NothingTypeSoln2.kt:20
↓ 22 callersMethodcontains
Examples/AtomicTest/AtomicTest.kt:78
↓ 20 callersFunctionrepeat
Examples/HigherOrderFunctions/Repeat.kt:6
↓ 17 callersMethodapply
Examples/Inheritance/Task1.kt:11
↓ 15 callersFunctionf
Examples/CheckInstructions/CheckInstructionsSoln1.kt:6
↓ 15 callersMethodrun
Add a function:
Examples/Inheritance/GreatApe2.kt:27
↓ 13 callersFunctionf
Examples/Objects/Share1.kt:6
↓ 13 callersMethodgetValue
Examples/IntroGenerics/AnyInstead.kt:7
↓ 12 callersMethodadd
Examples/Properties/Task1.kt:9
↓ 12 callersMethodeq
* Compares trc contents to a multiline * `String` by ignoring white space. */
Examples/AtomicTest/AtomicTest.kt:121
↓ 12 callersMethodf
Examples/CreatingGenerics/DefiningGenerics.kt:8
↓ 12 callersFunctionfile
etc/ObjectOrientedDesign/build.gradle.kts:38
↓ 12 callersFunctionlog
Examples/LocalFunctions/LocalFunctions.kt:7
↓ 11 callersFunctioncheckAnagrams
Examples/Lists/Task3.kt:6
↓ 10 callersMethodinfo
Examples/Logging/AtomicLog.kt:12
↓ 10 callersMethodtake
Examples/PropertyAccessors/Hamsters.kt:22
↓ 9 callersMethodbark
Examples/DownCasting/Creature.kt:13
↓ 9 callersFunctioncapture
Examples/ExceptionHandling/CaptureImplementation.kt:6
↓ 9 callersFunctiong
Examples/CheckInstructions/CheckInstructionsSoln1.kt:22
↓ 9 callersMethodput
Examples/CreatingGenerics/Crate.kt:7
↓ 9 callersMethodwho
Examples/ScopeFunctions/Gnome.kt:6
↓ 8 callersMethodbark
Examples/CreatingGenerics/Speakers.kt:11
↓ 8 callersFunctioncheck
Examples/CreatingGenerics/CheckType.kt:6
↓ 8 callersMethodget
(String s)
Examples/interoperability/JTool.java:6
↓ 8 callersFunctionpeople
Examples/BuildingMaps/People.kt:17
↓ 8 callersMethodtoSet
Examples/IntroGenerics/Task3.kt:17
↓ 7 callersMethodcheck
[3]
Examples/Summary2/JetPack.kt:17
↓ 7 callersMethoderror
Examples/Logging/AtomicLog.kt:14
↓ 7 callersFunctionfn
Examples/CheckInstructions/CheckInstructionsSoln2.kt:6
↓ 7 callersFunctiontransform
Examples/Lambdas/Task1.kt:6
↓ 6 callersMethodadd
Examples/CheckInstructions/CheckInstructionsSoln4.kt:11
↓ 6 callersFunctioncloudiness
Examples/WhenExpressions/Task1.kt:7
↓ 6 callersFunctioncolor
Examples/NamedAndDefaultArgs/Color2.kt:6
↓ 6 callersMethodcount
Examples/IntroGenerics/Task3.kt:13
↓ 6 callersFunctionf
Examples/ExpressionsStatements/Task2.kt:5
↓ 6 callersFunctionfibonacciIterative
Examples/Recursion/Task3.kt:21
↓ 6 callersFunctionfirst
Examples/Summary1/Task3.kt:5
↓ 6 callersMethodmethod
()
Examples/interoperability/JTool.java:10
↓ 6 callersFunctionshow
Examples/StringTemplates/Task3.kt:5
↓ 6 callersFunctionshowRange
Examples/LoopingAndRanges/ForWithRanges.kt:4
↓ 6 callersFunctionsum
Examples/Testing/Task2.kt:7
↓ 6 callersFunctiontestFortyTwo2
Examples/UnitTesting/UsingExpect.kt:7
↓ 5 callersFunctionexists
Examples/SafeCallsAndElvis/Task3.kt:18
↓ 5 callersMethodf
Examples/InheritanceExtensions/NoExtOverride.kt:7
↓ 5 callersFunctionfilter
Examples/ManipulatingLists/Task7.kt:6
↓ 5 callersMethodget
Examples/CreatingGenerics/Crate.kt:8
↓ 5 callersFunctionsum
Examples/Varargs/VarargSum.kt:6
↓ 5 callersFunctiontest
Examples/AtomicTest/AtomicTest.kt:9
↓ 5 callersFunctionvalidate
etc/Experiments/Fibonacci.kt:7
↓ 4 callersFunctiona
Examples/CreatingGenerics/ReificationA.kt:6
↓ 4 callersFunctionabs
Examples/Testing/Task1.kt:6
↓ 4 callersFunctioncompute
Examples/LazyInitialization/LazyInitSoln1.kt:7
↓ 4 callersFunctioncompute
Examples/LazyInitialization/PropertyOptions.kt:6
↓ 4 callersFunctioncompute
Examples/Destructuring/Pairs.kt:6
↓ 4 callersFunctionconvertFromRoman
Examples/Summary2/Task8.kt:21
↓ 4 callersFunctionconvertToRoman
Examples/Summary2/Task7.kt:21
↓ 4 callersFunctiondebug
Examples/NothingType/NothingTypeSoln3.kt:13
↓ 4 callersFunctiongFunction
Examples/CreatingGenerics/DefiningGenerics.kt:5
↓ 4 callersMethodget
Examples/Lists/IntList2.kt:9
↓ 4 callersFunctiongetTrace
Examples/CheckInstructions/GetTrace.kt:6
↓ 4 callersFunctiongn
Examples/CheckInstructions/CheckInstructionsSoln2.kt:23
↓ 4 callersMethodgrow
Extension function:
Examples/InnerClasses/QualifiedThis.kt:39
↓ 4 callersMethodheat
Examples/InheritanceExtensions/Heater.kt:7
↓ 4 callersFunctioninFloatRange
Examples/InKeyword/FloatingPointRange.kt:4
↓ 4 callersMethodincrement
Examples/ScopeFunctions/Differences.kt:8
↓ 4 callersFunctionlaunch
Examples/NonNullAssertions/Task1.kt:10
↓ 4 callersFunctionperform
etc/Experiments/AssistedLatentTyping.kt:13
↓ 4 callersMethodplay
Examples/Polymorphism/Task1.kt:29
↓ 4 callersMethodpush
Examples/Composition/Task2.kt:8
↓ 4 callersMethodput
Examples/Composition/Task3.kt:8
↓ 4 callersMethodput
Examples/Composition/Task2.kt:14
↓ 4 callersMethodreset
Examples/CheckInstructions/DataFile.kt:17
↓ 4 callersMethods
Examples/CompanionObjects/NamingCompanionObjects.kt:8
↓ 4 callersFunctionselect
Examples/CreatingGenerics/Select.kt:6
↓ 4 callersMethodset
Examples/CheckInstructions/CheckInstructionsSoln3.kt:27
↓ 4 callersFunctionshow
Examples/LazyInitialization/LazyInitSoln1.kt:22
↓ 4 callersMethodshow
Examples/ScopeFunctions/Blob.kt:8
↓ 4 callersFunctionshowAnd
Examples/Booleans/Task2.kt:5
↓ 4 callersFunctionshowOr
Examples/Booleans/Task2.kt:9
↓ 4 callersMethodspeak
Examples/InnerClasses/InnerEx1.kt:7
↓ 4 callersFunctiontalk
Examples/CreatingGenerics/Speakers.kt:18
↓ 4 callersFunctiontest
Examples/ExceptionHandling/Task2.kt:52
↓ 4 callersFunctiontest
Examples/ExceptionHandling/Handlers.kt:13
↓ 4 callersMethodtoString
Examples/SecondaryConstructors/Task3.kt:15
↓ 4 callersMethodtoString
Examples/ExtensionLambdas/Sandwich.kt:9
↓ 4 callersFunctionturn
Examples/TypeChecking/TypeCheck1.kt:19
↓ 4 callersFunctionwhat
Examples/DownCasting/Creature.kt:20
↓ 3 callersFunctionabsMinIsMax
Examples/NonNullAssertions/Task3.kt:7
↓ 3 callersMethodadd
Examples/CreatingGenerics/CreatingGenericsSoln2.kt:13
↓ 3 callersMethodadd
Examples/IntroGenerics/Task3.kt:9
↓ 3 callersFunctionall
Examples/UsingOperators/UsingOperatorsSoln1.kt:19
↓ 3 callersMethodapply
Examples/Objects/ObjectInheritance.kt:7
↓ 3 callersMethodbite
Examples/InheritanceExtensions/Task1.kt:24
↓ 3 callersMethodbite
Examples/ClassDelegation/Task2.kt:24
↓ 3 callersFunctioncalculateBMI
Examples/Testing/TDDWorks.kt:12
↓ 3 callersMethodchangeColor
Implicit label @Fruit
Examples/InnerClasses/QualifiedThis.kt:8
next →1–100 of 3,170, ranked by callers