congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ArrayListStack.indexOf
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/**
 * @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();
}
org.apache.wicket.util.collectionsArrayListStackindexOf

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.
  • push
    Pushes an item onto the top of this stack.
  • remove
  • size
  • clear
  • iterator
  • clear,
  • iterator,
  • trimToSize,
  • addAll

Popular in Java

  • Making http requests using okhttp
  • getSharedPreferences (Context)
  • startActivity (Activity)
  • addToBackStack (FragmentTransaction)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • 14 Best Plugins for Eclipse
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