P25 Work-in-progress check-in.

This commit is contained in:
dennis.sheirer
2014-11-10 09:53:03 +00:00
parent 7b89c614e7
commit 46e3594c07
31 changed files with 2271 additions and 227 deletions

View File

@@ -87,6 +87,13 @@ public class BitSetBuffer extends BitSet
this.or( toCopyFrom );
this.mPointer = toCopyFrom.pointer();
}
public BitSetBuffer( BitSet bitset, int size )
{
this( size );
this.or( bitset );
this.mPointer = size - 1;
}
/**
* Current pointer index
@@ -95,6 +102,11 @@ public class BitSetBuffer extends BitSet
{
return mPointer;
}
public void setPointer( int index )
{
mPointer = index;
}
/**
* Static method to construct a new BitSetBuffer, preloaded with the bits
@@ -153,6 +165,11 @@ public class BitSetBuffer extends BitSet
{
return mSize;
}
public void setSize( int size )
{
mSize = size;
}
/**
* Clears (sets to false or 0) the bits in this bitset and resets the