Interface HTHolderLike

  • All Implemented Interfaces:
    hiiragi283.core.api.resource.HTIdLike , hiiragi283.core.api.resource.HTKeyLike , java.util.function.Supplier

    
    public interface HTHolderLike<R extends Object, T extends R>
     implements HTKeyLike<R>, Supplier<T>
                        

    ResourceKeyと値を保持するHTKeyLikeの拡張インターフェースです。

    Since:

    0.1.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Either<ResourceKey<R>, Holder<R>> unwrap()
      Holder<R> getHolder(Function1<ResourceKey<R>, Holder<R>> holderGetter)
      ResourceKey<R> getResourceKey() 保持しているResourceKeyを返します。
      String getNamespace()
      String getPath()
      • Methods inherited from class hiiragi283.core.api.resource.HTKeyLike

        getId, isOf, isOf
      • Methods inherited from class java.util.function.Supplier

        get
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait