Module java.base
Package java.lang.classfile

# Interface CompoundElement

=
public abstract sealed interface CompoundElement<E>
extends java.lang.Iterable<E>, java.lang.classfile.ClassFileElement
permits java.lang.classfile.ClassModel, java.lang.classfile.CodeModel, java.lang.classfile.FieldModel, java.lang.classfile.MethodModel, jdk.internal.classfile.impl.AbstractUnboundModel<E>

## Methods

- =
  public default java.util.List<E> elementList()
- =
  public default java.util.stream.Stream<E> elementStream()
- =
  public abstract void forEach(java.util.function.Consumer<? super E> arg0)
- =
  public default java.util.Iterator<E> iterator()

## Summary

No differences.