public class ConciseBitmapFactory extends Object implements BitmapFactory
| Constructor and Description |
|---|
ConciseBitmapFactory() |
| 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()
BitmapFactorymakeEmptyMutableBitmap in interface BitmapFactorypublic ImmutableBitmap makeEmptyImmutableBitmap()
makeEmptyImmutableBitmap in interface BitmapFactorypublic ImmutableBitmap makeImmutableBitmap(MutableBitmap mutableBitmap)
makeImmutableBitmap in interface BitmapFactorypublic ImmutableBitmap mapImmutableBitmap(ByteBuffer b)
BitmapFactorymapImmutableBitmap in interface BitmapFactoryb - the input byte bufferpublic ImmutableBitmap union(Iterable<ImmutableBitmap> b) throws ClassCastException
BitmapFactoryunion in interface BitmapFactoryb - input ImmutableGenericBitmap objectsClassCastException - if one of the ImmutableGenericBitmap objects if not an instance
of WrappedImmutableConciseBitmappublic ImmutableBitmap intersection(Iterable<ImmutableBitmap> b) throws ClassCastException
BitmapFactoryintersection in interface BitmapFactoryb - input ImmutableGenericBitmap objectsClassCastException - if one of the ImmutableGenericBitmap objects if not an instance
of WrappedImmutableConciseBitmappublic ImmutableBitmap complement(ImmutableBitmap b)
complement in interface BitmapFactorypublic ImmutableBitmap complement(ImmutableBitmap b, int length)
complement in interface BitmapFactoryCopyright © 2011–2017. All rights reserved.