/** * Gets the row count. * * @return the row count * @see javax.swing.table.TableModel#getRowCount() */ @Override public int getRowCount() { if (this.type == null) { return 0; } return this.type.getNumberOfFeatures(); }
public static Feature[] getAllFeatures(FeatureStructure aFS) { Feature[] cachedSortedFeatures = new Feature[aFS.getType().getNumberOfFeatures()]; int i = 0; for (Feature f : aFS.getType().getFeatures()) { cachedSortedFeatures[i] = f; i++; } return cachedSortedFeatures; }
public static Feature[] getAllFeatures(FeatureStructure aFS) { Feature[] cachedSortedFeatures = new Feature[aFS.getType().getNumberOfFeatures()]; int i = 0; for (Feature f : aFS.getType().getFeatures()) { cachedSortedFeatures[i] = f; i++; } return cachedSortedFeatures; }
assert type1.getNumberOfFeatures() == type2.getNumberOfFeatures(); cachedSortedFeatures = new String[type1.getNumberOfFeatures()]; int i = 0; for (Feature f : aFS1.getType().getFeatures()) {