Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
EJB-Calculator
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
web2
EJB-Calculator
Commits
ed0caf43
Commit
ed0caf43
authored
9 years ago
by
Carlos Eduardo da Silva
Browse files
Options
Downloads
Patches
Plain Diff
The Bean base class
parent
97cc5992
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Calculator-Bean/ejbModule/br/ufrn/imd/imd0409/calculator/bean/CalculatorBeanBase.java
+32
-0
32 additions, 0 deletions
.../ufrn/imd/imd0409/calculator/bean/CalculatorBeanBase.java
with
32 additions
and
0 deletions
Calculator-Bean/ejbModule/br/ufrn/imd/imd0409/calculator/bean/CalculatorBeanBase.java
0 → 100644
+
32
−
0
View file @
ed0caf43
/**
*
*/
package
br.ufrn.imd.imd0409.calculator.bean
;
/**
* @author kaduardo
*
*/
public
class
CalculatorBeanBase
implements
CalculatorCommonBusiness
{
/**
*
*/
public
CalculatorBeanBase
()
{
// TODO Auto-generated constructor stub
}
/* (non-Javadoc)
* @see br.ufrn.imd.imd0409.calculator.bean.CalculatorCommonBusiness#add(int[])
*/
@Override
public
int
add
(
int
...
arguments
)
{
int
result
=
0
;
for
(
int
arg
:
arguments
)
{
result
+=
arg
;
}
return
result
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment