Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
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
mbe-tools
TTool
Merge requests
!239
Created equalSpec methods to compare TML
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Created equalSpec methods to compare TML
testCloneArchiterureNode
into
master
Overview
2
Commits
7
Pipelines
0
Changes
51
Merged
Minh Hiep Pham
requested to merge
testCloneArchiterureNode
into
master
5 years ago
Overview
2
Commits
7
Pipelines
0
Changes
51
Expand
0
0
Merge request reports
Compare
master
version 4
3a0de428
5 years ago
version 3
1ee94e0a
5 years ago
version 2
358dfa61
5 years ago
version 1
800133b8
5 years ago
master (base)
and
latest version
latest version
813544c2
7 commits,
5 years ago
version 4
3a0de428
6 commits,
5 years ago
version 3
1ee94e0a
5 commits,
5 years ago
version 2
358dfa61
4 commits,
5 years ago
version 1
800133b8
1 commit,
5 years ago
51 files
+
7435
−
649
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
51
Search (e.g. *.vue) (Ctrl+P)
src/main/java/tmltranslator/modelcompiler/ArchUnitMEC.java
+
10
−
0
Options
@@ -40,6 +40,7 @@
package
tmltranslator.modelcompiler
;
import
java.util.Arrays
;
import
java.util.Objects
;
import
java.util.Vector
;
/**
@@ -98,4 +99,13 @@ public abstract class ArchUnitMEC {
return
stringTypesArr
[
index
];
}
public
boolean
equalSpec
(
Object
o
)
{
if
(!(
o
instanceof
ArchUnitMEC
))
return
false
;
ArchUnitMEC
that
=
(
ArchUnitMEC
)
o
;
return
index
==
that
.
getIndex
()
&&
Objects
.
equals
(
initCtxRoutine
,
that
.
getCtxInitCode
())
&&
Objects
.
equals
(
ctxCleanupRoutine
,
that
.
getCtxCleanupCode
())
&&
Objects
.
equals
(
localMemoryPointer
,
getLocalMemoryPointer
());
}
}
//End of class
Loading