@ Nonnull @ ReturnsMutableCopy public static < ELEMENTTYPE > NonBlockingStack < ELEMENTTYPE > newStack ( @ Nullable final Collection < ? extends ELEMENTTYPE > aValues ) { return new NonBlockingStack <> ( aValues ) ; }
Create a new stack from the given collection .