MCPcopy Create free account
hub / github.com/apache/poi / getInstance

Method getInstance

src/java/org/apache/poi/util/BitFieldFactory.java:32–39  ·  view source on GitHub ↗
(int mask)

Source from the content-addressed store, hash-verified

30 private static Map instances = new HashMap();
31
32 public static BitField getInstance(int mask) {
33 BitField f = (BitField)instances.get(Integer.valueOf(mask));
34 if (f == null) {
35 f = new BitField(mask);
36 instances.put(Integer.valueOf(mask), f);
37 }
38 return f;
39 }
40}

Callers 15

WindowOneRecordClass · 0.95
WindowTwoRecordClass · 0.95
TextObjectRecordClass · 0.95
BoundSheetRecordClass · 0.95
StyleRecordClass · 0.95
RefreshAllRecordClass · 0.95
FormulaRecordClass · 0.95
TableRecordClass · 0.95
PrintSetupRecordClass · 0.95
ColumnInfoRecordClass · 0.95

Calls 3

getMethod · 0.45
valueOfMethod · 0.45
putMethod · 0.45

Tested by 1

testByteMethod · 0.76