FileDocCategorySizeDatePackage
BitFieldFactory.javaAPI DocApache Poi 3.0.11487Mon Jan 01 12:39:42 GMT 2007org.apache.poi.util

BitFieldFactory

public class BitFieldFactory extends Object
Returns immutable Btfield instances.
author
Jason Height (jheight at apache dot org)

Fields Summary
private static Map
instances
Constructors Summary
Methods Summary
public static org.apache.poi.util.BitFieldgetInstance(int mask)

    
          
      BitField f = (BitField)instances.get(new Integer(mask));
      if (f == null) {
        f = new BitField(mask);
        instances.put(new Integer(mask), f);        
      }
      return f;