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
198b5374
Commit
198b5374
authored
17 years ago
by
ribeaudc
Browse files
Options
Downloads
Patches
Plain Diff
add: - Method 'values' which gives access to internal map values.
SVN: 4779
parent
34f7badc
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
common/source/java/ch/systemsx/cisd/common/collections/TableMap.java
+13
-0
13 additions, 0 deletions
...ce/java/ch/systemsx/cisd/common/collections/TableMap.java
with
13 additions
and
0 deletions
common/source/java/ch/systemsx/cisd/common/collections/TableMap.java
+
13
−
0
View file @
198b5374
...
@@ -16,6 +16,8 @@
...
@@ -16,6 +16,8 @@
package
ch.systemsx.cisd.common.collections
;
package
ch.systemsx.cisd.common.collections
;
import
java.util.Collection
;
import
java.util.Collections
;
import
java.util.Iterator
;
import
java.util.Iterator
;
import
java.util.LinkedHashMap
;
import
java.util.LinkedHashMap
;
import
java.util.Map
;
import
java.util.Map
;
...
@@ -123,6 +125,17 @@ public class TableMap<K, E> implements Iterable<E>
...
@@ -123,6 +125,17 @@ public class TableMap<K, E> implements Iterable<E>
return
map
.
get
(
key
);
return
map
.
get
(
key
);
}
}
/**
* Returns a collection view of the values contained in the internal map.
* <p>
* The returned collection is unmodifiable.
* </p>
*/
public
final
Collection
<
E
>
values
()
{
return
Collections
.
unmodifiableCollection
(
map
.
values
());
}
/**
/**
* Creates an iterator of the rows in the order they have been added. Removing is not supported.
* Creates an iterator of the rows in the order they have been added. Removing is not supported.
*/
*/
...
...
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