test_class.file: base/src/test/java/com/barchart/feed/base/collections/TestFastEnumSet.java
test_class.identifier: TestFastEnumSet
test_case.body: @Test
  	public void testBitSetFast0() {
  
  		// empty
  		final Set<E1> set = new FastEnumSet<E1>(E1.values());
  
  		int count;
  
  		count = 0;
  		for (final E1 event : set) {
  			count++;
  			out.println(event);
  		}
  		assertEquals(count, 0);
  
  		set.add(E1.a);
  		set.add(E1.c);
  
  		count = 0;
  		for (final E1 event : set) {
  			count++;
  			out.println(event.mask());
  		}
  		assertEquals(count, 2);
  
  	}
test_case.class_method_signature: TestFastEnumSet.testBitSetFast0()
test_case.full_signature: @Test public void testBitSetFast0()
test_case.identifier: testBitSetFast0
test_case.invocations: values println assertEquals add add println mask assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testBitSetFast0()
focal_class.declarator: bitSet
focal_class.modifier: protected volatile
focal_class.original_string: protected volatile long bitSet;
focal_class.type: long
focal_class.var_name: bitSet
focal_class.declarator: NUL = 0L
focal_class.modifier: private static final
focal_class.original_string: private static final long NUL = 0L;
focal_class.type: long
focal_class.var_name: NUL
focal_class.declarator: ONE = 1L
focal_class.modifier: private static final
focal_class.original_string: private static final long ONE = 1L;
focal_class.type: long
focal_class.var_name: ONE
focal_class.file: base/src/main/java/com/barchart/feed/base/collections/FastEnumSet.java
focal_class.identifier: FastEnumSet
focal_class.interfaces: implements RunnerLoop<T>, Set<T>, BitSetLong
focal_class.class_method_signature: FastEnumSet.FastEnumSet(final T[] values)
focal_class.full_signature: protected  FastEnumSet(final T[] values)
focal_class.identifier: FastEnumSet
focal_class.modifiers: protected
focal_class.parameters: (final T[] values)
focal_class.signature:  FastEnumSet(final T[] values)
focal_class.class_method_signature: FastEnumSet.FastEnumSet(final T[] values, final long bitSet)
focal_class.full_signature: protected  FastEnumSet(final T[] values, final long bitSet)
focal_class.identifier: FastEnumSet
focal_class.modifiers: protected
focal_class.parameters: (final T[] values, final long bitSet)
focal_class.signature:  FastEnumSet(final T[] values, final long bitSet)
focal_class.class_method_signature: FastEnumSet.FastEnumSet(final T[] values, final FastEnumSet<T> enumSet)
focal_class.full_signature: protected  FastEnumSet(final T[] values, final FastEnumSet<T> enumSet)
focal_class.identifier: FastEnumSet
focal_class.modifiers: protected
focal_class.parameters: (final T[] values, final FastEnumSet<T> enumSet)
focal_class.signature:  FastEnumSet(final T[] values, final FastEnumSet<T> enumSet)
focal_class.class_method_signature: FastEnumSet.FastEnumSet(final T[] values, final T... items)
focal_class.full_signature: protected  FastEnumSet(final T[] values, final T... items)
focal_class.identifier: FastEnumSet
focal_class.modifiers: protected
focal_class.parameters: (final T[] values, final T... items)
focal_class.signature:  FastEnumSet(final T[] values, final T... items)
focal_class.class_method_signature: FastEnumSet.clear()
focal_class.full_signature: @Override public void clear()
focal_class.identifier: clear
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clear()
focal_class.class_method_signature: FastEnumSet.add(final T item)
focal_class.full_signature: @Override public boolean add(final T item)
focal_class.identifier: add
focal_class.modifiers: @Override public
focal_class.parameters: (final T item)
focal_class.return: boolean
focal_class.signature: boolean add(final T item)
focal_class.class_method_signature: FastEnumSet.remove(final Object item)
focal_class.full_signature: @Override public boolean remove(final Object item)
focal_class.identifier: remove
focal_class.modifiers: @Override public
focal_class.parameters: (final Object item)
focal_class.return: boolean
focal_class.signature: boolean remove(final Object item)
focal_class.class_method_signature: FastEnumSet.iterator()
focal_class.full_signature: @Override public Iterator<T> iterator()
focal_class.identifier: iterator
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Iterator<T>
focal_class.signature: Iterator<T> iterator()
focal_class.class_method_signature: FastEnumSet.isEmpty()
focal_class.full_signature: @Override public final boolean isEmpty()
focal_class.identifier: isEmpty
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isEmpty()
focal_class.class_method_signature: FastEnumSet.contains(final Object item)
focal_class.full_signature: @Override public final boolean contains(final Object item)
focal_class.identifier: contains
focal_class.modifiers: @Override public final
focal_class.parameters: (final Object item)
focal_class.return: boolean
focal_class.signature: boolean contains(final Object item)
focal_class.class_method_signature: FastEnumSet.runLoop(final Runner<R, T> task, final List<R> list)
focal_class.full_signature: @ThreadSafe(rule = "does not reflect concurrent modifications") @Override public void runLoop(final Runner<R, T> task, final List<R> list)
focal_class.identifier: runLoop
focal_class.modifiers: @ThreadSafe(rule = "does not reflect concurrent modifications") @Override public
focal_class.parameters: (final Runner<R, T> task, final List<R> list)
focal_class.return: void
focal_class.signature: void runLoop(final Runner<R, T> task, final List<R> list)
focal_class.class_method_signature: FastEnumSet.size()
focal_class.full_signature: @Override public final int size()
focal_class.identifier: size
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int size()
focal_class.class_method_signature: FastEnumSet.addAll(final Collection<? extends T> c)
focal_class.full_signature: @Override public boolean addAll(final Collection<? extends T> c)
focal_class.identifier: addAll
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<? extends T> c)
focal_class.return: boolean
focal_class.signature: boolean addAll(final Collection<? extends T> c)
focal_class.class_method_signature: FastEnumSet.containsAll(final Collection<?> c)
focal_class.full_signature: @Override public boolean containsAll(final Collection<?> c)
focal_class.identifier: containsAll
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<?> c)
focal_class.return: boolean
focal_class.signature: boolean containsAll(final Collection<?> c)
focal_class.class_method_signature: FastEnumSet.removeAll(final Collection<?> c)
focal_class.full_signature: @Override public boolean removeAll(final Collection<?> c)
focal_class.identifier: removeAll
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<?> c)
focal_class.return: boolean
focal_class.signature: boolean removeAll(final Collection<?> c)
focal_class.class_method_signature: FastEnumSet.retainAll(final Collection<?> c)
focal_class.full_signature: @Override public boolean retainAll(final Collection<?> c)
focal_class.identifier: retainAll
focal_class.modifiers: @Override public
focal_class.parameters: (final Collection<?> c)
focal_class.return: boolean
focal_class.signature: boolean retainAll(final Collection<?> c)
focal_class.class_method_signature: FastEnumSet.toArray()
focal_class.full_signature: @Override public Object[] toArray()
focal_class.identifier: toArray
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Object[]
focal_class.signature: Object[] toArray()
focal_class.class_method_signature: FastEnumSet.toArray(final X[] a)
focal_class.full_signature: @Override public X[] toArray(final X[] a)
focal_class.identifier: toArray
focal_class.modifiers: @Override public
focal_class.parameters: (final X[] a)
focal_class.return: X[]
focal_class.signature: X[] toArray(final X[] a)
focal_class.class_method_signature: FastEnumSet.bitMaskAnd(final long bits)
focal_class.full_signature: @Override public final long bitMaskAnd(final long bits)
focal_class.identifier: bitMaskAnd
focal_class.modifiers: @Override public final
focal_class.parameters: (final long bits)
focal_class.return: long
focal_class.signature: long bitMaskAnd(final long bits)
focal_class.class_method_signature: FastEnumSet.bitMaskOr(final long bits)
focal_class.full_signature: @Override public final long bitMaskOr(final long bits)
focal_class.identifier: bitMaskOr
focal_class.modifiers: @Override public final
focal_class.parameters: (final long bits)
focal_class.return: long
focal_class.signature: long bitMaskOr(final long bits)
focal_class.class_method_signature: FastEnumSet.bitMaskXor(final long bits)
focal_class.full_signature: @Override public final long bitMaskXor(final long bits)
focal_class.identifier: bitMaskXor
focal_class.modifiers: @Override public final
focal_class.parameters: (final long bits)
focal_class.return: long
focal_class.signature: long bitMaskXor(final long bits)
focal_class.class_method_signature: FastEnumSet.bitSet()
focal_class.full_signature: @Override public final long bitSet()
focal_class.identifier: bitSet
focal_class.modifiers: @Override public final
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long bitSet()
focal_class.class_method_signature: FastEnumSet.bitSet(final long bits)
focal_class.full_signature: @Override public final long bitSet(final long bits)
focal_class.identifier: bitSet
focal_class.modifiers: @Override public final
focal_class.parameters: (final long bits)
focal_class.return: long
focal_class.signature: long bitSet(final long bits)
focal_class.superclass: extends FastEnumBase<T>
focal_method.body: @Override
  	public boolean add(final T item) {
  
  		final long mask = item.mask();
  
  		long bitSet = this.bitSet;
  
  		final boolean wasEmpty = (bitSet & mask) == NUL;
  
  		bitSet |= mask;
  
  		this.bitSet = bitSet;
  
  		// System.out.println("bitSet and Mas are = " + wasEmpty);
  		return wasEmpty;
  
  	}
focal_method.class_method_signature: FastEnumSet.add(final T item)
focal_method.full_signature: @Override public boolean add(final T item)
focal_method.identifier: add
focal_method.invocations: mask
focal_method.modifiers: @Override public
focal_method.parameters: (final T item)
focal_method.return: boolean
focal_method.signature: boolean add(final T item)