<p/>

@param nextInvocations
@return Returns a reference to this object so that method calls can be chained together.
514753
public ModifySnapshotScheduleResult withNextInvocations(java.util.Collection<java.util.Date> nextInvocations) {
        setNextInvocations(nextInvocations);
        return this;
    }
911911
@Override
    public Object proceed() throws Exception {
        Object returnValue = null;
        try {
            if (ivNextIndex < ivNumberOfInterceptors) {
                // There is atleast 1 more interceptor method in the
                // chain to invoke. Determine if method signature is
                // one that is passed the InvocationContext.
                InterceptorProxy w = ivInterceptorProxies[ivNextIndex];
                if (w.ivRequiresInvocationContext) {
                    // Method signature is <METHOD>(InvocationContext).
                    // Therefore, only call this method it will call
                    // InvocationContext.proceed() to continue with
                    // the next method in the chain.
                    ++ivNextIndex;
                    returnValue = w.invokeInterceptor(ivBean, this, ivInterceptors);
                } else {
                    // Method signature is <METHOD>(), which means it must be
                    // a lifecycle callback method of the bean class or
                    // one of its superclasses.  As required by EJB 3 spec,
                    // call all remaining lifecycle methods in the chain.
                    while (w != null) {
                        ++ivNextIndex;
                        returnValue = w.invokeInterceptor(ivBean, this, ivInterceptors);
                        w = (ivNextIndex < ivNumberOfInterceptors) ? ivInterceptorProxies[ivNextIndex] : null;
                    }
                }
            } else if (ivMethod != null) {
                // The last around invoke in the chain has called proceed,
                // so now we must invoke the business method.
                returnValue = ivContainer.invokeProceed(ivEJSDeployedSupport, ivMethod, ivBean, ivParameters, ivParametersModified); //LIDB3294-41
            } else if (ivIsAroundConstruct) {
                try {
                    ivBean = ivConstructCallback.proceed(ivParameters, getContextData());
                } catch (Exception ex) {
                    ivAroundConstructException = ex;
                    throw ex;
                }
                return null;
            }

        } catch (UndeclaredThrowableException ude) {
            throwUndeclaredExceptionCause(ude);
        } catch (InvocationTargetException ite) {
            throwUndeclaredExceptionCause(ite);
        }

        // Per the interceptor 1.2 spec, "If a lifecycle callback interceptor
        // method returns a value, it is ignored by the container."
        return ivMethod == null ? null : returnValue;
    }
862781
public Object next()
  {
    if (tc.isEntryEnabled())
    {
      SibTr.entry(tc, "next");
    } 
    
    Object result;
    if (hasNext())
    {
      AnycastInputHandler aih = (AnycastInputHandler) anycastIHIterator.next();
      
      result = aih.getControlAdapter();
    }
    else
    {
      result = null;
    }
    
    if (tc.isEntryEnabled())
    {
      SibTr.exit(tc, "next", result);
    } 
    return result;
  }
1043656
public E next() {
		if(!hasNext()) {
			throw new NoSuchElementException();
		}
		E retObject = next;
		next = null;
		return retObject;
	}
1194978
public <X> X invokeOnInstance(Object instance, Object... parameters) throws IllegalArgumentException, SecurityException, IllegalAccessException, InvocationTargetException, NoSuchMethodException {
        final Map<Class<?>, Method> methods = this.methods;
        Method method = methods.get(instance.getClass());
        if (method == null) {
            // the same method may be written to the map twice, but that is ok
            // lookupMethod is very slow
            Method delegate = annotatedMethod.getJavaMember();
            method = SecurityActions.lookupMethod(instance.getClass(), delegate.getName(), delegate.getParameterTypes());
            SecurityActions.ensureAccessible(method);
            synchronized (this) {
                final Map<Class<?>, Method> newMethods = new HashMap<Class<?>, Method>(methods);
                newMethods.put(instance.getClass(), method);
                this.methods = WeldCollections.immutableMapView(newMethods);
            }
        }
        return cast(method.invoke(instance, parameters));
    }
