Class WasmCollection<T extends WasmEntity>

java.lang.Object
org.teavm.backend.wasm.model.WasmCollection<T>
All Implemented Interfaces:
Iterable<T>

public class WasmCollection<T extends WasmEntity> extends Object implements Iterable<T>
  • Method Details

    • size

      public int size()
    • isEmpty

      public boolean isEmpty()
    • add

      public void add(T entity)
    • removeIf

      public void removeIf(Predicate<T> predicate)
    • indexOf

      public int indexOf(T entity)
    • iterator

      public Iterator<T> iterator()
      Specified by:
      iterator in interface Iterable<T extends WasmEntity>
    • stream

      public Stream<T> stream()