Class World.NullWorld<T>

java.lang.Object
com.plotsquared.core.location.World.NullWorld<T>
All Implemented Interfaces:
World<T>
Enclosing interface:
World<T>

public static class World.NullWorld<T> extends Object implements World<T>
  • Method Details

    • getPlatformWorld

      public @NonNull T getPlatformWorld()
      Description copied from interface: World
      Get the platform world represented by this world
      Specified by:
      getPlatformWorld in interface World<T>
      Returns:
      Platform world
    • getName

      public @NonNull String getName()
      Description copied from interface: World
      Get the name of the world
      Specified by:
      getName in interface World<T>
      Returns:
      World name
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object