java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.code.IdRanges |
A collection of var-id ranges.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IdRanges() | |||||||||||
IdRanges(IdRanges o) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | add(IVariable var) | ||||||||||
void | add(IVariable var, int beg, int len) | ||||||||||
void | add(int varid, int bitsize) | ||||||||||
void | addAll(Collection<? extends IVariable> vars, Collection<? extends IVariable> exclusions) | ||||||||||
void | addAll(Collection<? extends IVariable> vars) | ||||||||||
void | addAll(Collection<? extends IVariable> vars, IdRanges exclusions) | ||||||||||
int | bsize() | ||||||||||
void | clear() | ||||||||||
void | collectBits(List<Integer> r) | ||||||||||
void | collectVarIds(Collection<Integer> r) | ||||||||||
boolean | containsVarFull(int varid) | ||||||||||
boolean | containsVarFull(int varid, int bitsize) | ||||||||||
boolean | containsVarPart(IVariable var) | ||||||||||
boolean | equals(Object obj) | ||||||||||
List<Integer> | getBits() | ||||||||||
List<Integer> |
getVarIds()
Generate a list (modifiable copy) containing the variable ids stored in this object.
| ||||||||||
boolean |
hasIntersection(IdRanges other)
Check if there is common range between current range and the other range.
| ||||||||||
int | hashCode() | ||||||||||
IdRanges |
intersection(IdRanges other)
Return common range between current range and the other range.
| ||||||||||
boolean | isEmpty() | ||||||||||
void | remove(IVariable var) | ||||||||||
void | remove(int varId) | ||||||||||
int |
size()
Provide the number of accessed variables.
| ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Generate a list (modifiable copy) containing the variable ids stored in this object. Not all variables may be accessed fully.
Check if there is common range between current range and the other range.
other | other range |
---|
Return common range between current range and the other range.
other | other range |
---|
Provide the number of accessed variables.