test_class.file: parser/src/test/java/com/qihoo/qsql/org/apache/calcite/util/BitSetsTest.java
test_class.identifier: BitSetsTest
test_case.body: @Test public void testPreviousClearBit() {
      assertThat(BitSets.previousClearBit(BitSets.of(), 10), equalTo(10));
      assertThat(BitSets.previousClearBit(BitSets.of(), 0), equalTo(0));
      assertThat(BitSets.previousClearBit(BitSets.of(), -1), equalTo(-1));
      try {
        final int actual = BitSets.previousClearBit(BitSets.of(), -2);
        fail("expected exception, got " + actual);
      } catch (IndexOutOfBoundsException e) {
        // ok
      }
      assertThat(BitSets.previousClearBit(BitSets.of(0, 1, 3, 4), 4), equalTo(2));
      assertThat(BitSets.previousClearBit(BitSets.of(0, 1, 3, 4), 3), equalTo(2));
      assertThat(BitSets.previousClearBit(BitSets.of(0, 1, 3, 4), 2), equalTo(2));
      assertThat(BitSets.previousClearBit(BitSets.of(0, 1, 3, 4), 1),
          equalTo(-1));
      assertThat(BitSets.previousClearBit(BitSets.of(1, 3, 4), 1), equalTo(0));
    }
test_case.class_method_signature: BitSetsTest.testPreviousClearBit()
test_case.full_signature: @Test public void testPreviousClearBit()
test_case.identifier: testPreviousClearBit
test_case.invocations: assertThat previousClearBit of equalTo assertThat previousClearBit of equalTo assertThat previousClearBit of equalTo previousClearBit of fail assertThat previousClearBit of equalTo assertThat previousClearBit of equalTo assertThat previousClearBit of equalTo assertThat previousClearBit of equalTo assertThat previousClearBit of equalTo
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testPreviousClearBit()
focal_class.file: parser/src/main/java/com/qihoo/qsql/org/apache/calcite/util/BitSets.java
focal_class.identifier: BitSets
focal_class.class_method_signature: BitSets.BitSets()
focal_class.full_signature: private  BitSets()
focal_class.identifier: BitSets
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  BitSets()
focal_class.class_method_signature: BitSets.contains(BitSet set0, BitSet set1)
focal_class.full_signature: public static boolean contains(BitSet set0, BitSet set1)
focal_class.identifier: contains
focal_class.modifiers: public static
focal_class.parameters: (BitSet set0, BitSet set1)
focal_class.return: boolean
focal_class.signature: boolean contains(BitSet set0, BitSet set1)
focal_class.class_method_signature: BitSets.contains(BitSet set0, ImmutableBitSet set1)
focal_class.full_signature: public static boolean contains(BitSet set0, ImmutableBitSet set1)
focal_class.identifier: contains
focal_class.modifiers: public static
focal_class.parameters: (BitSet set0, ImmutableBitSet set1)
focal_class.return: boolean
focal_class.signature: boolean contains(BitSet set0, ImmutableBitSet set1)
focal_class.class_method_signature: BitSets.toIter(final BitSet bitSet)
focal_class.full_signature: public static Iterable<Integer> toIter(final BitSet bitSet)
focal_class.identifier: toIter
focal_class.modifiers: public static
focal_class.parameters: (final BitSet bitSet)
focal_class.return: Iterable<Integer>
focal_class.signature: Iterable<Integer> toIter(final BitSet bitSet)
focal_class.class_method_signature: BitSets.toIter(final ImmutableBitSet bitSet)
focal_class.full_signature: public static Iterable<Integer> toIter(final ImmutableBitSet bitSet)
focal_class.identifier: toIter
focal_class.modifiers: public static
focal_class.parameters: (final ImmutableBitSet bitSet)
focal_class.return: Iterable<Integer>
focal_class.signature: Iterable<Integer> toIter(final ImmutableBitSet bitSet)
focal_class.class_method_signature: BitSets.toList(final BitSet bitSet)
focal_class.full_signature: public static List<Integer> toList(final BitSet bitSet)
focal_class.identifier: toList
focal_class.modifiers: public static
focal_class.parameters: (final BitSet bitSet)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> toList(final BitSet bitSet)
focal_class.class_method_signature: BitSets.toArray(final BitSet bitSet)
focal_class.full_signature: public static int[] toArray(final BitSet bitSet)
focal_class.identifier: toArray
focal_class.modifiers: public static
focal_class.parameters: (final BitSet bitSet)
focal_class.return: int[]
focal_class.signature: int[] toArray(final BitSet bitSet)
focal_class.class_method_signature: BitSets.of(int... bits)
focal_class.full_signature: public static BitSet of(int... bits)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (int... bits)
focal_class.return: BitSet
focal_class.signature: BitSet of(int... bits)
focal_class.class_method_signature: BitSets.of(Integer[] bits)
focal_class.full_signature: public static BitSet of(Integer[] bits)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (Integer[] bits)
focal_class.return: BitSet
focal_class.signature: BitSet of(Integer[] bits)
focal_class.class_method_signature: BitSets.of(Iterable<? extends Number> bits)
focal_class.full_signature: public static BitSet of(Iterable<? extends Number> bits)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (Iterable<? extends Number> bits)
focal_class.return: BitSet
focal_class.signature: BitSet of(Iterable<? extends Number> bits)
focal_class.class_method_signature: BitSets.of(ImmutableIntList bits)
focal_class.full_signature: public static BitSet of(ImmutableIntList bits)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (ImmutableIntList bits)
focal_class.return: BitSet
focal_class.signature: BitSet of(ImmutableIntList bits)
focal_class.class_method_signature: BitSets.range(int fromIndex, int toIndex)
focal_class.full_signature: public static BitSet range(int fromIndex, int toIndex)
focal_class.identifier: range
focal_class.modifiers: public static
focal_class.parameters: (int fromIndex, int toIndex)
focal_class.return: BitSet
focal_class.signature: BitSet range(int fromIndex, int toIndex)
focal_class.class_method_signature: BitSets.range(int toIndex)
focal_class.full_signature: public static BitSet range(int toIndex)
focal_class.identifier: range
focal_class.modifiers: public static
focal_class.parameters: (int toIndex)
focal_class.return: BitSet
focal_class.signature: BitSet range(int toIndex)
focal_class.class_method_signature: BitSets.setAll(BitSet bitSet, Iterable<? extends Number> list)
focal_class.full_signature: public static void setAll(BitSet bitSet, Iterable<? extends Number> list)
focal_class.identifier: setAll
focal_class.modifiers: public static
focal_class.parameters: (BitSet bitSet, Iterable<? extends Number> list)
focal_class.return: void
focal_class.signature: void setAll(BitSet bitSet, Iterable<? extends Number> list)
focal_class.class_method_signature: BitSets.union(BitSet set0, BitSet... sets)
focal_class.full_signature: public static BitSet union(BitSet set0, BitSet... sets)
focal_class.identifier: union
focal_class.modifiers: public static
focal_class.parameters: (BitSet set0, BitSet... sets)
focal_class.return: BitSet
focal_class.signature: BitSet union(BitSet set0, BitSet... sets)
focal_class.class_method_signature: BitSets.previousClearBit(BitSet bitSet, int fromIndex)
focal_class.full_signature: public static int previousClearBit(BitSet bitSet, int fromIndex)
focal_class.identifier: previousClearBit
focal_class.modifiers: public static
focal_class.parameters: (BitSet bitSet, int fromIndex)
focal_class.return: int
focal_class.signature: int previousClearBit(BitSet bitSet, int fromIndex)
focal_class.class_method_signature: BitSets.closure(
        SortedMap<Integer, BitSet> equivalence)
