/** * Add {@code o} to set if not there; return existing value if already * there. This method performs the same operation as {@link #add} aside from * the return value. */ public final T getOrAdd(T o) { if ( n > threshold ) expand(); return getOrAddImpl(o); }
/** * Add {@code o} to set if not there; return existing value if already * there. This method performs the same operation as {@link #add} aside from * the return value. */ public final T getOrAdd(T o) { if ( n > threshold ) expand(); return getOrAddImpl(o); }
/** * Add {@code o} to set if not there; return existing value if already * there. This method performs the same operation as {@link #add} aside from * the return value. */ public final T getOrAdd(T o) { if ( n > threshold ) expand(); return getOrAddImpl(o); }
/** * Add {@code o} to set if not there; return existing value if already * there. This method performs the same operation as {@link #add} aside from * the return value. */ public final T getOrAdd(T o) { if ( n > threshold ) expand(); return getOrAddImpl(o); }
/** * Add {@code o} to set if not there; return existing value if already * there. This method performs the same operation as {@link #add} aside from * the return value. */ public final T getOrAdd(T o) { if ( n > threshold ) expand(); return getOrAddImpl(o); }