Tabnine Logo
ArrayListStack.push
Code IndexAdd Tabnine to your IDE (free)

How to use
push
method
in
org.apache.wicket.util.collections.ArrayListStack

Best Java code snippets using org.apache.wicket.util.collections.ArrayListStack.push (Showing top 18 results out of 315)

origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Save the new open tag state and find the iterator to continue to use for processing.
 * 
 * @param iteratorStack
 *            The current stack of iterators
 * @param expectedElements
 *            The current iterator of elements
 * @param tagNameStack
 *            The stack of open tags
 * @return The iterator to continue to use
 */
private Iterator saveOpenTagState(ArrayListStack iteratorStack, Iterator expectedElements,
    ArrayListStack tagNameStack)
{
  if (!isNonClosedTag(workingTag.getTag()))
  {
    iteratorStack.push(expectedElements);
    expectedElements = workingTag.getExpectedChildren().iterator();
    tagNameStack.push(workingTag.getTag());
  }
  return expectedElements;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

requestTargets.push(requestTarget);
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT.
 * <p>
 * Responds to a request with the request target.
 * 
 * @param target
 *            request target
 */
public final void request(IRequestTarget target)
{
  checkReuse();
  // set it as the current target, on the top of the stack
  requestTargets.push(target);
  // set start step
  currentStep = PROCESS_EVENTS;
  // loop through steps
  steps();
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

requestTargets.push(requestTarget);
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Save the new open tag state and find the iterator to continue to use for processing.
 * 
 * @param iteratorStack
 *            The current stack of iterators
 * @param expectedElements
 *            The current iterator of elements
 * @param tagNameStack
 *            The stack of open tags
 * @return The iterator to continue to use
 */
private Iterator<DocumentElement> saveOpenTagState(
  ArrayListStack<Iterator<DocumentElement>> iteratorStack,
  Iterator<DocumentElement> expectedElements, ArrayListStack<String> tagNameStack)
{
  if (!isNonClosedTag(workingTag.getTag()))
  {
    iteratorStack.push(expectedElements);
    expectedElements = workingTag.getExpectedChildren().iterator();
    tagNameStack.push(workingTag.getTag());
  }
  return expectedElements;
}
origin: org.apache.wicket/wicket-core

/**
 * Save the new open tag state and find the iterator to continue to use for processing.
 * 
 * @param iteratorStack
 *            The current stack of iterators
 * @param expectedElements
 *            The current iterator of elements
 * @param tagNameStack
 *            The stack of open tags
 * @return The iterator to continue to use
 */
private Iterator<DocumentElement> saveOpenTagState(
  ArrayListStack<Iterator<DocumentElement>> iteratorStack,
  Iterator<DocumentElement> expectedElements, ArrayListStack<String> tagNameStack)
{
  if (!isNonClosedTag(workingTag.getTag()))
  {
    iteratorStack.push(expectedElements);
    expectedElements = workingTag.getExpectedChildren().iterator();
    tagNameStack.push(workingTag.getTag());
  }
  return expectedElements;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT.
 * <p>
 * Responds to a request with the request target.
 * 
 * @param target
 *            request target
 */
public final void request(IRequestTarget target)
{
  checkReuse();
  // set it as the current target, on the top of the stack
  if (target != null)
  {
    requestTargets.push(target);
  }
  // set start step
  currentStep = PROCESS_EVENTS;
  // loop through steps
  steps();
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.extensions.wizard.IWizardModel#last()
 */
public void last()
{
  history.push(getActiveStep());
  IWizardStep lastStep = findLastStep();
  setActiveStep(lastStep);
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.extensions.wizard.IWizardModel#next()
 */
public void next()
{
  history.push(getActiveStep());
  IWizardStep step = findNextVisibleStep();
  setActiveStep(step);
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

changeListStack.push(changeList);
origin: org.ops4j.pax.wicket/pax-wicket-service

changeListStack.push(changeList);
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @param entry
 *            Entry that was accessed
 */
private final void pushAccess(IPageMapEntry entry)
{
  // Create new access entry
  final Access access = new Access();
  access.id = entry.getNumericId();
  access.version = versionOf(entry);
  if (accessStack.size() > 0)
  {
    if (peekAccess().equals(access))
    {
      return;
    }
    int index = accessStack.indexOf(access);
    if (index >= 0)
    {
      accessStack.remove(index);
    }
  }
  accessStack.push(access);
  dirty();
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * @param entry
 *            Entry that was accessed
 */
private final void pushAccess(IPageMapEntry entry)
{
  // Create new access entry
  final Access access = new Access();
  access.id = entry.getNumericId();
  access.version = versionOf(entry);
  if (accessStack.size() > 0)
  {
    if (peekAccess().equals(access))
    {
      return;
    }
    int index = accessStack.indexOf(access);
    if (index >= 0)
    {
      accessStack.remove(index);
    }
  }
  accessStack.push(access);
  dirty();
}
origin: org.ops4j.pax.wicket/pax-wicket-service

stack.push(tag);
origin: org.apache.wicket/com.springsource.org.apache.wicket

stack.push(tag);
origin: org.apache.wicket/com.springsource.org.apache.wicket

autolinkStatus.push(Boolean.valueOf(autolinking));
origin: org.apache.wicket/com.springsource.org.apache.wicket

closeTag.closes(tag);
stack.push(new ComponentTag(closeTag));
origin: org.ops4j.pax.wicket/pax-wicket-service

autolinkStatus.push(autolinking);
org.apache.wicket.util.collectionsArrayListStackpush

Javadoc

Pushes an item onto the top of this stack.

Popular methods of ArrayListStack

  • <init>
    Construct.
  • add
  • get
  • isEmpty
  • lastIndexOf
  • peek
    Looks at the object at the top of this stack without removing it.
  • pop
    Removes the object at the top of this stack and returns that object.
  • remove
  • size
  • clear
  • indexOf
  • iterator
  • indexOf,
  • iterator,
  • trimToSize,
  • addAll

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • getResourceAsStream (ClassLoader)
  • getSystemService (Context)
  • Socket (java.net)
    Provides a client-side TCP socket.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • Reference (javax.naming)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now