hudson
Class PermalinkList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<PermalinkProjectAction.Permalink>
              extended by hudson.PermalinkList
All Implemented Interfaces:
Serializable, Cloneable, Iterable<PermalinkProjectAction.Permalink>, Collection<PermalinkProjectAction.Permalink>, List<PermalinkProjectAction.Permalink>, RandomAccess

public final class PermalinkList
extends ArrayList<PermalinkProjectAction.Permalink>

List of PermalinkProjectAction.Permalinks with some convenience methods.

Since:
1.255
Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
PermalinkList()
           
PermalinkList(Collection<? extends PermalinkProjectAction.Permalink> c)
           
 
Method Summary
 PermalinkProjectAction.Permalink findNearest(String id)
          Finds the closest name match by its ID.
 PermalinkProjectAction.Permalink get(String id)
          Gets the PermalinkProjectAction.Permalink by its id.
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

PermalinkList

public PermalinkList(Collection<? extends PermalinkProjectAction.Permalink> c)

PermalinkList

public PermalinkList()
Method Detail

get

public PermalinkProjectAction.Permalink get(String id)
Gets the PermalinkProjectAction.Permalink by its id.

Returns:
null if not found

findNearest

public PermalinkProjectAction.Permalink findNearest(String id)
Finds the closest name match by its ID.



Copyright © 2004-2013. All Rights Reserved.