public Set<CPBid> getBids() {
return Collections.unmodifiableSet(bids);
}
SuppressWarnings("unused")
private void setBids(Set<CPBid> bids) {
this.bids = bids;
}
把set设置成private
return Collections.unmodifiableSet(bids);
}
SuppressWarnings("unused")
private void setBids(Set<CPBid> bids) {
this.bids = bids;
}
把set设置成private