content: /*
   * Decompiled with CFR 0.153-SNAPSHOT (d6f6758-dirty).
   */
  package kotlin.collections.builders;
  
  import java.util.Collection;
  import java.util.Iterator;
  import java.util.Set;
  import kotlin.Metadata;
  import kotlin.collections.AbstractMutableSet;
  import kotlin.collections.builders.MapBuilder;
  import kotlin.jvm.internal.Intrinsics;
  import kotlin.jvm.internal.markers.KMutableSet;
  import org.jetbrains.annotations.NotNull;
  
  @Metadata(mv={1, 4, 0}, bv={1, 0, 3}, k=1, d1={"\u0000>\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010#\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\n\u0002\u0010\b\n\u0002\b\u0003\n\u0002\u0010\u000b\n\u0002\b\u0004\n\u0002\u0010\u001e\n\u0000\n\u0002\u0010\u0002\n\u0002\b\u0003\n\u0002\u0010)\n\u0002\b\u0004\b\u0000\u0018\u0000*\u0004\b\u0000\u0010\u00012\b\u0012\u0004\u0012\u0002H\u00010\u00022\b\u0012\u0004\u0012\u0002H\u00010\u0003B\u0019\b\u0000\u0012\u0010\u0010\u0004\u001a\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u0005\u00a2\u0006\u0002\u0010\u0006J\u0015\u0010\u000b\u001a\u00020\f2\u0006\u0010\r\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010\u000eJ\u0016\u0010\u000f\u001a\u00020\f2\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00028\u00000\u0011H\u0016J\b\u0010\u0012\u001a\u00020\u0013H\u0016J\u0016\u0010\u0014\u001a\u00020\f2\u0006\u0010\r\u001a\u00028\u0000H\u0096\u0002\u00a2\u0006\u0002\u0010\u000eJ\b\u0010\u0015\u001a\u00020\fH\u0016J\u000f\u0010\u0016\u001a\b\u0012\u0004\u0012\u00028\u00000\u0017H\u0096\u0002J\u0015\u0010\u0018\u001a\u00020\f2\u0006\u0010\r\u001a\u00028\u0000H\u0016\u00a2\u0006\u0002\u0010\u000eJ\u0016\u0010\u0019\u001a\u00020\f2\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00028\u00000\u0011H\u0016J\u0016\u0010\u001a\u001a\u00020\f2\f\u0010\u0010\u001a\b\u0012\u0004\u0012\u00028\u00000\u0011H\u0016R\u0018\u0010\u0004\u001a\f\u0012\u0004\u0012\u00028\u0000\u0012\u0002\b\u00030\u0005X\u0082\u0004\u00a2\u0006\u0002\n\u0000R\u0014\u0010\u0007\u001a\u00020\b8VX\u0096\u0004\u00a2\u0006\u0006\u001a\u0004\b\t\u0010\n\u00a8\u0006\u001b"}, d2={"Lkotlin/collections/builders/MapBuilderKeys;", "E", "", "Lkotlin/collections/AbstractMutableSet;", "backing", "Lkotlin/collections/builders/MapBuilder;", "(Lkotlin/collections/builders/MapBuilder;)V", "size", "", "getSize", "()I", "add", "", "element", "(Ljava/lang/Object;)Z", "addAll", "elements", "", "clear", "", "contains", "isEmpty", "iterator", "", "remove", "removeAll", "retainAll", "kotlin-stdlib"})
  public final class MapBuilderKeys<E>
  extends AbstractMutableSet<E>
  implements Set<E>,
  KMutableSet {
      private final MapBuilder<E, ?> backing;
  
      @Override
      public int getSize() {
          return this.backing.size();
      }
  
      @Override
      public boolean isEmpty() {
          return this.backing.isEmpty();
      }
  
      @Override
      public boolean contains(Object element) {
          return this.backing.containsKey(element);
      }
  
      @Override
      public void clear() {
          this.backing.clear();
      }
  
      @Override
      public boolean add(E element) {
          throw (Throwable)new UnsupportedOperationException();
      }
  
      @Override
      public boolean addAll(@NotNull Collection<? extends E> elements) {
          Intrinsics.checkNotNullParameter(elements, "elements");
          throw (Throwable)new UnsupportedOperationException();
      }
  
      @Override
      public boolean remove(Object element) {
          return this.backing.removeKey$kotlin_stdlib(element) >= 0;
      }
  
      @Override
      @NotNull
      public Iterator<E> iterator() {
          return this.backing.keysIterator$kotlin_stdlib();
      }
  
      @Override
      public boolean removeAll(@NotNull Collection<? extends Object> elements) {
          Intrinsics.checkNotNullParameter(elements, "elements");
          this.backing.checkIsMutable$kotlin_stdlib();
          return super.removeAll(elements);
      }
  
      @Override
      public boolean retainAll(@NotNull Collection<? extends Object> elements) {
          Intrinsics.checkNotNullParameter(elements, "elements");
          this.backing.checkIsMutable$kotlin_stdlib();
          return super.retainAll(elements);
      }
  
      public MapBuilderKeys(@NotNull MapBuilder<E, ?> backing) {
          Intrinsics.checkNotNullParameter(backing, "backing");
          this.backing = backing;
      }
  }
  
  