public class OnDemandLongArray extends Object
Modifier and Type | Field and Description |
---|---|
private int |
size |
private long |
start |
private RandomAccessInputStream |
stream |
Constructor and Description |
---|
OnDemandLongArray(RandomAccessInputStream in) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
get(int index) |
RandomAccessInputStream |
getStream() |
void |
setSize(int size) |
void |
setStream(RandomAccessInputStream in) |
long |
size() |
long[] |
toArray() |
private transient RandomAccessInputStream stream
private int size
private long start
public OnDemandLongArray(RandomAccessInputStream in) throws IOException
IOException
public void setSize(int size)
public RandomAccessInputStream getStream()
public void setStream(RandomAccessInputStream in)
public long get(int index) throws IOException
IOException
public long size()
public long[] toArray() throws IOException
IOException
public void close() throws IOException
IOException
Copyright © 2015 Open Microscopy Environment