Code example for SortedMap

Methods: comparator

0
    return this.internalMap.keySet();
  } 
 
  @SuppressWarnings("unchecked") 
  public synchronized Comparator comparator() {
    return this.internalMap.comparator();
  } 
 
  public synchronized Set<Map.Entry<K,V>> entrySet() {
    throw new RuntimeException("Not implemented");
  } 
 
  public synchronized Collection<V> values() {
    checkReferences(); 
    Collection<SoftValue<K,V>> softValues = this.internalMap.values();
    ArrayList<V> hardValues = new ArrayList<V>();
    for(SoftValue<K,V> softValue : softValues) {
      hardValues.add(softValue.get());
    } 
    return hardValues;
Stop searching for code, let great code find you!  Add Codota to your java IDE