Class RunnableWithArgs

java.lang.Object
me.autobot.lib.tools.RunnableWithArgs
All Implemented Interfaces:
Runnable

@Deprecated public class RunnableWithArgs extends Object implements Runnable
Deprecated.
A runnable that can take arguments.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Creates a new RunnableWithArgs object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run()
    Deprecated.
    Runs the runnable.
    void
    run(Object... args)
    Deprecated.
    Runs the runnable with the given arguments.
    void
    run(WSClient client)
    Deprecated.
    Runs the runnable with the websocket client (very specific, I know).
    void
    run(WSClient client, int[] data)
    Deprecated.
    Runs the runnable with the websocket client (very specific, I know) and data.

    Methods inherited from class java.lang.Object

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

    • RunnableWithArgs

      public RunnableWithArgs()
      Deprecated.
      Creates a new RunnableWithArgs object.
      See Also:
  • Method Details

    • run

      public void run()
      Deprecated.
      Runs the runnable.
      Specified by:
      run in interface Runnable
    • run

      public void run(Object... args)
      Deprecated.
      Runs the runnable with the given arguments.
      Parameters:
      args - The arguments to pass to the runnable.
    • run

      public void run(WSClient client)
      Deprecated.
      Runs the runnable with the websocket client (very specific, I know).
      Parameters:
      client - The client to pass to the runnable.
    • run

      public void run(WSClient client, int[] data)
      Deprecated.
      Runs the runnable with the websocket client (very specific, I know) and data.
      Parameters:
      client - The client to pass to the runnable.
      data - The data to pass to the runnable.