BigIntegers.Cache (Bouncy Castle Library 1.85 API Specification)
Date: 2026-07-12

org.bouncycastle.util

## Class BigIntegers.Cache

- java.lang.Object
- - org.bouncycastle.util.BigIntegers.Cache

- Enclosing class:
    BigIntegers

      public static class BigIntegers.Cache
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Cache()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(java.math.BigInteger value)`
    `void` | `clear()`
    `boolean` | `contains(java.math.BigInteger value)`
    `int` | `size()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Cache

          public Cache()

  - ### Method Detail

    - #### add

          public void add(java.math.BigInteger value)

    - #### contains

          public boolean contains(java.math.BigInteger value)

    - #### size

          public int size()

    - #### clear

          public void clear()