/*
 * Copyright (c) 2001, 2022, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 *
 */

package sun.jvm.hotspot.utilities;

import java.util.*;

/** Simple container class for LivenessPaths */

public class LivenessPathList {
  public LivenessPathList() {
    list = new ArrayList<>();
  }

  public int size() {
    return list.size();
  }

  public LivenessPath get(int i) {
    return list.get(i);
  }

  void add(LivenessPath path) {
    list.add(path);
  }

  void remove(LivenessPath path) {
    list.remove(path);
  }

  private ArrayList<LivenessPath> list;
}