165846
protected Map getParametersMap(ActionInvocation _invocation) {
    	Map map = (Map) _invocation.getStack().findValue(this.parameters);
    	if (map == null)
    		map = new HashMap();
		return map;
	}
320930
@Override
    public java.util.concurrent.Future<ListTopicsResult> listTopicsAsync(String nextToken) {

        return listTopicsAsync(new ListTopicsRequest().withNextToken(nextToken));
    }
977354
public DependencyPath next() {
        if (next == null)
            throw new NoSuchElementException("No further paths to return");
        DependencyPath p = next;
        advance();
        return p;
    }
1220961
public synchronized Object next()
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "next");

    Object next = null;
    if(hasNext())
    {
      next = this.next.data;
      removable = this.next;
      this.next = null;
    }
    else
    {
      if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
        SibTr.exit(tc, "next", "NoSuchElementException");
      throw new NoSuchElementException(
        nls.getFormattedMessage(
          "NO_ELEMENTS_ERROR_CWSIP0601",
          null,
          null));
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "next", next);

    return next;
  }
1209015
@Override
    public SequenceRecord nextSequence() {
        SequenceRecord next = sequenceRecordReader.nextSequence();
        next.setSequenceRecord(transformProcess.executeSequence(next.getSequenceRecord()));
        return next;
    }
315756
@Override
    public List<Writable> next() {
        if(!hasNext()){ //Also triggers prefetch
            throw new NoSuchElementException("No next element");
        }
        List<Writable> out = next.getRecord();
        next = null;
        return out;
    }
664069
public List<T> nextPermutationAsList()
    {
        List<T> permutation = new ArrayList<T>(elements.length);
        return nextPermutationAsList(permutation);
    }
1109844
public Observable<Page<ModuleInner>> listByAutomationAccountNextAsync(final String nextPageLink) {
        return listByAutomationAccountNextWithServiceResponseAsync(nextPageLink)
            .map(new Func1<ServiceResponse<Page<ModuleInner>>, Page<ModuleInner>>() {
                @Override
                public Page<ModuleInner> call(ServiceResponse<Page<ModuleInner>> response) {
                    return response.body();
                }
            });
    }
697530
@Override
	public AbstractMessage nextElement()
	{
		if (cursor.endOfQueueReached())
			throw new NoSuchElementException();
		
		try
		{
			checkNotClosed();
			AbstractMessage msg = fetchNext();
			if (msg != null)
			{
				nextMessage = null; // Consume fetched message
				AbstractMessage msgCopy = MessageTools.duplicate(msg);
				msgCopy.ensureDeserializationLevel(MessageSerializationLevel.FULL);
				return msgCopy;
			}
			
			throw new NoSuchElementException();
		}
		catch (NoSuchElementException e)
		{
			throw e;
		}
		catch (JMSException e)
		{
			throw new IllegalStateException(e.toString());
		}
	}
198783
public Object next()
    {
        String result = null;

        if ( _literal != null )
        {
            result = _literal;
            _literal = null;
        }
        else if ( _token != null )
        {
            result = _token;
            _token = null;
        }
        return result;
    }
483960
public void setCommandInvocations(java.util.Collection<CommandInvocation> commandInvocations) {
        if (commandInvocations == null) {
            this.commandInvocations = null;
            return;
        }

        this.commandInvocations = new com.amazonaws.internal.SdkInternalList<CommandInvocation>(commandInvocations);
    }
610523
public void setInboundPermissionRevocations(java.util.Collection<IpPermission> inboundPermissionRevocations) {
        if (inboundPermissionRevocations == null) {
            this.inboundPermissionRevocations = null;
            return;
        }

        this.inboundPermissionRevocations = new java.util.ArrayList<IpPermission>(inboundPermissionRevocations);
    }