Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Analyst WebApp
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
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
fidentis
Analyst WebApp
Commits
05cef8d2
There was an error fetching the commit references. Please try again later.
Commit
05cef8d2
authored
5 years ago
by
Matej Lukes
Browse files
Options
Downloads
Patches
Plain Diff
getRow and getSize added to corner table
parent
06fe847a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/CornerTable.java
+20
-1
20 additions, 1 deletion
.../main/java/cz/fidentis/analyst/mesh/core/CornerTable.java
with
20 additions
and
1 deletion
MeshModel/src/main/java/cz/fidentis/analyst/mesh/core/CornerTable.java
+
20
−
1
View file @
05cef8d2
...
@@ -119,9 +119,28 @@ public class CornerTable {
...
@@ -119,9 +119,28 @@ public class CornerTable {
* replaces row of corner table at specified index
* replaces row of corner table at specified index
*
*
* @param index index of replaced row
* @param index index of replaced row
* @param row new row
* @param row
new row
*/
*/
public
void
replaceRow
(
int
index
,
CornerTableRow
row
)
{
public
void
replaceRow
(
int
index
,
CornerTableRow
row
)
{
rows
.
set
(
index
,
row
);
rows
.
set
(
index
,
row
);
}
}
/**
* returns number of rows in corner table
*
* @return number of rows in corner table
*/
public
int
getSize
()
{
return
rows
.
size
();
}
/**
* returns row of corner table with specified index
*
* @param index index of desired row
* @return row of corner table
*/
public
CornerTableRow
getRow
(
int
index
)
{
return
rows
.
get
(
index
);
}
}
}
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