Interface HTAmountView

  • All Implemented Interfaces:

    
    public interface HTAmountView
    
                        

    量と容量を保持するインターフェースです。

    Since:

    0.7.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class HTAmountView.Mutable
    • 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 Integer getAmount() 保持している量を返します。
      abstract Integer getCapacity() 容量を返します。
      Integer getNeeded() 空き容量を返します。
      Fraction getLevelAsFraction() 占有率を返します。
      Float getLevelAsFloat() 占有率を返します。
      Boolean isEmpty() このビューが空かどうか判定します。
      • Methods inherited from class java.lang.Object

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