How do I remove the following cyclic dependency that results in a StackoverflowError

前端 未结 0 405
被撕碎了的回忆
被撕碎了的回忆 2021-01-16 19:22

Given the very simplified classes:

public class A {

    private List bs;

    // Getter and Setters omitted         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题