Package uk.ac.manchester.spinnaker.utils

General utilities for the SpiNNaker runtime.
  • Interface Summary 
    Interface Description
    DefaultMap.KeyAwareFactory<K,​V>
    An advanced factory that has access to the key when it is creating the value to associate with it.
    MappableIterable<T>
    Extends iterable with the ability to be mapped to different values.
  • Class Summary 
    Class Description
    ByteBufferUtils
    Utility methods for ByteBuffers.
    CollectionUtils
    Utilities for working with collections.
    Counter
    Thin wrapper around an int for counting.
    Daemon
    A thread that is a daemon by default.
    DefaultMap<K,​V>
    A map that will extend itself with new values (on get) when the key is otherwise absent from the map.
    DoubleMapIterable<V>
    An Iterable for a Map or Collection of Maps.
    InetFactory
    Convenience methods for creating IPv4 Addresses.
    MathUtils
    Miscellaneous mathematical functions.
    OneShotEvent
    An asynchronous event that can be fired exactly once.
    OptionalUtils
    Extra utilities for working with Optional in Java 8.
    Ping
    How to ping a host to test for (ICMP) network connectivity.
    RawConfigParser
    A cut-down limited version of the parser used in Python.
    ReaderLineIterable
    A simple one-shot iterable wrapper for a reader.
    ThreadUtils
    Utilities for working with threads.
    TripleMapIterable<V>
    An Iterator for a Map or Collection of Maps of maps.
    UnitConstants
    Constants relating to physical units.
    ValueHolder<T>
    A simple class that can optionally hold a single value.
    WaitUtils
    Utilities for waiting very short periods of time.
  • Exception Summary 
    Exception Description
    InetFactory.Inet6NotSupportedException
    Specific Exception to show IPv6 is not supported.
  • Annotation Types Summary 
    Annotation Type Description
    UsedInJavadocOnly
    Marks that the given class is used for Javadoc generation only, but needs to be referenced for Checkstyle.