Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
G
gpucloudsim
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LPDS
gpucloudsim
Commits
e0205e64
Commit
e0205e64
authored
Feb 02, 2016
by
Manoel Campos
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
e0334f46
c1ffe5a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
ResCloudletList.java
...ain/java/org/cloudbus/cloudsim/lists/ResCloudletList.java
+5
-6
No files found.
modules/cloudsim/src/main/java/org/cloudbus/cloudsim/lists/ResCloudletList.java
View file @
e0205e64
...
@@ -29,12 +29,11 @@ public class ResCloudletList {
...
@@ -29,12 +29,11 @@ public class ResCloudletList {
* @param userId an User Id
* @param userId an User Id
* @param list the list of ResCloudlet
* @param list the list of ResCloudlet
* @return a Cloudlet or null if not found
* @return a Cloudlet or null if not found
* @pre cloudletId >= 0
* @pre cloudletId >= 0
* @pre userId >= 0
* @pre userId >= 0
* @post $none
* @post $none
*
*
* @todo The second phrase of the class documentation is not clear.
* @todo The second phrase of the class documentation is not clear.
*/
*/
public
static
<
T
extends
ResCloudlet
>
ResCloudlet
getByIdAndUserId
(
public
static
<
T
extends
ResCloudlet
>
ResCloudlet
getByIdAndUserId
(
List
<
T
>
list
,
List
<
T
>
list
,
...
@@ -50,7 +49,7 @@ public class ResCloudletList {
...
@@ -50,7 +49,7 @@ public class ResCloudletList {
/**
/**
* Finds the index of a ResCloudlet inside a list.
* Finds the index of a ResCloudlet inside a list.
* This method needs a combination of Cloudlet Id
* This method needs a combination of Cloudlet Id
* and User Id because each Cloud User might have exactly the same Cloudlet Id.
* and User Id because each Cloud User might have exactly the same Cloudlet Id.
*
*
* @param cloudletId a Cloudlet Id
* @param cloudletId a Cloudlet Id
...
@@ -94,7 +93,7 @@ public class ResCloudletList {
...
@@ -94,7 +93,7 @@ public class ResCloudletList {
/**
/**
* Gets the position of a ResCloudlet with a given id.
* Gets the position of a ResCloudlet with a given id.
*
*
* @param cloudletList the list of cloudlets.
* @param cloudletList the list of cloudlets.
* @param id the cloudlet id
* @param id the cloudlet id
* @return the position of the cloudlet with that id, or -1 if not found.
* @return the position of the cloudlet with that id, or -1 if not found.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment