public class Fragments extends ArrayList<Object> implements Value
modCount| Constructor and Description |
|---|
Fragments(VR vr,
boolean bigEndian,
int initialCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object frag) |
boolean |
add(Object frag) |
boolean |
addAll(Collection<? extends Object> c) |
boolean |
addAll(int index,
Collection<? extends Object> c) |
boolean |
bigEndian() |
int |
calcLength(DicomEncodingOptions encOpts,
boolean explicitVR,
VR vr) |
int |
getEncodedLength(DicomEncodingOptions encOpts,
boolean explicitVR,
VR vr) |
byte[] |
toBytes(VR vr,
boolean bigEndian) |
String |
toString() |
VR |
vr() |
void |
writeTo(DicomOutputStream out,
VR vr) |
clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic Fragments(VR vr, boolean bigEndian, int initialCapacity)
public final VR vr()
public final boolean bigEndian()
public String toString()
toString in class AbstractCollection<Object>public boolean add(Object frag)
public void add(int index,
Object frag)
public boolean addAll(Collection<? extends Object> c)
public boolean addAll(int index,
Collection<? extends Object> c)
public void writeTo(DicomOutputStream out, VR vr) throws IOException
writeTo in interface ValueIOExceptionpublic int calcLength(DicomEncodingOptions encOpts, boolean explicitVR, VR vr)
calcLength in interface Valuepublic int getEncodedLength(DicomEncodingOptions encOpts, boolean explicitVR, VR vr)
getEncodedLength in interface Valuepublic byte[] toBytes(VR vr, boolean bigEndian) throws IOException
toBytes in interface ValueIOExceptionCopyright © 2014 dcm4che.org. All rights reserved.