public class BitSetBitmapFactory extends Object implements BitmapFactory
Constructor and Description |
---|
BitSetBitmapFactory() |
Modifier and Type | Method and Description |
---|---|
ImmutableBitmap |
complement(ImmutableBitmap b) |
ImmutableBitmap |
complement(ImmutableBitmap b,
int length) |
ImmutableBitmap |
intersection(Iterable<ImmutableBitmap> b)
Compute the intersection (bitwise-AND) of a set of bitmaps.
|
ImmutableBitmap |
makeEmptyImmutableBitmap() |
MutableBitmap |
makeEmptyMutableBitmap()
Create a new empty bitmap
|
ImmutableBitmap |
makeImmutableBitmap(MutableBitmap mutableBitmap) |
ImmutableBitmap |
mapImmutableBitmap(ByteBuffer b)
Given a ByteBuffer pointing at a serialized version of a bitmap,
instantiate an immutable mapped bitmap.
|
ImmutableBitmap |
union(Iterable<ImmutableBitmap> b)
Compute the union (bitwise-OR) of a set of bitmaps.
|
public MutableBitmap makeEmptyMutableBitmap()
BitmapFactory
makeEmptyMutableBitmap
in interface BitmapFactory
public ImmutableBitmap makeEmptyImmutableBitmap()
makeEmptyImmutableBitmap
in interface BitmapFactory
public ImmutableBitmap makeImmutableBitmap(MutableBitmap mutableBitmap)
makeImmutableBitmap
in interface BitmapFactory
public ImmutableBitmap mapImmutableBitmap(ByteBuffer b)
BitmapFactory
mapImmutableBitmap
in interface BitmapFactory
b
- the input byte bufferpublic ImmutableBitmap union(Iterable<ImmutableBitmap> b)
BitmapFactory
union
in interface BitmapFactory
b
- input ImmutableGenericBitmap objectspublic ImmutableBitmap intersection(Iterable<ImmutableBitmap> b)
BitmapFactory
intersection
in interface BitmapFactory
b
- input ImmutableGenericBitmap objectspublic ImmutableBitmap complement(ImmutableBitmap b)
complement
in interface BitmapFactory
public ImmutableBitmap complement(ImmutableBitmap b, int length)
complement
in interface BitmapFactory
Copyright © 2011–2017. All rights reserved.