public class CadData extends Object implements com.aspose.ms.System.Collections.IEnumerable, com.aspose.ms.System.Collections.IEnumerator
Object for work with a new data stream dwg
Constructor and Description |
---|
CadData()
Initializes a new instance of the
CadData class. |
Modifier and Type | Method and Description |
---|---|
void |
add(boolean value)
Add one bit
|
void |
addRange(boolean[] values)
Add a BitArray from the bool array
|
void |
append(BitSet bitSet)
Add a BitSet
|
boolean |
get_Item(int index)
Get current value by index
|
BitSet |
getCurrentData()
Get current BitSet
|
int |
getOffset()
Get current offset
|
boolean |
hasNext()
MoveNext
|
com.aspose.ms.System.Collections.IEnumerator |
iterator()
GetEnumerator
|
Object |
next()
Get current value
|
void |
remove() |
void |
reset()
Reset index BitArray
|
void |
setOffset(int value)
Get current offset
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
forEachRemaining
public CadData()
Initializes a new instance of the CadData
class.
public final int getOffset()
Get current offset
public final void setOffset(int value)
Get current offset
public final boolean get_Item(int index)
Get current value by index
index
- Value indexpublic final BitSet getCurrentData()
Get current BitSet
public final void add(boolean value)
Add one bit
value
- Bit valuepublic final void addRange(boolean[] values)
Add a BitArray from the bool array
values
- Bit valuespublic final void append(BitSet bitSet)
Add a BitSet
bitSet
- BitSet valuespublic final com.aspose.ms.System.Collections.IEnumerator iterator()
GetEnumerator
public final boolean hasNext()
MoveNext
public final void reset()
Reset index BitArray
reset
in interface com.aspose.ms.System.Collections.IEnumerator
public final Object next()
Get current value