public static BooleanVector zeroOneListToBooleanVector(List zeroonelist) {
    { BooleanVectorIndexNode node = Logic.$BOOLEAN_VECTOR_INDEX$;
      BooleanVectorIndexNode nextnode = null;

      { IntegerWrapper bit = null;
        Cons iter000 = zeroonelist.theConsList;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          bit = ((IntegerWrapper)(iter000.value));
          if (Stella_Object.eqlP(bit, Stella.ONE_WRAPPER)) {
            {
              nextnode = node.trueLink;
              if (nextnode == null) {
                nextnode = BooleanVectorIndexNode.createBooleanVectorIndexNode(node, true);
              }
            }
          }
          else {
            {
              nextnode = node.falseLink;
              if (nextnode == null) {
                nextnode = BooleanVectorIndexNode.createBooleanVectorIndexNode(node, false);
              }
            }
          }
          node = nextnode;
        }
      }
      return (node.theVector);
    }
  }