MCPcopy Create free account

hub / github.com/4nywan/guide-de-survie-sciences-informatiques / functions

Functions696 in github.com/4nywan/guide-de-survie-sciences-informatiques

↓ 75 callersMethodadd
(int a, int b)
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/Introduction/src/main/java/IntroductionExercises.java:19
↓ 32 callersMethodget
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 6/SharedCounterMonitor/src/main/java/SharedCounter.java:19
↓ 21 callersMethodapply
(int v)
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Generics/src/main/java/F.java:2
↓ 21 callersMethodhead
@return the head of the list. @throws NoSuchElementException if the list is empty
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FListMergeSort/src/main/java/FList.java:41
↓ 20 callersMethodtail
@return the tail of the list (i.e. the sublist without the first element of this list) @throws NoSuchElementException if the list is empty
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FListMergeSort/src/main/java/FList.java:47
↓ 18 callersMethodsize
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/MyArrayList/src/main/java/MyArrayList.java:53
↓ 16 callersMethodcons
Returns a new FList obtained by prepending a to this list
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FListMergeSort/src/main/java/FList.java:23
↓ 16 callersMethodfilter
(int v)
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Generics/src/main/java/P.java:2
↓ 16 callersMethodnext
(self)
BAC1/LINFO1101 - Introduction à la programmation/Session 11/Q_Double Link.py:19
↓ 15 callersMethodaccept
(Visitor visitor)
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Visitor/src/main/java/Visitable.java:3
↓ 15 callersMethodequals
(Object o)
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Observer/src/main/java/Pair.java:20
↓ 15 callersMethodlength
@return the number of elements in this list
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:24
↓ 14 callersMethodgetNews
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Observer/src/main/java/Client.java:22
↓ 14 callersMethodsplit
Split a strin according to a delimiter @param str The string to split @param delimiter The delimiter @return An array containing the substring
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/LEPL1402_StringUtils/src/main/java/StringUtils.java:15
↓ 13 callersMethodenqueue
Checks if 'list' needs to be resized then add the element at the end of the list.
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/MyArrayList/src/main/java/MyArrayList.java:23
↓ 12 callersMethodmaxSubArray
Given the array [-2,1,-3,4,-1,2,1,-5,4] The contiguous subarray that produces the best result is [4,-1,2,1] For this array your method should return [
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/LargestSum/src/main/java/LargestSum.java:11
↓ 11 callersMethodisEmpty
Is the list empty @return true if there is no element in the list and false otherwise
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:128
↓ 11 callersMethodpop
Remove the element at the top of the stack @return The element at the top of the stack
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/StackWithQueue/src/main/java/MyStack.java:28
↓ 10 callersMethodgetNext
Get the next node in the list @return the next node in the list
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:30
↓ 10 callersMethodisEmpty
@return true if the list is empty, false otherwise
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FListMergeSort/src/main/java/FList.java:35
↓ 10 callersMethodsort
Rearranges the array in ascending order, using the natural order
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/MergeSortImplementation/src/main/java/MergeSort.java:38
↓ 9 callersMethodgetFirst
Get the first element of the list @return The first ListNode in the list
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:137
↓ 9 callersMethodgetName
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 3/ComparatorvsComparable/src/main/java/Plant.java:11
↓ 9 callersMethodindexOf
Find the first occurence of a substring in a string @param str The string to look in @param sub The string to look for @return The index of the start
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/LEPL1402_StringUtils/src/main/java/StringUtils.java:47
↓ 9 callersMethodnil
Returns an empty FList
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:10
↓ 9 callersMethodvalue
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FTree/src/main/java/Leaf.java:10
↓ 8 callersMethodenqueue
Add an element to the list @param item The element to add at the end of the list
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:61
↓ 8 callersMethodpush
Push an element on the stack @param elem the Element to push
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/StackWithQueue/src/main/java/MyStack.java:19
↓ 8 callersMethodremove
Remove an element of the list @param index The index of the element to remove @throws IndexOutOfBoundsException if the index is less than 0 o
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:81
↓ 8 callersMethodvisit
(Add visitable)
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Visitor/src/main/java/Evaluation.java:2
↓ 7 callersMethodaddObserver
(Observer sub)
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Observer/src/main/java/WeatherStation.java:20
↓ 7 callersMethodcons
Returns a new FList obtained by prepending a to this list
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:17
↓ 7 callersMethodequals
(Object o)
BAC2/LEPL1402 - Informatique 2/Exos/Module 3/TreeSame/src/main/java/Tree.java:9
↓ 7 callersMethodremove
Removes the element at the specified position in this list. Returns the element that was removed from the list. You dont need to resize when removing
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/MyArrayList/src/main/java/MyArrayList.java:37
↓ 7 callersMethodtest
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/CoverageBasic/src/test/java/Tests.java:7
↓ 6 callersMethodcount
@param tab1 is a non null array @param tab2 is a non null array @return the number of elements that are the same at the same index more exactl
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/CommonElements/src/main/java/CommonElements.java:10
↓ 6 callersMethodgetCoursesResults
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Streams/src/main/java/Student.java:30
↓ 6 callersMethodgetItem
Return the item of the node @return The item contained in the node
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:21
↓ 6 callersFunctiongive_money
(borrowed_money, from_person, to_person, amount)
BAC1/LINFO1101 - Introduction à la programmation/Session 07/Q_Debt reminder.py:1
↓ 6 callersMethodrandomInt
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FTree/src/test/java/Tests.java:21
↓ 6 callersMethodremove
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:70
↓ 6 callersMethodtoLowerCase
Convert a string to lowercase @param str The string to convert @return A new string, same as str but with every character put to lower case.
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/LEPL1402_StringUtils/src/main/java/StringUtils.java:64
↓ 6 callersMethodtoString
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/Comparator/src/main/java/Person.java:15
↓ 6 callersMethodwrite
(self, s)
BAC1/LINFO1101 - Introduction à la programmation/Session 11/Q_Double Link.py:46
↓ 5 callersMethodbinarySearch
Find a value in an integer array @param array A non-null array of distinct integer values sorted in increasing order @param value The va
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/CoverageIntermidiate/src/main/java/BinarySearch.java:12
↓ 5 callersMethodcountAlphabet
Count the number of occurrences of each letter of the alphabet (from 'A' to 'Z') in the given string. The function must return an array containing 26
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/Anagram/src/main/java/Anagram.java:22
↓ 5 callersMethodenqueue
Add an element to the end of the list @param elem The element to add
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/QueueWithStacks/src/main/java/MyQueue.java:25
↓ 5 callersMethodgetRight
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Visitor/src/main/java/Node.java:15
↓ 5 callersMethodgetZone
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Observer/src/main/java/Pair.java:12
↓ 5 callersMethodhead
@return the head of the list. @throws NoSuchElementException if the list is empty
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:35
↓ 5 callersMethodisAnagram
Check whether one string is an anagram of another string. It is strongly advised to use the function "countAlphabet()" as a building block for functio
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/Anagram/src/main/java/Anagram.java:48
↓ 5 callersMethodisEmpty
@return true if the list is empty, false otherwise
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:29
↓ 5 callersMethodmap
(Function<A, B> f)
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FTree/src/main/java/FTree.java:20
↓ 5 callersMethodnil
Returns an empty FList
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FListMergeSort/src/main/java/FList.java:16
↓ 5 callersMethodsetAlert
(String alert, int zone)
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Observer/src/main/java/WeatherStation.java:36
↓ 5 callersMethodtail
@return the tail of the list (i.e. the sublist without the first element of this list) @throws NoSuchElementException if the list is empty
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:41
↓ 4 callersMethodadd_animal
(self, animal)
BAC1/LINFO1101 - Introduction à la programmation/Session 09/Q_Zoo Game.py:60
↓ 4 callersMethodalmostEquals
(double d1, double d2)
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/LearnException/src/test/java/Tests.java:104
↓ 4 callersMethodbuildTower
(int size)
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/HanoiTower/src/test/java/Tests.java:18
↓ 4 callersMethodbuildTree
(Node node, Integer[] nodes)
BAC2/LEPL1402 - Informatique 2/Exos/Module 3/TreeInorder/src/test/java/Tests.java:90
↓ 4 callersMethodcollectCons
(Cons student)
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Generics/src/test/java/Tests.java:23
↓ 4 callersMethodcollectCons
(Cons<Integer> student)
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Generics2/src/test/java/Tests.java:22
↓ 4 callersMethoddivide
(int i1, int i2)
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/LearnException/src/main/java/Divider.java:8
↓ 4 callersMethodempty
@return true if the queue is empty
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/QueueWithStacks/src/main/java/MyQueue.java:68
↓ 4 callersMethodgetI
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/HanoiTower/src/main/java/Disk.java:9
↓ 4 callersMethodgetLast
Get the last element of the list @return The last ListNode in the list
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:146
↓ 4 callersMethodgetLeft
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Visitor/src/main/java/Node.java:11
↓ 4 callersMethodlogs
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 3/Inheritance/src/main/java/Animal.java:24
↓ 4 callersMethodput
put x on the buffer if the buffer is not full if the buffer is full, the thread waits until a place is free
BAC2/LEPL1402 - Informatique 2/Exos/Module 6/BoundedBuffer/src/main/java/BoundedBuffer.java:47
↓ 4 callersMethodtoString
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Factory/src/main/java/Level.java:27
↓ 4 callersMethodtowerOfHanoi
Solve the Tower of Hanoi puzzle @param n The number of disks to move @param a The tower from which we want to move the disks @param b An intermediate
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/HanoiTower/src/main/java/TowerOfHanoi.java:13
↓ 4 callersMethodvalley
Compute the deepest valley and highest mountain @param slopes A non-empty array of slope @return An array of two element. The first is the depth of t
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/valley/src/main/java/Valley.java:11
↓ 4 callersMethodxor_gate
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Generics3/src/main/java/Evaluator.java:8
↓ 3 callersMethodact
You must create the following string to be added to event_recorder : "AnimalName is performing the following action: Action" Example : "Cat is
BAC2/LEPL1402 - Informatique 2/Exos/Module 3/Inheritance/src/main/java/Animal.java:34
↓ 3 callersMethodand_gate
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Generics3/src/main/java/Evaluator.java:16
↓ 3 callersMethodbetterDivide
(int i1, int i2)
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/LearnException/src/main/java/Divider.java:37
↓ 3 callersMethodcompare
(Person o1, Person o2)
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/Comparator/src/main/java/Person.java:22
↓ 3 callersMethodconvolution
(int [][] input, int [][] kernel)
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/Convolution/src/main/java/Convolution.java:14
↓ 3 callersMethoddequeue
Remove the first element from the queue @return The oldest element in the queue @throws NoSuchElementException if the queue is empty
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/QueueWithStacks/src/main/java/MyQueue.java:35
↓ 3 callersMethoddoPut
Mechanics of putting x on the buffer. x is added at the end of the buffer.
BAC2/LEPL1402 - Informatique 2/Exos/Module 6/BoundedBuffer/src/main/java/BoundedBuffer.java:16
↓ 3 callersMethoddoTake
Mechanics of getting the first element of the buffer
BAC2/LEPL1402 - Informatique 2/Exos/Module 6/BoundedBuffer/src/main/java/BoundedBuffer.java:26
↓ 3 callersMethodfindAll
(Stream<Student> studentsStream, Map<String, Predicate<?>> conditions)
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Streams2/src/main/java/StudentFunctions.java:14
↓ 3 callersMethodgetAge
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/Optional/src/main/java/TeamLeader.java:19
↓ 3 callersMethodgetSubscribers
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/Observer/src/main/java/WeatherStation.java:2
↓ 3 callersMethodget_text
(self)
BAC1/LINFO1101 - Introduction à la programmation/Session 11/Q_Double Link.py:7
↓ 3 callersMethodhasNext
Returns {@code true} if the iteration has more elements. (In other words, returns {@code true} if {@link #next} would return an element rather than th
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/MyArrayList/src/main/java/MyArrayList.java:88
↓ 3 callersMethodhead
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FListMergeSort/src/main/java/FList.java:138
↓ 3 callersMethodhead
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FList/src/main/java/FList.java:132
↓ 3 callersMethodisEmpty
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 6/BoundedBuffer/src/main/java/BoundedBuffer.java:39
↓ 3 callersMethodisFull
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 6/BoundedBuffer/src/main/java/BoundedBuffer.java:35
↓ 3 callersMethodleft
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FTree/src/main/java/FTree.java:16
↓ 3 callersMethodleft
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FTree/src/main/java/Leaf.java:15
↓ 3 callersMethodmergeSort
This method receives an FList and returns a new FList containing the same values but sorted in ascending order.
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FListMergeSort/src/main/java/FListMerge.java:10
↓ 3 callersMethodnumberOfPrime
(int n)
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/SieveOfEratosthenesImplementation/src/main/java/Sieve.java:7
↓ 3 callersMethodpalindrome
Check if a string is a palyndrome <p> A palyndrome is a sequence of character that is the same when read from left to right and from right to left. @
BAC2/LEPL1402 - Informatique 2/Exos/Module 1/LEPL1402_StringUtils/src/main/java/StringUtils.java:87
↓ 3 callersMethodparseExp
(char[] in, int offset, int len)
BAC2/LEPL1402 - Informatique 2/Exos/Module 4/CoverageTesting/src/main/java/BigDecimal.java:5
↓ 3 callersMethodpeek
Peek at the first element of the queue @return The first element of the queue @throws NoSuchElementException if the queue is empty
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/QueueWithStacks/src/main/java/MyQueue.java:52
↓ 3 callersMethodright
()
BAC2/LEPL1402 - Informatique 2/Exos/Module 5/FTree/src/main/java/Leaf.java:20
↓ 3 callersMethodsetNext
Set the followers of this node in the list @param next The node to put after this one
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:39
↓ 3 callersMethodsize
The size of the list @return The size of the list
BAC2/LEPL1402 - Informatique 2/Exos/Module 2/CircularLL/src/main/java/CircularLinkedList.java:118
next →1–100 of 696, ranked by callers