Class IntList

java.lang.Object
org.apache.bcel.verifier.statics.IntList

public class IntList extends Object
A small utility class representing a set of basic int values.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final List<Integer>
    The int are stored as Integer objects here.
  • Constructor Summary

    Constructors
    Constructor
    Description
    This constructor creates an empty list.
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    add(int i)
    Adds an element to the list.
    (package private) boolean
    contains(int i)
    Checks if the specified int is already in the list.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • list

      private final List<Integer> list
      The int are stored as Integer objects here.
  • Constructor Details

    • IntList

      IntList()
      This constructor creates an empty list.
  • Method Details

    • add

      void add(int i)
      Adds an element to the list.
    • contains

      boolean contains(int i)
      Checks if the specified int is already in the list.