All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.minecraft.server.MethodProfiler Maven / Gradle / Ivy

package net.minecraft.server;

import java.util.List;

// CraftBukkit start - Strip down to empty methods, performance cost
public class MethodProfiler {

  public boolean a;

  public MethodProfiler() {
  }

  public void a() {
  }

  public void a(String s) {
  }

  public void b() {
  }

  public List b(String s) {
    return null;
  }

  public void c(String s) {
  }

  public String c() {
    return "";
  }

  public static final class ProfilerInfo implements Comparable {

    public double a;
    public double b;
    public String c;

    public ProfilerInfo(String s, double d0, double d1) {
      this.c = s;
      this.a = d0;
      this.b = d1;
    }

    public int a(MethodProfiler.ProfilerInfo methodprofiler_profilerinfo) {
      return methodprofiler_profilerinfo.a < this.a ? -1 : (methodprofiler_profilerinfo.a > this.a ? 1 : methodprofiler_profilerinfo.c.compareTo(this.c));
    }

    public int compareTo(MethodProfiler.ProfilerInfo object) {
      return this.a(object);
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy