Show
Ignore:
Timestamp:
01/06/09 11:28:57 (11 months ago)
Author:
dr2chase
Message:

[repository, ffi] Generated APIs now use proper import syntax, seem to pass static checking

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ProjectFortress/src/com/sun/fortress/useful/IMultiMap.java

    r2725 r3291  
    11/******************************************************************************* 
    2     Copyright 2008 Sun Microsystems, Inc., 
     2    Copyright 2009 Sun Microsystems, Inc., 
    33    4150 Network Circle, Santa Clara, California 95054, U.S.A. 
    44    All rights reserved. 
     
    2929    public Set<V> putItem(K k, V v); 
    3030 
    31     public Set<V> putItems(K k, Set<V> vs); 
     31    public Set<V> putItems(K k, Collection<V> vs); 
    3232 
    3333    public Set<V> removeItem(K k, V v); 
     34     
     35    public Set<V> putKey(K k); 
    3436 
    3537    public final static IMultiMap EMPTY_MULTIMAP = new IMultiMap() { 
    3638        private <T> T error() { throw new IllegalStateException("Empty IMultiMap is immutable."); } 
    3739        public void addInverse(Map m) { error(); } 
     40        public Set putKey(Object k) { return error(); } 
    3841        public Set putItem(Object k, Object v) { return error(); } 
    39         public Set putItems(Object k, Set vs) { return error(); } 
     42        public Set putItems(Object k, Collection vs) { return error(); } 
    4043        public Set removeItem(Object k, Object v) { return error(); } 
    4144        public void clear() { error(); }