focal_class.full_signature: public static SortedMap<Integer, BitSet> closure(
        SortedMap<Integer, BitSet> equivalence)
focal_class.identifier: closure
focal_class.modifiers: public static
focal_class.parameters: (
        SortedMap<Integer, BitSet> equivalence)
focal_class.return: SortedMap<Integer, BitSet>
focal_class.signature: SortedMap<Integer, BitSet> closure(
        SortedMap<Integer, BitSet> equivalence)
focal_class.class_method_signature: BitSets.populate(BitSet bitSet, Iterable<? extends Number> list)
focal_class.full_signature: public static void populate(BitSet bitSet, Iterable<? extends Number> list)
focal_class.identifier: populate
focal_class.modifiers: public static
focal_class.parameters: (BitSet bitSet, Iterable<? extends Number> list)
focal_class.return: void
focal_class.signature: void populate(BitSet bitSet, Iterable<? extends Number> list)
focal_class.class_method_signature: BitSets.populate(BitSet bitSet, ImmutableIntList list)
focal_class.full_signature: public static void populate(BitSet bitSet, ImmutableIntList list)
focal_class.identifier: populate
focal_class.modifiers: public static
focal_class.parameters: (BitSet bitSet, ImmutableIntList list)
focal_class.return: void
focal_class.signature: void populate(BitSet bitSet, ImmutableIntList list)
focal_method.body: public static int previousClearBit(BitSet bitSet, int fromIndex) {
      if (fromIndex < -1) {
        throw new IndexOutOfBoundsException();
      }
      while (fromIndex >= 0) {
        if (!bitSet.get(fromIndex)) {
          return fromIndex;
        }
        --fromIndex;
      }
      return -1;
    }
focal_method.class_method_signature: BitSets.previousClearBit(BitSet bitSet, int fromIndex)
focal_method.full_signature: public static int previousClearBit(BitSet bitSet, int fromIndex)
focal_method.identifier: previousClearBit
focal_method.invocations: get
focal_method.modifiers: public static
focal_method.parameters: (BitSet bitSet, int fromIndex)
focal_method.return: int
focal_method.signature: int previousClearBit(BitSet bitSet, int fromIndex)