- 所有超级接口:
org.aya.pretty.doc.Docile,Selector.Candidate<Relation>
- 所有已知实现类:
Relation.Decrease,Relation.Unknown
public sealed interface Relation
extends org.aya.pretty.doc.Docile, Selector.Candidate<Relation>
permits Relation.Unknown, Relation.Decrease
-
嵌套类概要
嵌套类修饰符和类型接口说明static final recorddecrease of callee argument wrt. caller parameterstatic final recordincrease or unrelated of callee argument wrt. caller parameter. -
方法概要
修饰符和类型方法说明default @NotNull Relationdefault Selector.DecrOrdCompare two relations by their decrease amount.static @NotNull Relationdecr(boolean usable, int size) static @NotNull Relationeq()static @NotNull RelationfromCompare(int compare) default booleandefault booleanstatic @NotNull Relationlt()default @NotNull Relationdefault @NotNull org.aya.pretty.doc.DoctoDoc()static @NotNull Relationunk()从接口继承的方法 org.aya.terck.Selector.Candidate
notWorseThan
-
方法详细资料
-
toDoc
@NotNull default @NotNull org.aya.pretty.doc.Doc toDoc()- 指定者:
toDoc在接口中org.aya.pretty.doc.Docile
-
mul
-
add
- 返回:
- the side that decreases more
-
compare
Compare two relations by their decrease amount.- 指定者:
compare在接口中Selector.Candidate<Relation>- 返回:
Selector.DecrOrd.Ltif this decreases less than the other,Selector.DecrOrd.Gtif this decreases more.
-
isUnknown
default boolean isUnknown() -
isDecreasing
default boolean isDecreasing() -
fromCompare
-
decr
-
eq
-
lt
-
unk
-