summaryrefslogtreecommitdiffstats
path: root/java/examples
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-02-27 20:51:20 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-02-27 20:51:20 (GMT)
commit8d909320bf752baa32c13c0d4e2a29985a0e923b (patch)
tree7d11051bc9820bcaec2cafefffe3871331247a22 /java/examples
parent6cd6daf8f9093040e8b321c2b00252a16b39c6bb (diff)
downloadhdf5-8d909320bf752baa32c13c0d4e2a29985a0e923b.zip
hdf5-8d909320bf752baa32c13c0d4e2a29985a0e923b.tar.gz
hdf5-8d909320bf752baa32c13c0d4e2a29985a0e923b.tar.bz2
Added virtual to list
Diffstat (limited to 'java/examples')
-rw-r--r--java/examples/datasets/H5Ex_D_Chunk.java5
-rw-r--r--java/examples/datasets/H5Ex_D_Compact.java5
2 files changed, 8 insertions, 2 deletions
diff --git a/java/examples/datasets/H5Ex_D_Chunk.java b/java/examples/datasets/H5Ex_D_Chunk.java
index 7f02e5a..b12b227 100644
--- a/java/examples/datasets/H5Ex_D_Chunk.java
+++ b/java/examples/datasets/H5Ex_D_Chunk.java
@@ -44,7 +44,7 @@ public class H5Ex_D_Chunk {
// Values for the status of space allocation
enum H5D_layout {
- H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_NLAYOUTS(3);
+ H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_VIRTUAL(3), H5D_NLAYOUTS(4);
private static final Map<Integer, H5D_layout> lookup = new HashMap<Integer, H5D_layout>();
static {
@@ -250,6 +250,9 @@ public class H5Ex_D_Chunk {
case H5D_CHUNKED:
System.out.println("H5D_CHUNKED");
break;
+ case H5D_VIRTUAL:
+ System.out.println("H5D_VIRTUAL");
+ break;
case H5D_LAYOUT_ERROR:
break;
case H5D_NLAYOUTS:
diff --git a/java/examples/datasets/H5Ex_D_Compact.java b/java/examples/datasets/H5Ex_D_Compact.java
index 4f1e2f0..0417c7c 100644
--- a/java/examples/datasets/H5Ex_D_Compact.java
+++ b/java/examples/datasets/H5Ex_D_Compact.java
@@ -38,7 +38,7 @@ public class H5Ex_D_Compact {
// Values for the status of space allocation
enum H5D_layout {
- H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_NLAYOUTS(3);
+ H5D_LAYOUT_ERROR(-1), H5D_COMPACT(0), H5D_CONTIGUOUS(1), H5D_CHUNKED(2), H5D_VIRTUAL(3), H5D_NLAYOUTS(4);
private static final Map<Integer, H5D_layout> lookup = new HashMap<Integer, H5D_layout>();
static {
@@ -212,6 +212,9 @@ public class H5Ex_D_Compact {
case H5D_CHUNKED:
System.out.println("H5D_CHUNKED");
break;
+ case H5D_VIRTUAL:
+ System.out.println("H5D_VIRTUAL");
+ break;
case H5D_LAYOUT_ERROR:
break;
case H5D_NLAYOUTS: