我有一个名为Function的接口,我需要它的确切含义。我应该以“ of”为“ method”的名称,这种方法给我两倍的X吗? ?谢谢
public interface Function { double of(double x);}