Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-05-04 10:51:48 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e2c7ff0e1d2823bb57cbd8e0a5dc6ad819892186
e2c7ff0e
1 parent
4409ca8a
Passage de Set en List pour les ensembles de recommandations.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
grog-recommendation/grog-recommendation-process/src/main/java/org/legrog/recommendation/process/ProcessingRecommendations.java
grog-recommendation/grog-recommendation-process/src/main/java/org/legrog/recommendation/process/ProcessingRecommendations.java
View file @
e2c7ff0
package
org
.
legrog
.
recommendation
.
process
;
import
java.util.
HashSe
t
;
import
java.util.
Se
t
;
import
java.util.
ArrayLis
t
;
import
java.util.
Lis
t
;
public
class
ProcessingRecommendations
{
Se
t
<
RecommendationElement
>
recommendations
;
Lis
t
<
RecommendationElement
>
recommendations
;
public
ProcessingRecommendations
()
{
recommendations
=
new
HashSe
t
<>();
recommendations
=
new
ArrayLis
t
<>();
}
public
void
addRecommentation
(
RecommendationElement
recommendationElement
)
{
recommendations
.
add
(
recommendationElement
);
}
public
Se
t
<
RecommendationElement
>
getRecommendations
()
{
public
Lis
t
<
RecommendationElement
>
getRecommendations
()
{
return
recommendations
;
}
}
}
\ No newline at end of file
...
...
Please
register
or
login
to post a comment