我有这样的对象 private int fooInt;}
我必须搜索它们,通过它们的任何一个参数来区分它们。到目前为止,我考虑使用多个ArrayList或多个HashMap,但后者的问题是我需要执行部分字符串匹配(beginsWith),所以我认为HashMap将非常无用。无论如何,从实现的角度来看,拥有相同<e
我做了Insert方法,我很确定它是正确的,但是我不明白为什么对象多项式没有任何参数,为什么它需要一个body?
* A class to implement a Polynomial as a listclass Polynomial// instance variable declarations go here
pr