MCPcopy Create free account

hub / github.com/PacktPublishing/Java-9-Concurrency-Cookbook-Second-Edition / functions

Functions896 in github.com/PacktPublishing/Java-9-Concurrency-Cookbook-Second-Edition

↓ 1 callersMethodisPrime
Method that calculate if a number is prime or not @param number : The number @return A boolean value. True if the number is prime, false i
Chapter01/ch01_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter01/recipe02/task/PrimeGenerator.java:37
↓ 1 callersMethodlaunchTasks
Divide the block of numbers assigned to this task in two and execute to new Task objects to process that blocks @return The position where the number
Chapter05/ch05_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe05/task/SearchNumberTask.java:116
↓ 1 callersMethodlogCancelMessage
()
Chapter05/ch05_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe05/task/SearchNumberTask.java:138
↓ 1 callersMethodlookForNumber
Looks for the number in the block of numbers assigned to this task @return The position where it found the number or -1 if it doesn't find it
Chapter05/ch05_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe05/task/SearchNumberTask.java:94
↓ 1 callersMethodmotoComeIn
()
Chapter02/ch02_recipe01_problem/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:32
↓ 1 callersMethodmotoComeIn
()
Chapter02/ch02_recipe01_solution/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:45
↓ 1 callersMethodmotoGoOut
()
Chapter02/ch02_recipe01_problem/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:36
↓ 1 callersMethodmotoGoOut
()
Chapter02/ch02_recipe01_solution/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe01/parking/ParkingStats.java:51
↓ 1 callersMethodnewThread
Method that creates a new Thread object using a Runnable object @param r: Runnable object to create the new Thread
Chapter01/ch01_recipe10/src/com/packtpub/java9/concurrency/cookbook/chapter01/recipe10/factory/MyThreadFactory.java:39
↓ 1 callersMethodnewThread
Method that creates a new MyThread thread
Chapter08/ch08_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe03/task/MyThreadFactory.java:34
↓ 1 callersMethodonError
(Throwable exception)
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/Consumer.java:22
↓ 1 callersMethodonNext
(News item)
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/Consumer.java:27
↓ 1 callersMethodonSubscribe
(Subscription subscription)
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/Consumer.java:36
↓ 1 callersMethodprintJob
(Object document)
Chapter03/ch03_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter03/recipe01/task/PrintQueue.java:47
↓ 1 callersMethodprintJob
Method that prints the Job. The printing is divided in two phase two show how the fairness attribute affects the election of the thread who has the co
Chapter02/ch02_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe03/task/PrintQueue.java:30
↓ 1 callersMethodprocessLine
Method that simulates the processing of a line. Waits 10 milliseconds @param line
Chapter02/ch02_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe05/task/Consumer.java:42
↓ 1 callersMethodprocessLines
Throws a LineTask task for each line of the block of lines this task has to process @param document Document to process @param start Starting position
Chapter05/ch05_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe02/task/DocumentTask.java:86
↓ 1 callersMethodrun
Main method of the task.
Chapter09/ch09_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter09/recipe07/task/Task.java:28
↓ 1 callersMethodset
Override the set method. As we are going to execute a Runnable object, this method establish the null value as result. We change this behavior returni
Chapter10/ch10_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter10/recipe01/task/Task.java:31
↓ 1 callersMethodsetAge
@param age the age to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/BasicPerson.java:28
↓ 1 callersMethodsetBalance
Establish the balance of the account @param balance the new balance of the account
Chapter07/ch07_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter07/recipe07/task/Account.java:49
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:70
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:70
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:70
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:70
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:70
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:70
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:74
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:70
↓ 1 callersMethodsetBirthDate
@param birthDate the birthDate to set
Chapter11/app_recipe12/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe12/utils/Person.java:69
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:100
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:100
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:100
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:100
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:100
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:100
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:104
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:100
↓ 1 callersMethodsetCoeficient
@param coeficient the coeficient to set
Chapter11/app_recipe12/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe12/utils/Person.java:99
↓ 1 callersMethodsetColumn
@param column the column to set
Chapter08/ch08_recipe11/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe11/spliterator/Item.java:34
↓ 1 callersMethodsetConsumer
@param consumer the consumer to set
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/ConsumerData.java:16
↓ 1 callersMethodsetContent
@param content the content to set
Chapter06/ch06_recipe09/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe09/items/Item.java:28
↓ 1 callersMethodsetCounter
@param counter the counter to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Counter.java:33
↓ 1 callersMethodsetCreationDate
Method that establish the creation date of the thread
Chapter08/ch08_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe04/task/MyThread.java:53
↓ 1 callersMethodsetData
Sets the value of one position in the array of results @param position Position in the array @param value Value to set in that position
Chapter03/ch03_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter03/recipe03/utils/Results.java:28
↓ 1 callersMethodsetDate
Writes the Date of the event @param date the date of the event
Chapter01/ch01_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter01/recipe06/event/Event.java:36
↓ 1 callersMethodsetEvent
Writes the message of the event @param event the message of the event
Chapter01/ch01_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter01/recipe06/event/Event.java:55
↓ 1 callersMethodsetFinishDate
Method that establish the finish date of the thread
Chapter08/ch08_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe04/task/MyThread.java:67
↓ 1 callersMethodsetFinishDate
Method that establish the value of the finish date
Chapter08/ch08_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe03/task/MyThread.java:57
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:40
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:40
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:40
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:40
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:40
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:40
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:44
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:40
↓ 1 callersMethodsetFirstName
@param firstName the firstName to set
Chapter11/app_recipe12/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe12/utils/Person.java:39
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:25
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:25
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:25
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:25
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:25
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:25
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:29
↓ 1 callersMethodsetId
@param id the id to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:25
↓ 1 callersMethodsetId
@param id the id to set
Chapter11/app_recipe12/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe12/utils/Person.java:24
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:55
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:55
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:55
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:55
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:55
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:55
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:59
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:55
↓ 1 callersMethodsetLastName
@param lastName the lastName to set
Chapter11/app_recipe12/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe12/utils/Person.java:54
↓ 1 callersMethodsetName
@param name the name to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/BasicPerson.java:16
↓ 1 callersMethodsetName
This method establish the name of the product @param name the name of the product
Chapter05/ch05_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter05/recipe01/util/Product.java:31
↓ 1 callersMethodsetName
@param name the name to set
Chapter08/ch08_recipe11/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe11/spliterator/Item.java:49
↓ 1 callersMethodsetOperation
@param operation the operation to set
Chapter07/ch07_recipe06/src/com/packtpub/java8/concurrency/cookbook/chapter07/recipe06/util/Operation.java:37
↓ 1 callersMethodsetPeriod
Method that establish the period of the task for periodic tasks @param period
Chapter08/ch08_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe05/task/MyScheduledTask.java:117
↓ 1 callersMethodsetPrices
Establish the prices @param price1 The price of the first product @param price2 The price of the second product
Chapter02/ch02_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter02/recipe04/task/PricesInfo.java:63
↓ 1 callersMethodsetRow
@param row the row to set
Chapter08/ch08_recipe11/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe11/spliterator/Item.java:20
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Person.java:85
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe02/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe02/util/Person.java:85
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe08/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe08/util/Person.java:85
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe07/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe07/util/Person.java:85
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe01/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe01/util/Person.java:85
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe05/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe05/util/Person.java:85
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe04/util/Person.java:89
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter06/ch06_recipe06/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe06/util/Person.java:85
↓ 1 callersMethodsetSalary
@param salary the salary to set
Chapter11/app_recipe12/src/com/packtpub/java9/concurrency/cookbook/appendix/recipe12/utils/Person.java:84
↓ 1 callersMethodsetStartDate
Method that establish the start date of the thread
Chapter08/ch08_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe04/task/MyThread.java:60
↓ 1 callersMethodsetStartDate
Method that establish the value of the start date
Chapter08/ch08_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe03/task/MyThread.java:50
↓ 1 callersMethodsetSubscription
@param subscription the subscription to set
Chapter08/ch08_recipe12/src/com/packtpub/java9/concurrency/cookbook/chapter08/recipe12/stream/ConsumerData.java:28
↓ 1 callersMethodsetTitle
@param title the title to set
Chapter06/ch06_recipe09/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe09/items/Item.java:16
↓ 1 callersMethodsetUser
@param user the user to set
Chapter07/ch07_recipe06/src/com/packtpub/java8/concurrency/cookbook/chapter07/recipe06/util/Operation.java:22
↓ 1 callersMethodsetValue
Establish the value of the result @param value The value of the result
Chapter04/ch04_recipe04/src/com/packtpub/java9/concurrency/cookbook/chapter04/recipe04/task/Result.java:45
↓ 1 callersMethodsetValue
@param value the value to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Counter.java:21
↓ 1 callersMethodsetX
@param x the x to set
Chapter06/ch06_recipe03/src/com/packtpub/java9/concurrency/cookbook/chapter06/recipe03/util/Point.java:16
← previousnext →201–300 of 896, ranked by callers