public static Stella_Object accessStellaHashTableIteratorSlotValue(StellaHashTableIterator self, Symbol slotname, Stella_Object value, boolean setvalueP) {
    if (slotname == Stella.SYM_STELLA_SIZE) {
      if (setvalueP) {
        self.size = ((IntegerWrapper)(value)).wrapperValue;
      }
      else {
        value = IntegerWrapper.wrapInteger(self.size);
      }
    }
    else if (slotname == Stella.SYM_STELLA_BUCKET_INDEX) {
      if (setvalueP) {
        self.bucketIndex = ((IntegerWrapper)(value)).wrapperValue;
      }
      else {
        value = IntegerWrapper.wrapInteger(self.bucketIndex);
      }
    }
    else if (slotname == Stella.SYM_STELLA_BUCKET_CURSOR) {
      if (setvalueP) {
        self.bucketCursor = ((KvCons)(value));
      }
      else {
        value = self.bucketCursor;
      }
    }
    else {
      { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

        stream000.nativeStream.print("`" + slotname + "' is not a valid case option");
        throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
      }
    }
    return (value);
  }