Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.apache.xerces.impl.xs.util;
 
 
 public class NSItemListImpl
   implements XSNamespaceItemList
 {
  private XSNamespaceItem[] fArray = null;
  private int fLength = 0;
  private Vector fVector;
  public NSItemListImpl(Vector paramVector)
  {
    this.fVector = paramVector;
    this.fLength = paramVector.size();
  }
  public NSItemListImpl(XSNamespaceItem[] paramArrayOfXSNamespaceItemint paramInt)
  {
    this.fArray = paramArrayOfXSNamespaceItem;
    this.fLength = paramInt;
  }
  public int getLength()
  {
    return this.fLength;
  }
  public XSNamespaceItem item(int paramInt)
  {
    if ((paramInt < 0) || (paramInt >= this.fLength))
      return null;
    if (this.fVector != null)
      return (XSNamespaceItem)this.fVector.elementAt(paramInt);
    return this.fArray[paramInt];
  }
/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/thirdparty-all.jar
 * Qualified Name:     org.apache.xerces.impl.xs.util.NSItemListImpl
 * JD-Core Version:    0.6.0
 */
New to GrepCode? Check out our FAQ X