Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openbis
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sispub
openbis
Commits
f538d0d9
Commit
f538d0d9
authored
14 years ago
by
cramakri
Browse files
Options
Downloads
Patches
Plain Diff
LMS-1584 Added methods for working with MDDoubleArrays on the feature values dto.
SVN: 16650
parent
f26fd857
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
screening/source/java/ch/systemsx/cisd/openbis/dss/etl/dataaccess/ImgFeatureValuesDTO.java
+12
-0
12 additions, 0 deletions
.../cisd/openbis/dss/etl/dataaccess/ImgFeatureValuesDTO.java
with
12 additions
and
0 deletions
screening/source/java/ch/systemsx/cisd/openbis/dss/etl/dataaccess/ImgFeatureValuesDTO.java
+
12
−
0
View file @
f538d0d9
...
@@ -19,6 +19,8 @@ package ch.systemsx.cisd.openbis.dss.etl.dataaccess;
...
@@ -19,6 +19,8 @@ package ch.systemsx.cisd.openbis.dss.etl.dataaccess;
import
net.lemnik.eodsql.AutoGeneratedKeys
;
import
net.lemnik.eodsql.AutoGeneratedKeys
;
import
net.lemnik.eodsql.ResultColumn
;
import
net.lemnik.eodsql.ResultColumn
;
import
ch.systemsx.cisd.base.convert.NativeTaggedArray
;
import
ch.systemsx.cisd.base.mdarray.MDDoubleArray
;
import
ch.systemsx.cisd.common.utilities.AbstractHashable
;
import
ch.systemsx.cisd.common.utilities.AbstractHashable
;
/**
/**
...
@@ -56,6 +58,11 @@ public class ImgFeatureValuesDTO extends AbstractHashable
...
@@ -56,6 +58,11 @@ public class ImgFeatureValuesDTO extends AbstractHashable
this
.
featureDefId
=
featureDefId
;
this
.
featureDefId
=
featureDefId
;
}
}
public
ImgFeatureValuesDTO
(
Double
zInM
,
Double
tInSec
,
MDDoubleArray
array
,
long
featureDefId
)
{
this
(
zInM
,
tInSec
,
NativeTaggedArray
.
toByteArray
(
array
),
featureDefId
);
}
public
long
getId
()
public
long
getId
()
{
{
return
id
;
return
id
;
...
@@ -112,4 +119,9 @@ public class ImgFeatureValuesDTO extends AbstractHashable
...
@@ -112,4 +119,9 @@ public class ImgFeatureValuesDTO extends AbstractHashable
this
.
t
=
tInSec
;
this
.
t
=
tInSec
;
}
}
public
MDDoubleArray
getValuesDoubleArray
()
{
return
NativeTaggedArray
.
tryToDoubleArray
(
getValues
());
}
}
}
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