@Test public void testNameSort() { ScientificNames sn = new ScientificNames(taxa); List<Taxon> expected = ImmutableList.<Taxon>of(family, hybridGenus, genus, hybridSpecies, species, infraspecies); assertEquals(expected, sn.getSorted()); }
public List<Taxon> getSorted() { return sorted; }
ScientificNames { public List<Taxon> getSorted() { return sorted; } }
ScientificNames { public List<Taxon> getSorted() { return sorted; } ScientificNames(Collection<Taxon> taxa); }
ScientificNames { public List<Taxon> getSorted() { return sorted; } ScientificNames(Collection<Taxon> taxa); List<Taxon> getSorted(); Set<Organisation> getSources(); long getNonHybridCount(); long getCount(); }
ScientificNames { public List<Taxon> getSorted() { return sorted; } ScientificNames(Collection<Taxon> taxa); List<Taxon> getSorted(); Set<Organisation> getSources(); long getNonHybridCount(); long getCount();  }