Code example for ServiceLoader

Methods: iterator

0
        if (defaultFactory != null) {
            return (HashCharShortMapFactory/*<>*/) defaultFactory;
        } else { 
            // synchronization? 
            return (HashCharShortMapFactory/*<>*/) 
                    (defaultFactory = LOADER.iterator().next());
        } 
    } 
 
    /* define ek */ 
    /* if obj key //? extends K// elif !(obj key) //Character// endif */ 
    /* enddefine */ 
 
    /* define ev */ 
    /* if obj value //? extends V// elif !(obj value) //Short// endif */ 
    /* enddefine */ 
 
    /* define ep //<// ek //, // ev //>// enddefine */ 
 
    /* define typeParams //