public class Sequence extends ArrayList<Attributes> implements Value
Modifier and Type | Field and Description |
---|---|
private int |
length |
private Attributes |
parent |
private String |
privateCreator |
private static long |
serialVersionUID |
private int |
tag |
modCount
Constructor and Description |
---|
Sequence(Attributes parent,
String privateCreator,
int tag,
int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Attributes attrs) |
void |
add(int index,
Attributes attrs) |
boolean |
addAll(Collection<? extends Attributes> c) |
boolean |
addAll(int index,
Collection<? extends Attributes> c) |
int |
calcLength(DicomEncodingOptions encOpts,
boolean explicitVR,
VR vr) |
void |
clear() |
int |
getEncodedLength(DicomEncodingOptions encOpts,
boolean explicitVR,
VR vr) |
Attributes |
getParent() |
int |
indexOf(Object o) |
Attributes |
remove(int index) |
boolean |
remove(Object o) |
Attributes |
set(int index,
Attributes attrs) |
private void |
setParent(Collection<? extends Attributes> c) |
byte[] |
toBytes(VR vr,
boolean bigEndian) |
String |
toString() |
void |
trimToSize(boolean recursive) |
void |
writeTo(DicomOutputStream out,
VR vr) |
clone, contains, ensureCapacity, forEach, get, isEmpty, iterator, lastIndexOf, listIterator, listIterator, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
parallelStream, stream
private static final long serialVersionUID
private final Attributes parent
private final String privateCreator
private final int tag
private int length
Sequence(Attributes parent, String privateCreator, int tag, int initialCapacity)
public final Attributes getParent()
public void trimToSize(boolean recursive)
public int indexOf(Object o)
indexOf
in interface List<Attributes>
indexOf
in class ArrayList<Attributes>
public boolean add(Attributes attrs)
add
in interface Collection<Attributes>
add
in interface List<Attributes>
add
in class ArrayList<Attributes>
public void add(int index, Attributes attrs)
add
in interface List<Attributes>
add
in class ArrayList<Attributes>
public boolean addAll(Collection<? extends Attributes> c)
addAll
in interface Collection<Attributes>
addAll
in interface List<Attributes>
addAll
in class ArrayList<Attributes>
private void setParent(Collection<? extends Attributes> c)
public boolean addAll(int index, Collection<? extends Attributes> c)
addAll
in interface List<Attributes>
addAll
in class ArrayList<Attributes>
public void clear()
clear
in interface Collection<Attributes>
clear
in interface List<Attributes>
clear
in class ArrayList<Attributes>
public Attributes remove(int index)
remove
in interface List<Attributes>
remove
in class ArrayList<Attributes>
public boolean remove(Object o)
remove
in interface Collection<Attributes>
remove
in interface List<Attributes>
remove
in class ArrayList<Attributes>
public Attributes set(int index, Attributes attrs)
set
in interface List<Attributes>
set
in class ArrayList<Attributes>
public String toString()
toString
in class AbstractCollection<Attributes>
public int calcLength(DicomEncodingOptions encOpts, boolean explicitVR, VR vr)
calcLength
in interface Value
public int getEncodedLength(DicomEncodingOptions encOpts, boolean explicitVR, VR vr)
getEncodedLength
in interface Value
public void writeTo(DicomOutputStream out, VR vr) throws IOException
writeTo
in interface Value
IOException
public byte[] toBytes(VR vr, boolean bigEndian) throws IOException
toBytes
in interface Value
IOException
Copyright © 2017 dcm4che.org. All rights reserved.