Package net.i2p.router.util


package net.i2p.router.util

These classes define the several useful utilities used throughout the router.

Not for use by apps, clients or plugins. Subject to change. Not necessarily maintained as a stable API.

  • Class
    Description
    ArrayList that uses a single iterator.
    Extend java.util.AbstractCollection to create a collection that can be iterated over without creation of a new object
    For CoDelPriorityQueue
    For CoDelQueue
    CoDel implementation of Active Queue Management.
    CoDel implementation of Active Queue Management.
    Series of bloom filters which decay over time, allowing their continual use for time sensitive data.
    Double buffered hash set.
    Simple event logger for occasional events, with caching for reads.
    Moved from PeerSelector
    Used for detection of routers with matching IPs or family.
    For PriBlockingQueue
    Priority Blocking Queue using methods in the entries, as defined in PQEntry, to store priority and sequence number, ensuring FIFO order within a priority.
    This is some Java code I wrote for a school project to save some time when iterating in random order over a part of list (until some condition becomes true): Here is a sample on how to use the code:
    Like Collections.singleton() but item is removable, clear() is supported, and the iterator supports remove().
    Manage both plaintext and salted/hashed password storage in router.config.