接口 TaskQueue<T,​F>

  • 所有已知实现类:
    TaskQueue.Prioritized, TaskQueue.Simple

    public interface TaskQueue<T,​F>
    Mappings:
    Namespace Name
    official aqh
    intermediary net/minecraft/class_3847
    named net/minecraft/util/thread/TaskQueue
    • 方法详细资料

      • poll

        @Nullable
        F poll()
        Mappings:
        Namespace Name Mixin selector
        official a Laqh;a()Ljava/lang/Object;
        intermediary method_16909 Lnet/minecraft/class_3847;method_16909()Ljava/lang/Object;
        named poll Lnet/minecraft/util/thread/TaskQueue;poll()Ljava/lang/Object;
      • add

        boolean add​(T message)
        Mappings:
        Namespace Name Mixin selector
        official a Laqh;a(Ljava/lang/Object;)Z
        intermediary method_16910 Lnet/minecraft/class_3847;method_16910(Ljava/lang/Object;)Z
        named add Lnet/minecraft/util/thread/TaskQueue;add(Ljava/lang/Object;)Z
      • isEmpty

        boolean isEmpty()
        Mappings:
        Namespace Name Mixin selector
        official b Laqh;b()Z
        intermediary method_16911 Lnet/minecraft/class_3847;method_16911()Z
        named isEmpty Lnet/minecraft/util/thread/TaskQueue;isEmpty()Z
      • getSize

        int getSize()
        Mappings:
        Namespace Name Mixin selector
        official c Laqh;c()I
        intermediary method_34706 Lnet/minecraft/class_3847;method_34706()I
        named getSize Lnet/minecraft/util/thread/TaskQueue;getSize()I