@Test public void testGetRootLevelMember() { assertThat(structure.<StructureMember> getRootLevelMember(0)).isEqualTo(member); }
@SuppressWarnings("unchecked") public <T extends StructureMember> T getRootLevelMember(final int index) { return (T) members.get(index); }
Structure implements Named { @SuppressWarnings("unchecked") public <T extends StructureMember> T getRootLevelMember(final int index) { return (T) members.get(index); } }
Structure implements Named { @SuppressWarnings("unchecked") public <T extends StructureMember> T getRootLevelMember(final int index) { return (T) members.get(index); } Structure(final String name, final List<? extends StructureMember> members); }
Structure implements Named { @SuppressWarnings("unchecked") public <T extends StructureMember> T getRootLevelMember(final int index) { return (T) members.get(index); } Structure(final String name, final List<? extends StructureMember> members); @Override boolean equals(final Object obj); @Override String getName(); @SuppressWarnings("unchecked") T getRootLevelMember(final int index); int getRootLevelMemberCount(); @Override int hashCode(); @Override String toString(); }
Structure implements Named { @SuppressWarnings("unchecked") public <T extends StructureMember> T getRootLevelMember(final int index) { return (T) members.get(index); } Structure(final String name, final List<? extends StructureMember> members); @Override boolean equals(final Object obj); @Override String getName(); @SuppressWarnings("unchecked") T getRootLevelMember(final int index); int getRootLevelMemberCount(); @Override int hashCode(); @Override String toString();  }