* @return boolean
   */
  public boolean equivalentSetsP(Cons otherlist) {
    { Cons self = this;

      { boolean testValue000 = false;

        testValue000 = self.length() == otherlist.length();
        if (testValue000) {
          { boolean alwaysP000 = true;

            { Stella_Object item = null;
              Cons iter000 = self;

              loop000 : for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
                item = iter000.value;
                if (!otherlist.memberP(item)) {
                  alwaysP000 = false;
                  break loop000;
                }
              }
            }
            testValue000 = alwaysP000;
          }
        }
        { boolean value000 = testValue000;

          return (value000);
        }
      }
    }
  }