Klasse FloatPriorityQueues

java.lang.Object
speiger.src.collections.floats.utils.FloatPriorityQueues

public class FloatPriorityQueues extends Object
A Helper class for PriorityQueues
  • Konstruktordetails

    • FloatPriorityQueues

      public FloatPriorityQueues()
  • Methodendetails

    • synchronize

      public static FloatPriorityQueue synchronize(FloatPriorityQueue queue)
      Returns a synchronized PriorityQueue instance based on the instance given.
      Parameter:
      queue - that should be synchronized
      Gibt zurück:
      a synchronized PriorityQueue wrapper.
    • synchronize

      public static FloatPriorityQueue synchronize(FloatPriorityQueue queue, Object mutex)
      Returns a synchronized PriorityQueue instance based on the instance given.
      Parameter:
      queue - that should be synchronized
      mutex - is the controller of the synchronization block.
      Gibt zurück:
      a synchronized PriorityQueue wrapper.
    • synchronize

      public static FloatPriorityDequeue synchronize(FloatPriorityDequeue dequeue)
      Returns a synchronized PriorityDequeue instance based on the instance given.
      Parameter:
      dequeue - that should be synchronized
      Gibt zurück:
      a synchronized PriorityDequeue wrapper.
    • synchronize

      public static FloatPriorityDequeue synchronize(FloatPriorityDequeue dequeue, Object mutex)
      Returns a synchronized PriorityDequeue instance based on the instance given.
      Parameter:
      dequeue - that should be synchronized
      mutex - is the controller of the synchronization block.
      Gibt zurück:
      a synchronized PriorityDequeue wrapper.