SYMBOL INDEX (1067 symbols across 113 files) FILE: .mvn/wrapper/MavenWrapperDownloader.java class MavenWrapperDownloader (line 21) | public class MavenWrapperDownloader { method main (line 48) | public static void main(String args[]) { method downloadFileFromURL (line 97) | private static void downloadFileFromURL(String urlString, File destina... FILE: 0-0-intro/src/main/java/com/bobocode/intro/ExerciseIntroduction.java class ExerciseIntroduction (line 18) | public class ExerciseIntroduction { method getWelcomeMessage (line 25) | public String getWelcomeMessage() { method encodeMessage (line 41) | public String encodeMessage(String message) { FILE: 0-0-intro/src/test/java/com/bobocode/intro/ExerciseIntroductionTest.java class ExerciseIntroductionTest (line 23) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method getWelcomeMessage (line 28) | @Test method encodeMessageReturnsCorrectPhrase (line 37) | @Test FILE: 1-0-java-basics/1-3-0-hello-generics/src/main/java/com/bobocode/basics/Box.java class Box (line 10) | public class Box { method Box (line 13) | public Box(Object value) { method getValue (line 17) | public Object getValue() { method setValue (line 21) | public void setValue(Object value) { FILE: 1-0-java-basics/1-3-0-hello-generics/src/main/java/com/bobocode/basics/BoxDemoApp.java class BoxDemoApp (line 10) | public class BoxDemoApp { method main (line 11) | public static void main(String[] args) { FILE: 1-0-java-basics/1-3-0-hello-generics/src/test/java/com/bobocode/basics/BoxTest.java class BoxTest (line 8) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method boxClassHasOneTypeParameter (line 12) | @Test method typeParameterIsCalledT (line 21) | @Test method typeParameterIsNotBounded (line 30) | @Test method valueFieldIsGeneric (line 40) | @Test method constructorParameterIsGeneric (line 51) | @Test method getterReturnTypeIsGeneric (line 63) | @Test method setterParameterIsGeneric (line 73) | @Test FILE: 1-0-java-basics/1-3-1-crazy-generics/src/main/java/com/bobocode/basics/CrazyGenerics.java class CrazyGenerics (line 28) | public class CrazyGenerics { class Sourced (line 35) | @Data class Limited (line 47) | @Data type Converter (line 62) | public interface Converter { // todo: introduce type parameters class MaxHolder (line 73) | public static class MaxHolder { // todo: refactor class to make it gen... method MaxHolder (line 76) | public MaxHolder(Object max) { method put (line 85) | public void put(Object val) { method getMax (line 89) | public Object getMax() { type StrictProcessor (line 100) | interface StrictProcessor { // todo: make it generic method process (line 101) | void process(Object obj); type CollectionRepository (line 111) | interface CollectionRepository { // todo: update interface according t... method save (line 112) | void save(Object entity); method getEntityCollection (line 114) | Collection getEntityCollection(); type ListRepository (line 123) | interface ListRepository { // todo: update interface according to the ... type ComparableCollection (line 136) | interface ComparableCollection { // todo: refactor it to make generic ... class CollectionUtil (line 142) | static class CollectionUtil { method print (line 150) | public static void print(List list) { method hasNewEntities (line 163) | public static boolean hasNewEntities(Collection entities) { method isValidCollection (line 176) | public static boolean isValidCollection() { method hasDuplicates (line 190) | public static boolean hasDuplicates() { method swap (line 228) | public static void swap(List elements, int i, int j) { FILE: 1-0-java-basics/1-3-1-crazy-generics/src/main/java/com/bobocode/basics/util/BaseEntity.java class BaseEntity (line 10) | @Getter method BaseEntity (line 17) | public BaseEntity(UUID uuid) { FILE: 1-0-java-basics/1-3-1-crazy-generics/src/test/java/com/bobocode/basics/CrazyGenericsTest.java class CrazyGenericsTest (line 35) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method sourcedClassHasOneTypeParameter (line 41) | @Test method sourcedClassTypeParameterIsCalledT (line 50) | @Test method sourcedClassTypeParameterIsNotBounded (line 59) | @Test method valueFieldIsGeneric (line 69) | @Test method limitedClassHasOneTypeParameter (line 81) | @Test method limitedClassTypeParameterIsBoundedByNumber (line 90) | @Test method limitedClassFieldsAreGeneric (line 102) | @Test method converterInterfaceHasTwoTypeParameters (line 114) | @Test method converterInterfaceFirstTypeParameterIsCalledT (line 123) | @Test method converterInterfaceSecondTypeParameterIsCalledR (line 133) | @Test method converterMethodParameterHasTypeT (line 143) | @Test method converterMethodReturnTypeIsR (line 154) | @Test method maxHolderClassHasOneTypeParameter (line 164) | @Test method maxHolderClassTypeParameterIsCalledT (line 173) | @Test method maxHolderClassTypeParameterShouldBeBoundByComparableT (line 182) | @Test method maxHolderFieldHasTypeT (line 194) | @Test method maxHolderConstructorParamHasTypeT (line 203) | @Test method maxHolderPutMethodParamHasTypeT (line 215) | @Test method maxHolderGetMaxReturnTypeIsT (line 226) | @Test method maxHolderPut (line 236) | @Test method maxHolderPutWhenArgumentIsLessThanMax (line 251) | @Test method strictProcessorHasOneGenericType (line 266) | @Test method strictProcessorTypeParameterIsCalledT (line 275) | @Test method strictProcessorTypeParameterIsBoundBySerializableAndComparable (line 285) | @Test method strictProcessorProcessMethodParameterHasTypeT (line 298) | @Test method collectionRepositoryHasTwoTypeParameters (line 310) | @Test method collectionRepositoryFirstTypeParameterIsCalledT (line 319) | @Test method collectionRepositoryFirstTypeParameterIsBoundedByBaseEntity (line 328) | @Test method collectionRepositorySecondTypeParameterIsCalledT (line 338) | @Test method collectionRepositorySecondTypeParameterIsBoundedByCollection (line 347) | @Test method collectionRepositorySaveMethodParameterHasTypeT (line 358) | @Test method collectionRepositoryGetCollectionMethodHasReturnTypeC (line 370) | @Test method listRepositoryExtendsCollectionRepository (line 380) | @Test method listRepositoryHasOneTypeParameter (line 389) | @Test method listRepositoryTypeParameterIsCalledT (line 398) | @Test method listRepositoryTypeParameterIsBoundByBaseEntity (line 407) | @Test method listRepositoryParentInterfaceHasSpecifiedTwoTypes (line 417) | @Test method comparableCollectionIsGeneric (line 427) | @Test method comparableCollectionExtendsCollection (line 437) | @Test method comparableCollectionExtendsCollectionOfTheSameElementsType (line 449) | @Test method comparableCollectionExtendsComparable (line 463) | @Test method comparableCollectionExtendsComparableOfCollectionOfAnyType (line 475) | @Test method comparableCollectionOverridesCompareToMethod (line 489) | @Test method compareToProvidesDefaultImpl (line 500) | @Test method compareToParamIsACollectionOfAnyType (line 509) | @Test method compareToComparesSize (line 520) | @Order(46) method collectionUtilIsNotAGenericClass (line 537) | @Test method printParamIsAListOfAnyType (line 546) | @Test method hasNewEntitiesMethodParamIsAGenericCollectionOfEntities (line 558) | @Test method hasNewEntitiesChecksIds (line 570) | @ParameterizedTest method getMethodByName (line 583) | private Method getMethodByName(Class clazz, String methodName) { method hasNewEntitiesArgs (line 589) | static Stream hasNewEntitiesArgs() { method isValidCollectionMethodFirstParamIsAGenericCollectionOfEntities (line 602) | @Test method isValidCollectionMethodSecondParamIsAnyBaseEntitySuperClass (line 614) | @Test method isValidCollectionReturnsTrueWhenAllEntitiesPassValidationPredicate (line 626) | @ParameterizedTest method isValidCollectionArgs (line 641) | private static Stream isValidCollectionArgs() { method hasDuplicatesIsAGenericMethod (line 669) | @Test method hasDuplicatesTypeParameterIsCalledT (line 678) | @Test method hasDuplicatesTypeParameterIsBoundedByBaseEntity (line 688) | @Test method hasDuplicatesChecksEntitiesByUUID (line 699) | @ParameterizedTest method hasDuplicatesArgs (line 712) | static Stream hasDuplicatesArgs() { method findMaxHasPublicAccessType (line 725) | @Test method findMaxMethodReturnMaxValue (line 733) | @ParameterizedTest method findMaxArgs (line 746) | static Stream findMaxArgs() { method findMostRecentlyCreatedEntityHasPublicAccessType (line 764) | @Test method findMostRecentlyCreatedEntityIsAGenericMethod (line 772) | @Test method findMostRecentlyCreatedEntityReturnsEntityWithMaxCreatedOnValue (line 784) | @ParameterizedTest method findMostRecentlyCreatedEntityArgs (line 798) | static Stream findMostRecentlyCreatedEntityArgs() { method findMostRecentlyCreatedEntityThrowsException (line 811) | @Test method swapMethodDoesNotDeclareTypeParameter (line 822) | @Test method swapChangesElements (line 832) | @Test class TestEntity (line 848) | static class TestEntity extends BaseEntity { method TestEntity (line 849) | public TestEntity() { method TestEntity (line 853) | public TestEntity(UUID uuid) { method TestEntity (line 857) | public TestEntity(LocalDateTime createdOn) { FILE: 1-0-java-basics/1-3-2-heterogeneous-max-holder/src/main/java/com/bobocode/basics/HeterogeneousMaxHolder.java class HeterogeneousMaxHolder (line 17) | public class HeterogeneousMaxHolder { FILE: 1-0-java-basics/1-3-2-heterogeneous-max-holder/src/test/java/com/bobocode/basics/HeterogeneousMaxHolderTest.java class HeterogeneousMaxHolderTest (line 24) | @TestMethodOrder(OrderAnnotation.class) method classDoesNotDeclareTypeParameters (line 29) | @Test method classHasOneField (line 38) | @Test method mapFieldStoresTypeToObject (line 48) | @Test method putExists (line 59) | @Test method putDeclaresOneTypeParam (line 69) | @Test method putMethodAcceptsTypeSafeKeyParameter (line 82) | @Test method putMethodAcceptsComparableValueParameter (line 95) | @Test method putMethodAcceptsValueParameterWithComparableSuperClass (line 107) | @Test method putStoresValueWhenCurrentMaxIsNull (line 121) | @Test method putReturnsNullWhenCurrentMaxIsNull (line 132) | @Test method putStoresValueWhenCurrentMaxIsSmaller (line 142) | @Test method putReturnsOldMaxValue (line 155) | @Test method putIgnoresNewValueWhenCurrentMaxIsGreater (line 167) | @Test method putReturnsProvidedValueWhenCurrentMaxIsGreater (line 180) | @Test method putIsOverloadedWithAdditionalComparatorParam (line 192) | @Test method overloadedPutDeclaresOneTypeParam (line 200) | @Test method overloadedPutMethodAcceptsTypeSafeKeyParameter (line 213) | @Test method overloadedPutMethodAcceptsAnyValue (line 226) | @Test method overloadedPutAcceptsComparatorOfSuperTypes (line 239) | @Test method overloadedPutStoresValueWhenCurrentMaxIsNull (line 252) | @Test method overloadedPutReturnsNullWhenCurrentMaxIsNull (line 264) | @Test method overloadedPutStoresValueWhenCurrentMaxIsSmaller (line 274) | @Test method overloadedPutReturnsOldMaxValue (line 290) | @Test method overloadedPutIgnoresNewValueWhenCurrentMaxIsGreater (line 305) | @Test method overloadedPutReturnsProvidedValueWhenCurrentMaxIsGreater (line 321) | @Test method getMaxExists (line 336) | @Test method getMaxDeclaresOneTypeParam (line 346) | @Test method getMaxHasOneParameter (line 358) | @Test method getMaxParamSpecifyTypeArguments (line 370) | @Test method getMaxReturnsValueWhenItExists (line 381) | @Test method getMaxReturnsNullWhenNoValueByGivenTypeExists (line 392) | @Test method maxHolderKeepsTrackOfMultipleValuesPerType (line 401) | @Test method callGetMax (line 419) | @SneakyThrows method getGetMaxMethod (line 426) | private Method getGetMaxMethod() { method getPutMethod (line 433) | private Method getPutMethod() { method getOverloadedPutMethod (line 441) | private Method getOverloadedPutMethod() { method givenMaxHolderWithData (line 449) | private void givenMaxHolderWithData(Class type, Object value) { method callPut (line 455) | @SneakyThrows method callPut (line 462) | @SneakyThrows method getMaxHelper (line 469) | @SneakyThrows method getInternalMap (line 475) | @SneakyThrows FILE: 1-0-java-basics/1-5-0-hello-annotations/src/main/java/com/bobocode/basics/HelloAnnotationsExercise.java class HelloAnnotationsExercise (line 16) | public class HelloAnnotationsExercise { // todo: mark class with the ann... FILE: 1-0-java-basics/1-5-0-hello-annotations/src/main/java/com/bobocode/basics/Level.java type Level (line 6) | public enum Level { FILE: 1-0-java-basics/1-5-0-hello-annotations/src/test/java/com/bobocode/basics/HelloAnnotationsExerciseTest.java class HelloAnnotationsExerciseTest (line 12) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method exerciseAnnotationExists (line 15) | @Test method exerciseAnnotationCanBeAppliedForClasses (line 22) | @Test method exerciseAnnotationInfoIsAccessibleAtRuntime (line 35) | @Test method exerciseAnnotationHasValueDeclared (line 47) | @Test method exerciseAnnotationHasComplexityDeclared (line 58) | @Test method exerciseAnnotationComplexityLevelDefaultValue (line 69) | @Test method helloAnnotationExerciseIsAnnotatedWithExercise (line 81) | @Test method getExerciseAnnotation (line 95) | @SneakyThrows FILE: 2-0-data-structures-and-algorithms/2-2-1-node/src/main/java/com/bobobode/cs/Node.java class Node (line 11) | public class Node { FILE: 2-0-data-structures-and-algorithms/2-2-1-node/src/main/java/com/bobobode/cs/Nodes.java class Nodes (line 13) | public class Nodes { method Nodes (line 14) | private Nodes() { method create (line 24) | public static Node create(T element) { method link (line 35) | public static void link(Node first, Node second) { method pairOf (line 48) | public static Node pairOf(T firstElement, T secondElement) { method closedPairOf (line 62) | public static Node closedPairOf(T firstElement, T secondElement) { method chainOf (line 74) | public static Node chainOf(T... elements) { method circleOf (line 87) | public static Node circleOf(T... elements) { FILE: 2-0-data-structures-and-algorithms/2-2-1-node/src/test/java/com/bobocode/cs/NodesTest.java class NodesTest (line 17) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method create (line 20) | @Test method link (line 31) | @Test method pair (line 45) | @Test method closedPair (line 59) | @Test method chain (line 73) | @Test method circle (line 93) | @Test method createNodeOf (line 113) | @SneakyThrows method getNodeElement (line 130) | @SneakyThrows method setNodeElement (line 137) | @SneakyThrows method getNodeNext (line 143) | @SneakyThrows method setNodeNext (line 150) | @SneakyThrows method getAccessibleElementField (line 156) | private Field getAccessibleElementField() { method getAccessibleNextField (line 165) | private Field getAccessibleNextField() { FILE: 2-0-data-structures-and-algorithms/2-2-2-stack/src/main/java/com/bobocode/cs/LinkedStack.java class LinkedStack (line 17) | public class LinkedStack implements Stack { method of (line 26) | public static LinkedStack of(T... elements) { method push (line 36) | @Override method pop (line 48) | @Override method size (line 58) | @Override method isEmpty (line 68) | @Override FILE: 2-0-data-structures-and-algorithms/2-2-2-stack/src/main/java/com/bobocode/cs/Stack.java type Stack (line 12) | public interface Stack { method push (line 14) | void push(T element); method pop (line 16) | T pop(); method size (line 18) | int size(); method isEmpty (line 20) | boolean isEmpty(); FILE: 2-0-data-structures-and-algorithms/2-2-2-stack/src/main/java/com/bobocode/cs/exception/EmptyStackException.java class EmptyStackException (line 3) | public class EmptyStackException extends RuntimeException{ FILE: 2-0-data-structures-and-algorithms/2-2-2-stack/src/test/java/com/bobocode/cs/LinkedStackTest.java class LinkedStackTest (line 24) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method checkProperInnerClassName (line 47) | @Test method noteIsAGenericClass (line 55) | @Test method checkProperHeadFieldName (line 64) | @Test method checkProperSizeFieldName (line 76) | @Test method checkProperElementField (line 88) | @Test method checkProperNextField (line 104) | @Test method of (line 116) | @Test method push (line 127) | @Test method pushAddsElementWhenStackIsEmpty (line 136) | @Test method pushAddsElementToHeadWhenStackIsEmpty (line 145) | @Test method pushAddsElementToHeadWhenStackIsNotEmpty (line 157) | @Test method pushPutsHeadToNextOfNewHead (line 171) | @Test method pushThrowsExceptionWhenElementIsNull (line 188) | @Test method popElementWhenStackIsEmpty (line 195) | @Test method pop (line 202) | @Test method popResetsHeadFromNextOfOldHead (line 213) | @Test method sizeWhenStackIsEmpty (line 228) | @Test method size (line 237) | @Test method sizeIncreasesWhenUseOfMethod (line 246) | @Test method sizeIncreasesWhenPush (line 255) | @Test method sizeDecreasesWhenPop (line 266) | @Test method isEmpty (line 276) | @Test method isEmptyWhenStackIsEmpty (line 287) | @Test method getInnerClass (line 295) | private Class getInnerClass() { method getHeadField (line 301) | private Field getHeadField() { method getNodeElementField (line 310) | private Field getNodeElementField(Object node) { method getNodeNextField (line 319) | private Field getNodeNextField(Object node) { method getHeadObject (line 328) | @SneakyThrows method getNodeElementInt (line 333) | @SneakyThrows method getNodeNextObject (line 338) | @SneakyThrows method contains (line 343) | private boolean contains(int element) { method checkNext (line 356) | private boolean checkNext(Object node, int element) { method newNode (line 364) | @SneakyThrows method fillTestStack (line 380) | private void fillTestStack(int... elements) { method addToStack (line 387) | @SneakyThrows method getInnerSizeField (line 396) | private Field getInnerSizeField() { method setInnerSize (line 405) | @SneakyThrows method getInnerSize (line 410) | @SneakyThrows FILE: 2-0-data-structures-and-algorithms/2-2-3-linked-queue/src/main/java/com/bobocode/cs/LinkedQueue.java class LinkedQueue (line 17) | public class LinkedQueue implements Queue { method add (line 24) | public void add(T element) { method poll (line 33) | public T poll() { method size (line 42) | public int size() { method isEmpty (line 51) | public boolean isEmpty() { FILE: 2-0-data-structures-and-algorithms/2-2-3-linked-queue/src/main/java/com/bobocode/cs/Queue.java type Queue (line 7) | public interface Queue { method add (line 13) | void add(T element); method poll (line 20) | T poll(); method size (line 27) | int size(); method isEmpty (line 34) | boolean isEmpty(); FILE: 2-0-data-structures-and-algorithms/2-2-3-linked-queue/src/test/java/com/bobocode/cs/LinkedQueueTest.java class LinkedQueueTest (line 26) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method createNodeClass (line 54) | @Test method checkFieldsNameInNodeClass (line 63) | @Test method checkFieldsInQueueCLass (line 74) | @Test method addFillsQueueWhenItIsEmpty (line 87) | @Test method addFillsQueueWhenItIsNotEmpty (line 103) | @Test method addIncreasesQueueSize (line 122) | @Test method pollReturnsNullWhenQueueIsEmpty (line 132) | @Test method pollDeletesElementFromHead (line 140) | @Test method pollDecreasesQueueSize (line 154) | @Test method pollMakesSizeZeroWhenQueueHasSingleElement (line 165) | @Test method pollMakesQueueEmptyWhenQueueHasSingleElement (line 176) | @Test method sizeReturnsZeroWhenQueueIsEmpty (line 192) | @Test method size (line 200) | @Test method isEmptyReturnsTrueWhenQueueIsEmpty (line 209) | @Test method isEmpty (line 217) | @Test method getInnerStaticNodeClass (line 227) | private Class getInnerStaticNodeClass() { method hasField (line 234) | private boolean hasField(Class classToSearch, Predicate targetField) { method getInternalSize (line 239) | @SneakyThrows method pollElementFromQueue (line 246) | @SneakyThrows method addIntElementToQueue (line 286) | @SneakyThrows method createNode (line 309) | @SneakyThrows method isEmptyQueue (line 328) | @SneakyThrows method setInternalSize (line 336) | @SneakyThrows method setHead (line 343) | @SneakyThrows method setTail (line 349) | @SneakyThrows method setNextNode (line 355) | @SneakyThrows method getAccessibleFieldByPredicate (line 361) | private Field getAccessibleFieldByPredicate(Object object, Predicate implements List { method of (line 26) | public static LinkedList of(T... elements) { method add (line 35) | @Override method add (line 47) | @Override method set (line 59) | @Override method get (line 71) | @Override method getFirst (line 82) | @Override method getLast (line 93) | @Override method remove (line 105) | @Override method contains (line 116) | @Override method isEmpty (line 126) | @Override method size (line 136) | @Override method clear (line 144) | @Override FILE: 2-0-data-structures-and-algorithms/2-2-4-linked-list/src/test/java/com/bobocode/cs/LinkedListTest.java class LinkedListTest (line 28) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method properNodeName (line 50) | @Test method properNodeFields (line 60) | @Test method getInnerClass (line 75) | private Class getInnerClass() { method addIntoEmptyList (line 82) | @Test method addIntoEmptyListChangesSize (line 92) | @Test method add (line 102) | @Test method addChangesSize (line 118) | @Test method addByIndex (line 130) | @Test method addByZeroIndexWhenListIsEmpty (line 149) | @Test method addByIndexToTheEndOfList (line 161) | @Test method addToHeadWhenListIsNotEmpty (line 173) | @Test method addThrowsExceptionWhenIndexIsNegative (line 189) | @Test method addThrowsExceptionWhenIndexLargerThanSize (line 196) | @Test method addWhenIndexEqualToSize (line 207) | @Test method of (line 221) | @Test method ofChangeSize (line 231) | @Test method setByIndex (line 241) | @Test method setFirstElementWhenListIsEmpty (line 260) | @Test method setByIndexEqualToSize (line 267) | @Test method get (line 276) | @Test method getByZeroIndexWhenListHasSingleElement (line 291) | @Test method getByZeroIndexWhenListIsEmpty (line 301) | @Test method getWhenIndexIsNegative (line 308) | @Test method getWhenIndexIsEqualToListSize (line 315) | @Test method getFirst (line 324) | @Test method getLast (line 334) | @Test method getFirstWhenListIsEmpty (line 344) | @Test method getLastWhenListIsEmpty (line 351) | @Test method remove (line 359) | @Test method removeChangesSize (line 373) | @Test method removeFirst (line 387) | @Test method removeLast (line 402) | @Test method removeWhenListIsEmpty (line 420) | @Test method removeByZeroIndexWhenListIsEmpty (line 427) | @Test method size (line 434) | @Test method sizeWhenListIsEmpty (line 444) | @Test method contains (line 452) | @Test method containsWhenListIsEmpty (line 464) | @Test method isEmpty (line 472) | @Test method isEmptyWhenListIsEmpty (line 482) | @Test method clearWhenListIsEmpty (line 490) | @Test method clearChangesSize (line 500) | @Test method clearRemovesAllElements (line 512) | @Test method getInternalElement (line 523) | @SneakyThrows method getInternalSize (line 534) | @SneakyThrows method addInternalElements (line 539) | @SneakyThrows method getInternalHeadField (line 559) | private Field getInternalHeadField() { method getInternalTailField (line 563) | private Field getInternalTailField() { method setInternalSize (line 567) | @SneakyThrows method createNodeObjectWithInternalElement (line 573) | @SneakyThrows method createNodeByConstructorWithoutParameters (line 589) | @SneakyThrows method getAccessibleFieldByPredicate (line 598) | private Field getAccessibleFieldByPredicate(Object object, Predicate implements List { method ArrayList (line 22) | public ArrayList(int initCapacity) { method ArrayList (line 30) | public ArrayList() { method of (line 40) | public static List of(T... elements) { method add (line 49) | @Override method add (line 60) | @Override method get (line 72) | @Override method getFirst (line 83) | @Override method getLast (line 94) | @Override method set (line 106) | @Override method remove (line 118) | @Override method contains (line 129) | @Override method isEmpty (line 139) | @Override method size (line 147) | @Override method clear (line 155) | @Override FILE: 2-0-data-structures-and-algorithms/2-2-5-array-list/src/test/java/com/bobocode/cs/ArrayListTest.java class ArrayListTest (line 23) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method add (line 28) | @Test method sizeOfEmptyArrayWrapper (line 42) | @Test method size (line 48) | @Test method getElementsByIndex (line 55) | @Test method getFirstElement (line 66) | @Test method getLastElement (line 73) | @Test method getFirstOfEmptyList (line 80) | @Test method getLastOfEmptyList (line 87) | @Test method createListWithSpecificArrayCapacity (line 94) | @Test method createListWithWrongCapacity (line 101) | @Test method addElements (line 108) | @Test method addShouldResizeDefaultCapacityWhenArrayIsFull (line 120) | @Test method addShouldResizeSpecificCapacityWhenArrayIsFull (line 138) | @Test method addElementByIndex (line 155) | @Test method addElementByNegativeIndex (line 170) | @Test method addElementByIndexLargerThanListSize (line 177) | @Test method addElementByIndexEqualToSize (line 185) | @Test method getFirstElementFromEmptyList (line 198) | @Test method getElementByNegativeIndex (line 205) | @Test method getElementByIndexThrowsExceptionWhenIndexIsOutOfBound (line 212) | @Test method setElementByIndex (line 220) | @Test method setElementByIndexThrowsExceptionWhenIndexIsOutOfBound (line 233) | @Test method setFirstElementOnEmptyList (line 241) | @Test method removeElementByIndex (line 248) | @Test method removeElementByIndexThrowsExceptionWhenIndexEqualsSize (line 262) | @Test method removeLastElementByIndex (line 270) | @Test method removeElementByIndexThrowsExceptionWhenIndexIsOutOfBounds (line 283) | @Test method containsOnEmptyList (line 292) | @Test method containsElement (line 298) | @Test method containsNotExistingWhenArrayIsNotFilled (line 305) | @Test method findNotExistingElement (line 318) | @Test method isEmptyOnEmptyList (line 325) | @Test method isEmpty (line 331) | @Test method clearOnEmptyList (line 338) | @Test method clearChangesTheSize (line 344) | @Test method clearRemovesElements (line 353) | @Test method setTestSize (line 364) | @SneakyThrows method getTestSize (line 371) | @SneakyThrows method getTestArray (line 378) | @SneakyThrows method getTestArrayName (line 385) | private String getTestArrayName() { method fillTestArray (line 397) | @SneakyThrows FILE: 2-0-data-structures-and-algorithms/2-2-6-binary-search-tree/src/main/java/com/bobocode/cs/BinarySearchTree.java type BinarySearchTree (line 5) | public interface BinarySearchTree> { method insert (line 10) | boolean insert(T element); method contains (line 15) | boolean contains(T element); method size (line 20) | int size(); method depth (line 25) | int depth(); method inOrderTraversal (line 31) | void inOrderTraversal(Consumer consumer); FILE: 2-0-data-structures-and-algorithms/2-2-6-binary-search-tree/src/main/java/com/bobocode/cs/RecursiveBinarySearchTree.java class RecursiveBinarySearchTree (line 19) | public class RecursiveBinarySearchTree> implemen... method of (line 21) | public static > RecursiveBinarySearchTree o... method insert (line 25) | @Override method contains (line 30) | @Override method size (line 35) | @Override method depth (line 40) | @Override method inOrderTraversal (line 45) | @Override FILE: 2-0-data-structures-and-algorithms/2-2-6-binary-search-tree/src/test/java/com/bobocode/cs/RecursiveBinarySearchTreeTest.java class RecursiveBinarySearchTreeTest (line 32) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method properNodeClassNameCheck (line 57) | @Test method properTreeFieldsCheck (line 66) | @Test method properNodeFieldsCheck (line 81) | @Test method of (line 100) | @Test method insert (line 110) | @Test method insertToRootIfTreeIsEmpty (line 120) | @Test method insertLeftIfLessThanRoot (line 128) | @Test method insertRightIfGreaterThanRoot (line 137) | @Test method insertDoesNotAddDuplicateElements (line 146) | @Test method insertThrowsExceptionWhenArgumentIsNull (line 156) | @Test method containsReturnsTrueIfElementExist (line 165) | @Test method containsReturnsFalseIfElementDoesntExist (line 175) | @Test method containsThrowsExceptionIFParameterIsNull (line 182) | @Test method sizeIsGrowingWhenInserting (line 188) | @Test method sizeDoesNotGrowWhenInsertingNotUnique (line 198) | @Test method depth (line 212) | @Order(16) method depthGrowWhenInsert (line 220) | @Test method depthIsZeroIfRootIsNull (line 233) | @Test method inorderTraversal (line 239) | @Test method depthArguments (line 252) | public static Stream depthArguments() { method getInnerSize (line 293) | @SneakyThrows method getInnerSizeField (line 298) | private Field getInnerSizeField() { method getInnerClass (line 307) | private Class getInnerClass() { method getRootField (line 314) | @SneakyThrows method getRootObject (line 324) | @SneakyThrows method contains (line 334) | @SneakyThrows method findNodeByElement (line 339) | private Object findNodeByElement(Object node, int element) { method getNodesField (line 354) | @SneakyThrows method getElement (line 364) | @SneakyThrows method getLeftNode (line 369) | @SneakyThrows method getRightNode (line 374) | @SneakyThrows method newNode (line 379) | @SneakyThrows method insertElement (line 397) | @SneakyThrows method insertToSubtree (line 409) | private boolean insertToSubtree(Object node, int element) { method insertLeft (line 419) | @SneakyThrows method insertRight (line 429) | @SneakyThrows method fillTestTree (line 439) | @SneakyThrows FILE: 2-0-data-structures-and-algorithms/2-2-9-hash-table/src/main/java/com/bobocode/cs/HashTable.java class HashTable (line 29) | public class HashTable implements Map { method calculateIndex (line 45) | public static int calculateIndex(Object key, int tableCapacity) { method put (line 60) | @Override method get (line 72) | @Override method containsKey (line 83) | @Override method containsValue (line 94) | @Override method size (line 104) | @Override method isEmpty (line 114) | @Override method remove (line 125) | @Override method toString (line 151) | @Override method resizeTable (line 169) | public void resizeTable(int newCapacity) { FILE: 2-0-data-structures-and-algorithms/2-2-9-hash-table/src/main/java/com/bobocode/cs/Map.java type Map (line 13) | public interface Map { method put (line 22) | V put(K key, V value); method get (line 30) | V get(K key); method containsKey (line 38) | boolean containsKey(K key); method containsValue (line 46) | boolean containsValue(V value); method size (line 53) | int size(); method isEmpty (line 60) | boolean isEmpty(); method remove (line 68) | V remove(K key); FILE: 2-0-data-structures-and-algorithms/2-2-9-hash-table/src/test/java/com/bobocode/cs/HashTableTest.java class HashTableTest (line 26) | @TestClassOrder(OrderAnnotation.class) class NodeClassTest (line 32) | @Nested method nodeClassExists (line 38) | @Test method nodeIsStaticClass (line 49) | @Test method nodeHasTwoTypeParams (line 59) | @Test method nodeHasKeyValuesFields (line 70) | @Test method nodeHasReferenceToNext (line 83) | @Test method nodeHasOneConstructor (line 96) | @Test method nodeConstructorAcceptKeyValue (line 108) | @Test class HashTableFieldsTest (line 123) | @Nested method tableFieldExists (line 129) | @Test method sizeFieldExists (line 142) | @Test class HashTableConstructorsTest (line 153) | @Nested method defaultConstructor (line 159) | @Test method constructorWithTableCapacity (line 172) | @Test method constructorWithTableCapacityWhenArgumentIsNegative (line 185) | @Test class HashFunctionTest (line 197) | @Nested method calculateIndexReturnTheSameValueWhenKeyIsTheSame (line 203) | @Test method calculateIndexReturnDifferentValuesWheKeysAreDifferent (line 215) | @Test method calculateIndexReturnIndexInArrayBounds (line 228) | @Test method calculateIndexReturnPositiveIndexWhenHashCodeIsNegative (line 246) | @Test class HashTableMethodsTest (line 258) | @Nested method putWhenTableIsEmpty (line 264) | @Test method putTwoElementsWithTheSameHashCode (line 278) | @Test method putElementWithTheSameKey (line 299) | @Test method getElementWhenKeyDoesNotExists (line 314) | @Test method getWhenKeyExists (line 323) | @Test method getWhenOtherKeyHaveTheSameIndex (line 334) | @Test method containsKeyWhenElementExists (line 347) | @Test method containsKeyWhenElementDoesNotExist (line 358) | @Test method containsValue (line 367) | @Test method containsValueWhenItDoesNotExist (line 378) | @Test method containsValueWhenValueAppearsMultipleTimes (line 389) | @Test method size (line 402) | @Test method isEmptyWhenTableGetsElements (line 414) | @Test method isEmptyWhenThereIsNoElements (line 426) | @Test method remove (line 435) | @Test method removeWhenKeyDoesNotExists (line 448) | @Test method removeFromTheMiddleOfTheList (line 457) | @Test method removeFromTheEndOfTheList (line 476) | @Test class HashTableHelperMethodsTest (line 496) | @Nested method resizeTable (line 502) | @Test method toStringTest (line 520) | @Test method getInternalTable (line 538) | @SneakyThrows method addToTable (line 545) | private void addToTable(String key, Integer value) { method getNodeByKey (line 564) | private NodeProxy getNodeByKey(Object key) { method checkKeyValueExists (line 580) | private boolean checkKeyValueExists(Object key, Object value) { method checkKeyExists (line 585) | private boolean checkKeyExists(Object key) { method setSize (line 590) | @SneakyThrows method getSize (line 597) | @SneakyThrows method tableToString (line 604) | private String tableToString(Object[] table) { method createNewNode (line 622) | @SneakyThrows class NodeProxy (line 629) | static class NodeProxy { method NodeProxy (line 637) | @SneakyThrows method key (line 650) | @SneakyThrows method value (line 655) | @SneakyThrows method next (line 660) | @SneakyThrows method setValue (line 667) | @SneakyThrows method setNext (line 672) | @SneakyThrows FILE: 2-0-data-structures-and-algorithms/data-structures-and-algorithms-util/src/main/java/com/bobocode/cs/List.java type List (line 4) | public interface List { method add (line 5) | void add(T element); method add (line 7) | void add(int index, T element); method set (line 9) | void set(int index, T element); method get (line 11) | T get(int index); method getFirst (line 13) | T getFirst(); method getLast (line 15) | T getLast(); method remove (line 17) | T remove(int index); method contains (line 19) | boolean contains(T element); method isEmpty (line 21) | boolean isEmpty(); method size (line 23) | int size(); method clear (line 25) | void clear(); FILE: 3-0-java-core/3-6-1-file-reader/src/main/java/com/bobocode/se/FileReaders.java class FileReaders (line 8) | public class FileReaders { method readWholeFile (line 16) | public static String readWholeFile(String fileName) { FILE: 3-0-java-core/3-6-1-file-reader/src/test/java/com/bobocode/se/FileReadersTest.java class FileReadersTest (line 7) | public class FileReadersTest { method testReadWholeFileOnEmptyFile (line 9) | @Test method testReadWholeFileOnFileWithEmptyLines (line 17) | @Test method testReadWholeFile (line 28) | @Test FILE: 3-0-java-core/3-6-2-file-stats/src/main/java/com/bobocode/se/FileStats.java class FileStats (line 9) | public class FileStats { method from (line 16) | public static FileStats from(String fileName) { method getCharCount (line 26) | public int getCharCount(char character) { method getMostPopularCharacter (line 35) | public char getMostPopularCharacter() { method containsCharacter (line 45) | public boolean containsCharacter(char character) { FILE: 3-0-java-core/3-6-2-file-stats/src/main/java/com/bobocode/se/FileStatsException.java class FileStatsException (line 3) | public class FileStatsException extends RuntimeException{ method FileStatsException (line 4) | public FileStatsException(String message) { method FileStatsException (line 8) | public FileStatsException(String message, Throwable cause) { FILE: 3-0-java-core/3-6-2-file-stats/src/test/java/com/bobocode/se/FileStatsTest.java class FileStatsTest (line 10) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method createFileStatsFromExistingFile (line 13) | @Test method createFileStatsFromNonExistingFile (line 19) | @Test method getCharCount (line 25) | @Test method getMostPopularCharacter (line 38) | @Test method containsCharacter (line 53) | @Test FILE: 3-0-java-core/3-6-3-crazy-regex/src/main/java/com/bobocode/se/CrazyRegex.java class CrazyRegex (line 16) | public class CrazyRegex { method findSpecificWord (line 23) | public Pattern findSpecificWord() { method findFirstWord (line 32) | public Pattern findFirstWord() { method findLastWord (line 41) | public Pattern findLastWord() { method findAllNumbers (line 52) | public Pattern findAllNumbers() { method findDates (line 61) | public Pattern findDates() { method findDifferentSpellingsOfColor (line 71) | public Pattern findDifferentSpellingsOfColor() { method findZipCodes (line 82) | public Pattern findZipCodes() { method findDifferentSpellingsOfLink (line 92) | public Pattern findDifferentSpellingsOfLink() { method findSimplePhoneNumber (line 102) | public Pattern findSimplePhoneNumber() { method findNumbersFromZeroToFiveWithLengthThree (line 113) | public Pattern findNumbersFromZeroToFiveWithLengthThree() { method findAllWordsWithFiveLength (line 122) | public Pattern findAllWordsWithFiveLength() { method findAllLettersAndDigitsWithLengthThree (line 133) | public Pattern findAllLettersAndDigitsWithLengthThree() { method findAllWordsWhichBeginWithCapitalLetter (line 142) | public Pattern findAllWordsWhichBeginWithCapitalLetter() { method findAbbreviation (line 152) | public Pattern findAbbreviation() { method findAllOpenBraces (line 161) | public Pattern findAllOpenBraces() { method findOnlyResources (line 170) | public Pattern findOnlyResources() { method findOnlyLinksInNote (line 179) | public Pattern findOnlyLinksInNote() { method findOnlyLinksInJson (line 188) | public Pattern findOnlyLinksInJson() { method findAllEmails (line 197) | public Pattern findAllEmails() { method findAllPatternsForPhoneNumbers (line 209) | public Pattern findAllPatternsForPhoneNumbers() { method findOnlyDuplicates (line 218) | public Pattern findOnlyDuplicates() { method replaceFirstAndLastNames (line 229) | public String replaceFirstAndLastNames(String names) { method replaceLastSevenDigitsOfPhoneNumberToX (line 240) | public String replaceLastSevenDigitsOfPhoneNumberToX(String phones) { method insertLinksAndResourcesIntoHref (line 252) | public String insertLinksAndResourcesIntoHref(String links) { FILE: 3-0-java-core/3-6-3-crazy-regex/src/test/java/com/bobocode/se/CrazyRegexTest.java class CrazyRegexTest (line 24) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method CrazyRegexTest (line 32) | public CrazyRegexTest() { method findSpecificWord (line 37) | @Test method findFirstWord (line 44) | @Test method findLastWord (line 51) | @Test method findAllNumbers (line 58) | @Test method findDates (line 66) | @Test method findDifferentSpellingsOfColor (line 74) | @Test method findZipCodes (line 81) | @Test method findDifferentSpellingsOfLink (line 88) | @Test method findSimplePhoneNumber (line 95) | @Test method findNumbersFromZeroToFiveWithLengthThree (line 102) | @Test method findAllWordsWithFiveLength (line 110) | @Test method findAllLettersAndDigitsWithLengthThree (line 117) | @Test method findAllWordsWhichBeginWithCapitalLetter (line 126) | @Test method findAbbreviation (line 134) | @Test method findAllOpenBraces (line 141) | @Test method findOnlyResources (line 148) | @Test method findOnlyLinksInNote (line 155) | @Test method findOnlyLinksInJson (line 162) | @Test method findAllEmails (line 173) | @Test method findAllPatternsForPhoneNumbers (line 181) | @Test method findOnlyDuplicates (line 188) | @Test method replaceFirstAndLastNames (line 196) | @Test method replaceLastSevenDigitsOfPhoneNumberToX (line 204) | @Test method insertLinksAndResourcesIntoHref (line 212) | @Test method regexChecker (line 226) | private String regexChecker(Pattern pattern, String str2WorkWith) { method readWholeFile (line 237) | @SneakyThrows FILE: 3-0-java-core/3-6-4-random-field-comparator/src/main/java/com/bobocode/se/RandomFieldComparator.java class RandomFieldComparator (line 19) | public class RandomFieldComparator implements Comparator { method RandomFieldComparator (line 21) | public RandomFieldComparator(Class targetType) { method compare (line 35) | @Override method getComparingFieldName (line 43) | public String getComparingFieldName() { method toString (line 53) | @Override FILE: 3-0-java-core/3-6-4-random-field-comparator/src/test/java/com/bobocode/se/RandomFieldComparatorTest.java class RandomFieldComparatorTest (line 18) | @TestMethodOrder(OrderAnnotation.class) method classDoesNotApplyNullInConstructor (line 23) | @Test method constructorThrowsExceptionIfNoComparableFieldsInProvidedType (line 30) | @Test method compareWhenFirstParameterAreNull (line 38) | @Test method compareWhenBothFieldValuesIsNull (line 47) | @Test method compareWhenFieldValuesOfFirstObjectIsNull (line 57) | @Test method compareWhenFieldValuesOfSecondObjectIsNull (line 69) | @Test method compareWhenFieldValueOfFirstObjectIsGreater (line 81) | @Test method compareWhenFieldValueOfSecondObjectIsGreater (line 101) | @Test method compareWhenFieldValuesOfObjectsAreEqual (line 121) | @Test method comparePrimitivesWhenFieldValueOfFirstObjectIsGreater (line 141) | @Test method comparePrimitivesWhenFieldValuesOfObjectsAreEqual (line 161) | @Test method comparePrimitivesWhenFieldValueOfSecondObjectIsGreater (line 181) | @Test method getComparingFieldName (line 201) | @Test method toStringOverriding (line 212) | @Test method setFieldToCompare (line 224) | @SneakyThrows class EmptyClass (line 234) | private static class EmptyClass { class ClassWithNotComparableField (line 238) | @AllArgsConstructor class Account (line 244) | @NoArgsConstructor FILE: 4-0-object-oriented-programming/4-3-1-flight-search/src/main/java/com/bobocode/oop/data/FlightDao.java class FlightDao (line 15) | public class FlightDao { method register (line 24) | public boolean register(String flightNumber) { method findAll (line 33) | public Set findAll() { FILE: 4-0-object-oriented-programming/4-3-1-flight-search/src/main/java/com/bobocode/oop/factory/FlightServiceFactory.java class FlightServiceFactory (line 11) | public class FlightServiceFactory { method creteFlightService (line 18) | public FlightService creteFlightService() { FILE: 4-0-object-oriented-programming/4-3-1-flight-search/src/main/java/com/bobocode/oop/service/FlightService.java class FlightService (line 13) | public class FlightService { method registerFlight (line 21) | public boolean registerFlight(String flightNumber) { method searchFlights (line 31) | public List searchFlights(String query) { FILE: 4-0-object-oriented-programming/4-3-1-flight-search/src/test/java/com/bobocode/oop/FlightServiceTest.java class FlightServiceTest (line 11) | public class FlightServiceTest { method testRegisterFlight (line 15) | @Test method testRegisterSameFlightTwice (line 22) | @Test method testSearchExistingFlightByFullNumber (line 31) | @Test method testSearchNonExistingFlight (line 44) | @Test method testSearchFlights (line 51) | @Test FILE: 5-0-functional-programming/5-0-1-lambda-functions-map/src/main/java/com/bobocode/fp/FunctionMap.java class FunctionMap (line 15) | public class FunctionMap { method FunctionMap (line 18) | FunctionMap() { method addFunction (line 22) | public void addFunction(String name, Function function) { method getFunction (line 26) | public Function getFunction(String name) { FILE: 5-0-functional-programming/5-0-1-lambda-functions-map/src/main/java/com/bobocode/fp/Functions.java class Functions (line 14) | public class Functions { method Functions (line 15) | private Functions() { method intFunctionMap (line 28) | public static FunctionMap intFunctionMap() { FILE: 5-0-functional-programming/5-0-1-lambda-functions-map/src/main/java/com/bobocode/fp/exception/InvalidFunctionNameException.java class InvalidFunctionNameException (line 3) | public class InvalidFunctionNameException extends RuntimeException { method InvalidFunctionNameException (line 4) | public InvalidFunctionNameException(String functionName) { FILE: 5-0-functional-programming/5-0-1-lambda-functions-map/src/test/java/com/bobocode/fp/FunctionsTest.java class FunctionsTest (line 9) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method init (line 13) | @BeforeEach method squareFunction (line 18) | @Test method absFunction (line 28) | @Test method incrementFunction (line 38) | @Test method destDecrementFunction (line 48) | @Test method signFunctionOnNegativeValue (line 58) | @Test method signFunctionOnPositiveValue (line 68) | @Test method signFunctionOnZero (line 78) | @Test FILE: 5-0-functional-programming/5-0-2-stream-sum-of-squares/src/main/java/com/bobocode/fp/SumOfSquares.java class SumOfSquares (line 11) | public class SumOfSquares { method main (line 12) | public static void main(String[] args) { method calculateSumOfSquaresInRange (line 23) | static int calculateSumOfSquaresInRange(int startInclusive, int endInc... FILE: 5-0-functional-programming/5-0-2-stream-sum-of-squares/src/main/java/com/bobocode/fp/exception/InvalidRangeException.java class InvalidRangeException (line 3) | public class InvalidRangeException extends RuntimeException { FILE: 5-0-functional-programming/5-0-2-stream-sum-of-squares/src/test/java/com/bobocode/fp/SumOfSquaresTest.java class SumOfSquaresTest (line 17) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method calculateSumOfSquaresOfZero (line 20) | @Test method calculateSumOfSquaresOfOne (line 28) | @Test method calculateSumOfSquares (line 36) | @Test method calculateSumOfSquaresOnNegative (line 44) | @Test method calculateWithInvalidRange (line 52) | @Test FILE: 5-0-functional-programming/5-1-1-crazy-lambdas/src/main/java/com/bobocode/fp/CrazyLambdas.java class CrazyLambdas (line 22) | public class CrazyLambdas { method helloSupplier (line 29) | public static Supplier helloSupplier() { method isEmptyPredicate (line 38) | public static Predicate isEmptyPredicate() { method stringMultiplier (line 48) | public static BiFunction stringMultiplier() { method toDollarStringFunction (line 58) | public static Function toDollarStringFunction() { method lengthInRangePredicate (line 70) | public static Predicate lengthInRangePredicate(int min, int ma... method randomIntSupplier (line 79) | public static IntSupplier randomIntSupplier() { method boundedRandomIntSupplier (line 89) | public static IntUnaryOperator boundedRandomIntSupplier() { method intSquareOperation (line 98) | public static IntUnaryOperator intSquareOperation() { method longSumOperation (line 107) | public static LongBinaryOperator longSumOperation() { method stringToIntConverter (line 116) | public static ToIntFunction stringToIntConverter() { method nMultiplyFunctionSupplier (line 127) | public static Supplier nMultiplyFunctionSupplier(int... method composeWithTrimFunction (line 136) | public static UnaryOperator> composeWithTrimF... method runningThreadSupplier (line 147) | public static Supplier runningThreadSupplier(Runnable runnable) { method newThreadRunnableConsumer (line 156) | public static Consumer newThreadRunnableConsumer() { method runnableToThreadSupplierFunction (line 166) | public static Function> runnableToThreadSup... method functionToConditionalFunction (line 179) | public static BiFunction, String, IntUna... method comparing (line 208) | public static > Comparator compa... method thenComparing (line 227) | public static > Comparator thenC... method trickyWellDoneSupplier (line 237) | public static Supplier>> trickyWellDoneSuppl... FILE: 5-0-functional-programming/5-1-1-crazy-lambdas/src/test/java/com/bobocode/fp/CrazyLambdasTest.java class CrazyLambdasTest (line 21) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method helloSupplier (line 24) | @Test method isEmptyPredicate (line 33) | @Test method stringMultiplier (line 45) | @Test method toDollarStringFunction (line 57) | @Test method lengthInRangePredicate (line 66) | @Test method randomIntSupplier (line 84) | @Test method boundedRandomIntSupplier (line 95) | @Test method intSquareOperation (line 111) | @Test method longSumOperation (line 123) | @Test method stringToIntConverter (line 138) | @Test method nMultiplyFunctionSupplier (line 150) | @Test method composeWithTrimFunction (line 161) | @Test method runningThreadSupplier (line 175) | @Test method newThreadRunnableConsumer (line 191) | @Test method runnableToThreadSupplierFunction (line 205) | @Test method functionToConditionalFunction (line 222) | @Test method functionLoader (line 235) | @Test method comparing (line 252) | @Test method thenComparing (line 263) | @Test method trickyWellDoneSupplier (line 275) | @Test FILE: 5-0-functional-programming/5-2-1-crazy-streams/src/main/java/com/bobocode/fp/CrazyStreams.java class CrazyStreams (line 23) | @AllArgsConstructor method findRichestPerson (line 32) | public Optional findRichestPerson() { method findAccountsByBirthdayMonth (line 42) | public List findAccountsByBirthdayMonth(Month birthdayMonth) { method partitionMaleAccounts (line 52) | public Map> partitionMaleAccounts() { method groupAccountsByEmailDomain (line 62) | public Map> groupAccountsByEmailDomain() { method getNumOfLettersInFirstAndLastNames (line 71) | public int getNumOfLettersInFirstAndLastNames() { method calculateTotalBalance (line 80) | public BigDecimal calculateTotalBalance() { method sortByFirstAndLastNames (line 89) | public List sortByFirstAndLastNames() { method containsAccountWithEmailDomain (line 99) | public boolean containsAccountWithEmailDomain(String emailDomain) { method getBalanceByEmail (line 110) | public BigDecimal getBalanceByEmail(String email) { method collectAccountsById (line 119) | public Map collectAccountsById() { method collectBalancesByEmailForAccountsCreatedOn (line 130) | public Map collectBalancesByEmailForAccountsCreate... method groupFirstNamesByLastNames (line 140) | public Map> groupFirstNamesByLastNames() { method groupCommaSeparatedFirstNamesByBirthdayMonth (line 150) | public Map groupCommaSeparatedFirstNamesByBirthdayMonth... method groupTotalBalanceByCreationMonth (line 160) | public Map groupTotalBalanceByCreationMonth() { method getCharacterFrequencyInFirstNames (line 170) | public Map getCharacterFrequencyInFirstNames() { method getCharacterFrequencyIgnoreCaseInFirstAndLastNames (line 181) | public Map getCharacterFrequencyIgnoreCaseInFirstAndL... FILE: 5-0-functional-programming/5-2-1-crazy-streams/src/main/java/com/bobocode/fp/exception/EntityNotFoundException.java class EntityNotFoundException (line 3) | public class EntityNotFoundException extends RuntimeException { method EntityNotFoundException (line 4) | public EntityNotFoundException(String message) { FILE: 5-0-functional-programming/5-2-1-crazy-streams/src/test/java/com/bobocode/fp/CrazyStreamsTest.java class CrazyStreamsTest (line 28) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method setUp (line 43) | @BeforeEach method findRichestPerson (line 48) | @Test method findAccountsByBirthdayMonth (line 57) | @Test method separateMaleAccounts (line 66) | @Test method getExpectedMaleMap (line 75) | private Map> getExpectedMaleMap() { method getExpectedList (line 82) | private List getExpectedList() { method groupAccountsByEmailDomain (line 86) | @Test method getExpectedEmailMap (line 95) | private Map> getExpectedEmailMap() { method getNumOfLettersInFirstAndLastNames (line 104) | @Test method calculateTotalBalance (line 112) | @Test method sortByFirstAndLastNames (line 121) | @Test method containsAccountWithEmailDomain (line 133) | @Test method getBalanceByEmail (line 141) | @Test method getBalanceByEmailThrowsException (line 150) | @Test method collectAccountsById (line 163) | @Test method collectBalancesByEmailForAccountsCreatedOn (line 174) | @Test method groupFirstNamesByLastNames (line 184) | @Test method groupCommaSeparatedFirstNamesByBirthdayMonth (line 196) | @Test method groupTotalBalanceByCreationMonth (line 207) | @Test method getCharacterFrequencyInFirstNames (line 217) | @Test method getCharacterFrequencyIgnoreCaseInFirstAndLastNames (line 231) | @MethodSource("getCharacterFrequencyIgnoreCaseInFirstAndLastNamesArgs") method getCharacterFrequencyIgnoreCaseInFirstAndLastNamesArgs (line 240) | private static Stream getCharacterFrequencyIgnoreCaseInFirs... method buildMap (line 248) | private static Map buildMap(List accounts, i... method processName (line 257) | private static void processName(Map resultMap, String... FILE: 5-0-functional-programming/5-3-1-crazy-optionals/src/main/java/com/bobocode/fp/CrazyOptionals.java class CrazyOptionals (line 31) | public class CrazyOptionals { method optionalOfString (line 39) | public static Optional optionalOfString(@Nullable String text) { method deposit (line 49) | public static void deposit(AccountProvider accountProvider, BigDecimal... method optionalOfAccount (line 59) | public static Optional optionalOfAccount(@Nonnull Account acc... method getAccount (line 71) | public static Account getAccount(AccountProvider accountProvider, Acco... method processAccount (line 82) | public static void processAccount(AccountProvider accountProvider, Acc... method getOrGenerateAccount (line 93) | public static Account getOrGenerateAccount(AccountProvider accountProv... method retrieveBalance (line 103) | public static Optional retrieveBalance(AccountProvider acc... method getAccount (line 114) | public static Account getAccount(AccountProvider accountProvider) { method retrieveCreditBalance (line 124) | public static Optional retrieveCreditBalance(CreditAccount... method retrieveAccountGmail (line 136) | public static Optional retrieveAccountGmail(AccountProvider a... method getAccountWithFallback (line 149) | public static Account getAccountWithFallback(AccountProvider accountPr... method getAccountWithMaxBalance (line 160) | public static Account getAccountWithMaxBalance(List accounts) { method findMinBalanceValue (line 170) | public static OptionalDouble findMinBalanceValue(List account... method processAccountWithMaxBalance (line 180) | public static void processAccountWithMaxBalance(List accounts... method calculateTotalCreditBalance (line 190) | public static double calculateTotalCreditBalance(List a... FILE: 5-0-functional-programming/5-3-1-crazy-optionals/src/main/java/com/bobocode/fp/exception/AccountNotFoundException.java class AccountNotFoundException (line 3) | public class AccountNotFoundException extends RuntimeException { method AccountNotFoundException (line 4) | public AccountNotFoundException(String message) { FILE: 5-0-functional-programming/5-3-1-crazy-optionals/src/main/java/com/bobocode/fp/function/AccountProvider.java type AccountProvider (line 7) | @FunctionalInterface method getAccount (line 9) | Optional getAccount(); FILE: 5-0-functional-programming/5-3-1-crazy-optionals/src/main/java/com/bobocode/fp/function/AccountService.java type AccountService (line 5) | @FunctionalInterface method processAccount (line 7) | void processAccount(Account account); method processWithNoAccount (line 9) | default void processWithNoAccount(){ FILE: 5-0-functional-programming/5-3-1-crazy-optionals/src/main/java/com/bobocode/fp/function/CreditAccountProvider.java type CreditAccountProvider (line 7) | @FunctionalInterface method getAccount (line 9) | Optional getAccount(); FILE: 5-0-functional-programming/5-3-1-crazy-optionals/src/test/java/com/bobocode/fp/CrazyOptionalsTest.java class CrazyOptionalsTest (line 27) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method optionalOfStringShouldAcceptNull (line 30) | @Test method optionalOfStringShouldHoldSting (line 38) | @Test method depositWhenAccountExistsShouldUpdateBalance (line 46) | @Test method depositWhenOptionalIsEmptyShouldDoNothing (line 58) | @Test method optionalOfAccountShouldNotAcceptNull (line 64) | @Test method optionalOfAccountShouldHoldAccount (line 70) | @Test method getAccountShouldReturnAccountGotFromProvider (line 79) | @Test method getAccountWhenNoAccountIsProvidedShouldReturnDefaultAccount (line 90) | @Test method processAccountWhenAccountIsProvidedShouldPassAccountToService (line 100) | @Test method processAccountWhenNoAccountProvidedShouldProcessWithNoAccount (line 112) | @Test method processAccountShouldUseNullSafeDeclarativeIfStatement (line 125) | @Test method getOrGenerateAccountShouldReturnAccountGotFromProvider (line 136) | @Test method getOrGenerateAccountWhenNoAccountIsProvidedShouldGenerateAccount (line 146) | @Test method getOrGenerateAccountWhenNoAccountIsProvidedShouldUseLazyInitialization (line 154) | @Test method retrieveBalanceWhenAccountIsNotProvidedShouldReturnEmptyOptional (line 166) | @Test method retrieveBalanceWhenBalanceIsNullShouldReturnEmptyOptional (line 174) | @Test method retrieveBalanceShouldReturnOptionalBalance (line 185) | @Test method retrieveBalanceShouldUseNullSafeMapping (line 195) | @Test method getAccountShouldReturnProvidedAccount (line 209) | @Test method getAccountWhenNoAccountIsProvidedShouldThrowAccountNotFoundException (line 219) | @Test method retrieveCreditBalanceWhenAccountIsNotProvidedShouldReturnEmptyOptional (line 227) | @Test method retrieveCreditBalanceWhenBalanceIsNullShouldReturnEmptyOptional (line 235) | @Test method retrieveCreditBalanceShouldReturnOptionalBalance (line 246) | @Test method retrieveCreditBalanceShouldUseNullSafeMapping (line 256) | @Test method retrieveAccountGmailWhenNoAccountProvidedShouldReturnEmptyOptional (line 270) | @Test method retrieveAccountGmailWhenAccountEmailIsNotGmailShouldReturnEmptyOptional (line 278) | @Test method retrieveAccountGmailWhenEmailIsGmailShouldReturnEmail (line 289) | @Test method retrieveAccountGmailShouldUseNullSafeFiltering (line 300) | @Test method getAccountWithFallbackShouldBeRetrievedFromMainProvider (line 314) | @Test method getAccountWithFallbackWhenNoAccountIsProvidedByMainProviderShouldUseFallback (line 325) | @Test method getAccountWithFallbackWhenNoAccountShouldThrowException (line 335) | @Test method getAccountWithFallbackShouldUseNullSafeFallbackStrategy (line 342) | @Test method getAccountWithMaxBalance (line 357) | @Test method getAccountWithMaxBalanceWhenListIsEmptyShouldThrowException (line 368) | @Test method findMinBalanceValueShouldReturnCorrectDoubleValue (line 375) | @Test method findMinBalanceValueWhenListIsEmptyShouldReturnOptionalEmpty (line 387) | @Test method processAccountWithMaxBalance (line 395) | @Test method calculateTotalCreditBalanceShouldCalculateCorrectTotal (line 407) | @Test method calculateTotalCreditBalanceWhenListIsEmptyShouldReturnZero (line 418) | @Test method getMaxAccount (line 426) | private Account getMaxAccount(List accounts, Comparator account... FILE: 5-0-functional-programming/5-4-1-fun-prime-numbers/src/main/java/com/bobocode/fp/OOSumOfPrimes.java class OOSumOfPrimes (line 11) | public class OOSumOfPrimes { method main (line 12) | public static void main(String[] args) { method isPrime (line 26) | private static boolean isPrime(int n) { FILE: 5-0-functional-programming/5-4-1-fun-prime-numbers/src/main/java/com/bobocode/fp/PrimeNumbers.java class PrimeNumbers (line 22) | public class PrimeNumbers { method PrimeNumbers (line 23) | private PrimeNumbers() { method stream (line 32) | public static IntStream stream() { method stream (line 42) | public static IntStream stream(int size) { method sum (line 53) | public static int sum(int n) { method list (line 63) | public static List list(int n) { method processByIndex (line 73) | public static void processByIndex(int idx, IntConsumer consumer) { method groupByAmountOfDigits (line 87) | public static Map> groupByAmountOfDigits(int n) { FILE: 5-0-functional-programming/5-4-1-fun-prime-numbers/src/test/java/com/bobocode/fp/PrimeNumbersTest.java class PrimeNumbersTest (line 26) | @TestMethodOrder(MethodOrderer.OrderAnnotation.class) method stream (line 29) | @Order(1) method streamN (line 42) | @Order(2) method sum (line 54) | @Order(3) method collect (line 63) | @Order(4) method processByIndexFindsCorrectPrimeNumber (line 72) | @Order(5) method collectArgs (line 83) | static Stream collectArgs() { method groupByAmountOfDigits (line 94) | @Order(6) method groupByAmountOfDigitsArgs (line 103) | static Stream groupByAmountOfDigitsArgs() { FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/CrazyLambdaExample.java class CrazyLambdaExample (line 11) | public class CrazyLambdaExample { method main (line 12) | public static void main(String[] args) { method getStringPredicateToConsumerFunctionSupplier (line 27) | private static Supplier, Consumer>>... FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/FunctionComposition.java class FunctionComposition (line 16) | public class FunctionComposition { method main (line 17) | public static void main(String[] args) { method printSquareOfDoubleUsingFunctionComposition (line 22) | private static void printSquareOfDoubleUsingFunctionComposition() { method printStringIsBlankUsingPredicateComposition (line 31) | private static void printStringIsBlankUsingPredicateComposition() { FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/LambdaAndMethodReference.java class LambdaAndMethodReference (line 12) | public class LambdaAndMethodReference { method main (line 13) | public static void main(String[] args) { method printAccountsUsingLambda (line 20) | private static void printAccountsUsingLambda(List accounts) { method printAccountsUsingMethodReference (line 24) | private static void printAccountsUsingMethodReference(List ac... method processAccounts (line 28) | private static void processAccounts(List accounts, Consumer accounts) { method sortUsingLambda (line 29) | private static void sortUsingLambda(List accounts) { method sortUsingMethodReference (line 33) | private static void sortUsingMethodReference(List accounts) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/LambdaRunnableExample.java class LambdaRunnableExample (line 3) | public class LambdaRunnableExample { method main (line 4) | public static void main(String[] args) { method sayHelloFromNewThread (line 10) | private static void sayHelloFromNewThread() { method sayHelloFromNewThreadUsingLambda (line 21) | private static void sayHelloFromNewThreadUsingLambda() { FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/MethodRefToUpperCaseExample.java class MethodRefToUpperCaseExample (line 10) | public class MethodRefToUpperCaseExample { method main (line 11) | public static void main(String[] args) { method printUpperStringUsingFunction (line 23) | private static void printUpperStringUsingFunction(String s) { method printUpperStringUsingUnaryOperation (line 33) | private static void printUpperStringUsingUnaryOperation(String s) { method printUpperStringUsingStringSupplier (line 44) | private static void printUpperStringUsingStringSupplier(String s) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/MethodReferenceExamples.java class MethodReferenceExamples (line 10) | public class MethodReferenceExamples { method main (line 11) | public static void main(String[] args) { method printAbsUsingMethodReference (line 17) | private static void printAbsUsingMethodReference(int a) { method printSumUsingMethodReference (line 24) | private static void printSumUsingMethodReference(int a, int b) { method printUpperStringUsingMethodReference (line 31) | private static void printUpperStringUsingMethodReference(String s) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/PredefinedInterfacePrimitives.java class PredefinedInterfacePrimitives (line 11) | public class PredefinedInterfacePrimitives { method main (line 12) | public static void main(String[] args) { method printRandomDoubleUsingSupplier (line 18) | private static void printRandomDoubleUsingSupplier() { method printLongSumUsingBinaryOperation (line 24) | private static void printLongSumUsingBinaryOperation(long a, long b) { method printSqrtUsingFunction (line 30) | private static void printSqrtUsingFunction(int a) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/lambdas/tutorial/PredefinedInterfacesExamples.java class PredefinedInterfacesExamples (line 13) | public class PredefinedInterfacesExamples { method main (line 14) | public static void main(String[] args) { method printARandomNumberUsingIntegerSupplier (line 23) | private static void printARandomNumberUsingIntegerSupplier() { method printEmailUsingAccountConsumer (line 29) | private static void printEmailUsingAccountConsumer() { method calculate3xValueUsingIntegerFunction (line 36) | private static void calculate3xValueUsingIntegerFunction() { method checkIfNumberIsPositiveUsingIntegerPredicate (line 43) | private static void checkIfNumberIsPositiveUsingIntegerPredicate() { method verifyGoogleEmailUsingAccountPredicate (line 50) | private static void verifyGoogleEmailUsingAccountPredicate() { method printPrimeNumbersUsingIntegerPredicate (line 58) | private static void printPrimeNumbersUsingIntegerPredicate() { FILE: 5-0-functional-programming/src/main/java/com/bobocode/optionals/tutorial/OptionalCreation.java class OptionalCreation (line 8) | public class OptionalCreation { method main (line 9) | public static void main(String[] args) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/optionals/tutorial/OptionalExamples.java class OptionalExamples (line 10) | public class OptionalExamples { method main (line 13) | public static void main(String[] args) { method printAccountUsingWrongApproach (line 27) | private static void printAccountUsingWrongApproach(Optional o... method printAccountUsingRightApproach (line 37) | private static void printAccountUsingRightApproach(Optional o... method printAccountOrDefault (line 45) | private static void printAccountOrDefault(Optional optionalAc... method printAccountOrRandomLazily (line 54) | private static void printAccountOrRandomLazily(Optional optio... FILE: 5-0-functional-programming/src/main/java/com/bobocode/optionals/tutorial/OptionalImperativeVsDeclarativeCheck.java class OptionalImperativeVsDeclarativeCheck (line 8) | public class OptionalImperativeVsDeclarativeCheck { method main (line 9) | public static void main(String[] args) { method printAccount (line 20) | private static void printAccount(Account account) { method printOptionalAccount (line 32) | private static void printOptionalAccount(Optional optionalAcc... FILE: 5-0-functional-programming/src/main/java/com/bobocode/optionals/tutorial/OptionalMapping.java class OptionalMapping (line 13) | public class OptionalMapping { method main (line 14) | public static void main(String[] args) { method printBalanceUsingNullCheck (line 30) | private static void printBalanceUsingNullCheck(Account account) { method printBalanceUsingOptionalMapping (line 42) | private static void printBalanceUsingOptionalMapping(Optional... method printBalanceOfFirstGoogleAccount (line 49) | private static void printBalanceOfFirstGoogleAccount(List acc... method printCreditBalanceOfFirstGoogleAccount (line 61) | private static void printCreditBalanceOfFirstGoogleAccount(List accounts) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/optionals/tutorial/OptionalReturningMethod.java class OptionalReturningMethod (line 10) | public class OptionalReturningMethod { method main (line 11) | public static void main(String[] args) { method findLuckyGuy (line 22) | private static Optional findLuckyGuy(List accounts) { method printResult (line 35) | private static void printResult(Optional optionalAccount) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/optionals/tutorial/OptionalSearchByEmailExample.java class OptionalSearchByEmailExample (line 9) | public class OptionalSearchByEmailExample { method main (line 10) | public static void main(String[] args) { method findAccountByEmail (line 18) | private static Optional findAccountByEmail(List acco... method getAccountByEmail (line 24) | private static Account getAccountByEmail(List accounts, Strin... method getAccountByEmailImperatively (line 32) | private static Account getAccountByEmailImperatively(List acc... method printAccount (line 42) | private static void printAccount(Account account) { class NoSuchElementException (line 47) | static class NoSuchElementException extends RuntimeException { FILE: 5-0-functional-programming/src/main/java/com/bobocode/optionals/tutorial/OptionalStream.java class OptionalStream (line 9) | public class OptionalStream { method main (line 10) | public static void main(String[] args) { method printExistingCreditBalancesJava8 (line 17) | private static void printExistingCreditBalancesJava8(List findAllGmailAccountsImperatively(List findAllGmailAccountsDeclaratively(List accounts) { method printThirdAndFourthFirstNames (line 37) | private static void printThirdAndFourthFirstNames(List accoun... method printBalanceStatistic (line 47) | private static void printBalanceStatistic(List accounts) { method printFirstNamesAndCollectEmails (line 59) | private static void printFirstNamesAndCollectEmails(List acco... FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamBasics.java class StreamBasics (line 22) | public class StreamBasics { method main (line 23) | public static void main(String[] args) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamCollecting.java class StreamCollecting (line 22) | public class StreamCollecting { method main (line 23) | public static void main(String[] args) { method printAllGmailAccounts (line 34) | private static void printAllGmailAccounts(List accounts) { method printAccountsByItsBirthdaysMonth (line 44) | private static void printAccountsByItsBirthdaysMonth(List acc... method printAccountFirstNamesByItsBirthdaysMonth (line 51) | private static void printAccountFirstNamesByItsBirthdaysMonth(List accounts) { method printNamesSeparatedGmailAccountAndOthersAndGroupedByBirthdayMonth (line 82) | private static void printNamesSeparatedGmailAccountAndOthersAndGrouped... FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamFiltering.java class StreamFiltering (line 10) | public class StreamFiltering { method main (line 11) | public static void main(String[] args) { method printAccountsThatHaveGoogleEmail (line 21) | private static void printAccountsThatHaveGoogleEmail(List acc... FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamMapping.java class StreamMapping (line 15) | public class StreamMapping { method main (line 16) | public static void main(String[] args) { method printAccountEmails (line 28) | private static void printAccountEmails(List accounts) { method printCharacterCounts (line 35) | private static void printCharacterCounts() { method collectCharactersCountFromText (line 46) | private static Map collectCharactersCountFromText(Str... method getSomeText (line 54) | private static String getSomeText() { FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamParallelProcessing.java class StreamParallelProcessing (line 7) | public class StreamParallelProcessing { method main (line 11) | public static void main(String[] args) { method performNTimes (line 27) | static void performNTimes(int n, Runnable r) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamPrimitives.java class StreamPrimitives (line 11) | public class StreamPrimitives { method main (line 12) | public static void main(String[] args) { method printLongValues (line 24) | private static void printLongValues() { method printMaxBalance (line 35) | private static void printMaxBalance(List accounts) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamReducing.java class StreamReducing (line 14) | public class StreamReducing { method main (line 15) | public static void main(String[] args) { method printTotalBalance (line 22) | private static void printTotalBalance(List accounts) { method printMaxBalance (line 34) | private static void printMaxBalance(List accounts) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamSideEffectFilteringExample.java class StreamSideEffectFilteringExample (line 9) | public class StreamSideEffectFilteringExample { method main (line 10) | public static void main(String[] args) { FILE: 5-0-functional-programming/src/main/java/com/bobocode/streams/tutorial/StreamWhileExample.java class StreamWhileExample (line 8) | public class StreamWhileExample { method main (line 9) | public static void main(String[] args) { method printAllEmails (line 17) | private static void printAllEmails(List accounts) { method printAllEmailsWhileGmail (line 24) | private static void printAllEmailsWhileGmail(List accounts) { method printAllEmailsWhileNotGmail (line 32) | private static void printAllEmailsWhileNotGmail(List accounts) { FILE: 6-0-test-driven-development/6-1-1-stack/src/main/java/com/bobocode/tdd/LinkedStack.java class LinkedStack (line 5) | public class LinkedStack implements Stack { method push (line 6) | @Override method pop (line 11) | @Override method size (line 16) | @Override method isEmpty (line 21) | @Override FILE: 6-0-test-driven-development/6-1-1-stack/src/main/java/com/bobocode/tdd/Stack.java type Stack (line 7) | public interface Stack { method push (line 13) | void push(T element); method pop (line 20) | T pop(); method size (line 27) | int size(); method isEmpty (line 34) | boolean isEmpty(); FILE: 6-0-test-driven-development/6-1-1-stack/src/test/java/com/bobocode/tdd/StackTest.java class StackTest (line 3) | public class StackTest { FILE: 6-0-test-driven-development/6-1-2-linked-list/src/main/java/com/bobocode/tdd/LinkedList.java class LinkedList (line 12) | public class LinkedList implements List { method of (line 21) | public static List of(T... elements) { method add (line 30) | @Override method add (line 42) | @Override method set (line 54) | @Override method get (line 66) | @Override method getFirst (line 77) | @Override method getLast (line 88) | @Override method remove (line 100) | @Override method contains (line 111) | @Override method isEmpty (line 121) | @Override method size (line 131) | @Override method clear (line 139) | @Override FILE: 6-0-test-driven-development/6-1-2-linked-list/src/main/java/com/bobocode/tdd/List.java type List (line 4) | public interface List { method add (line 5) | void add(T element); method add (line 7) | void add(int index, T element); method set (line 9) | void set(int index, T element); method get (line 11) | T get(int index); method getFirst (line 13) | T getFirst(); method getLast (line 15) | T getLast(); method remove (line 17) | T remove(int index); method contains (line 19) | boolean contains(T element); method isEmpty (line 21) | boolean isEmpty(); method size (line 23) | int size(); method clear (line 25) | void clear(); FILE: 6-0-test-driven-development/6-1-2-linked-list/src/test/java/com/bobocode/tdd/LinkedListTest.java class LinkedListTest (line 3) | public class LinkedListTest { FILE: 6-0-test-driven-development/6-1-3-binary-search-tree/src/main/java/com/bobocode/tdd/BinarySearchTree.java type BinarySearchTree (line 5) | public interface BinarySearchTree { method insert (line 10) | boolean insert(T element); method contains (line 15) | boolean contains(T element); method size (line 20) | int size(); method depth (line 25) | int depth(); method inOrderTraversal (line 31) | void inOrderTraversal(Consumer consumer); FILE: 6-0-test-driven-development/6-1-3-binary-search-tree/src/main/java/com/bobocode/tdd/RecursiveBinarySearchTree.java class RecursiveBinarySearchTree (line 7) | public class RecursiveBinarySearchTree implements ... method of (line 9) | public static RecursiveBinarySearchTree of(T... method insert (line 13) | @Override method contains (line 18) | @Override method size (line 23) | @Override method depth (line 28) | @Override method inOrderTraversal (line 33) | @Override FILE: 6-0-test-driven-development/6-1-3-binary-search-tree/src/test/java/com/bobocode/tdd/BinarySearchTreeTest.java class BinarySearchTreeTest (line 3) | class BinarySearchTreeTest { FILE: java-fundamentals-util/src/main/java/com/bobocode/data/Accounts.java class Accounts (line 17) | public class Accounts { method generateAccount (line 20) | public static Account generateAccount() { method generateCreditAccount (line 27) | public static CreditAccount generateCreditAccount() { method generateAccountList (line 35) | public static List generateAccountList(int size) { method generateCreditAccountList (line 41) | public static List generateCreditAccountList(int size) { method generatePerson (line 47) | private static Person generatePerson() { method convertToAccount (line 52) | private static Account convertToAccount(Person person) { method convertToCreditAccount (line 58) | private static CreditAccount convertToCreditAccount(Person person) { method fillAccount (line 64) | private static void fillAccount(Account account, Person person) { method fillCommonRandomFields (line 75) | private static void fillCommonRandomFields(Account account) { method randomBigDecimal (line 81) | private static BigDecimal randomBigDecimal(int max) { FILE: java-fundamentals-util/src/main/java/com/bobocode/model/Account.java class Account (line 8) | @NoArgsConstructor FILE: java-fundamentals-util/src/main/java/com/bobocode/model/CreditAccount.java class CreditAccount (line 11) | @NoArgsConstructor method getCreditBalance (line 17) | public Optional getCreditBalance() { FILE: java-fundamentals-util/src/main/java/com/bobocode/model/Sex.java type Sex (line 3) | public enum Sex { FILE: java-fundamentals-util/src/main/java/com/bobocode/util/ExerciseNotCompletedException.java class ExerciseNotCompletedException (line 7) | public class ExerciseNotCompletedException extends RuntimeException { method ExerciseNotCompletedException (line 8) | public ExerciseNotCompletedException() { FILE: lesson-demo/src/main/java/com/bobocode/DemoApp.java class DemoApp (line 3) | public class DemoApp { method main (line 4) | public static void main(String[] args) {