D | VarHandleBaseByteArrayTest.java | 41 enum MemoryMode { enum in VarHandleBaseByteArrayTest 49 MemoryMode(int bit, boolean value) { in MemoryMode() method in VarHandleBaseByteArrayTest.MemoryMode 58 static int bitSet(MemoryMode... modes) { in bitSet() 62 for (MemoryMode m : modes) { in bitSet() 68 static EnumSet<MemoryMode> enumSet(int bitSet) { in enumSet() 69 EnumSet<MemoryMode> es = EnumSet.noneOf(MemoryMode.class); in enumSet() 70 for (MemoryMode m : values()) { in enumSet() 83 public Source(T s, MemoryMode... modes) { in Source() 85 memoryModes = MemoryMode.bitSet(modes); in Source() 90 return s.getClass().getCanonicalName() + " " + MemoryMode.enumSet(memoryModes); in toString() [all …]
|