GlueGen: com.jogamp.common.util.Bitfield.Factory Class Reference

GlueGen v2.6.0 GlueGen, Native Binding Generator for Java™ (public API).

Static Public Member Functions | List of all members
com.jogamp.common.util.Bitfield.Factory Class Reference

Simple `Bitfield` factory for returning the efficient implementation. More...

Collaboration diagram for com.jogamp.common.util.Bitfield.Factory:

## Static Public Member Functions

static Bitfield | create (final int storageBitSize)
| Creates am efficient `Bitfield` instance based on the requested `storageBitSize`. More...
static Bitfield | synchronize (final Bitfield impl)
| Creates a synchronized `Bitfield` by wrapping the given `Bitfield` instance. More...

## Detailed Description

Simple `Bitfield` factory for returning the efficient implementation.

Definition at line 146 of file Bitfield.java.

## Member Function Documentation

## ◆ create()

static Bitfield com.jogamp.common.util.Bitfield.Factory.create | ( | final int | storageBitSize | ) |

static

Creates am efficient `Bitfield` instance based on the requested `storageBitSize`.

Implementation returns a plain 32 bit integer field implementation for `storageBitSize` ≤ 32 bits or an 32 bit integer array implementation otherwise.

Definition at line 154 of file Bitfield.java.

Here is the caller graph for this function:

## ◆ synchronize()

static Bitfield com.jogamp.common.util.Bitfield.Factory.synchronize | ( | final Bitfield | impl | ) |

static

Creates a synchronized `Bitfield` by wrapping the given `Bitfield` instance.

Definition at line 164 of file Bitfield.java.

The documentation for this class was generated from the following file:

- src/java/com/jogamp/common/util/Bitfield.java