@Test(expected = NoSuchElementException.class) public void failGetBestAlignment() throws IOException { WordNetVersionAlignment a = new WordNetVersionAlignment( resolveLocation(testFile, new WordNetVersionAlignmentTest(), null)); a.getBestAlignment(nonexistent); }
public int getBestAlignment(int synset) throws NoSuchElementException { return map.get(synset).last().getFirst(); }
WordNetVersionAlignment { public int getBestAlignment(int synset) throws NoSuchElementException { return map.get(synset).last().getFirst(); } }
WordNetVersionAlignment { public int getBestAlignment(int synset) throws NoSuchElementException { return map.get(synset).last().getFirst(); } WordNetVersionAlignment(URL url); }
WordNetVersionAlignment { public int getBestAlignment(int synset) throws NoSuchElementException { return map.get(synset).last().getFirst(); } WordNetVersionAlignment(URL url); Double getWeight(int synset1, int synset2); SortedSet<Pair<Integer, Double>> getWeightedAlignments(int synset); Collection<Integer> getAlignments(int synset); boolean hasAlignment(int synset); Pair<Integer, Double> getBestWeightedAlignment(int synset); int getBestAlignment(int synset); Map<Integer, V> convertMapKeys(Map<Integer, V> map,
			boolean skipDuplicateKeys, boolean skipUnknownKeys); Multimap<Integer, V> convertMultimapKeys(Map<Integer, V> map,
			boolean addAllAlignments, boolean skipUnknownKeys); }
WordNetVersionAlignment { public int getBestAlignment(int synset) throws NoSuchElementException { return map.get(synset).last().getFirst(); } WordNetVersionAlignment(URL url); Double getWeight(int synset1, int synset2); SortedSet<Pair<Integer, Double>> getWeightedAlignments(int synset); Collection<Integer> getAlignments(int synset); boolean hasAlignment(int synset); Pair<Integer, Double> getBestWeightedAlignment(int synset); int getBestAlignment(int synset); Map<Integer, V> convertMapKeys(Map<Integer, V> map,
			boolean skipDuplicateKeys, boolean skipUnknownKeys); Multimap<Integer, V> convertMultimapKeys(Map<Integer, V> map,
			boolean addAllAlignments, boolean skipUnknownKeys);  }