congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Start an intent from android
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • getResourceAsStream (ClassLoader)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Menu (java.awt)
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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