src/java.xml/share/classes/com/sun/org/apache/xpath/internal/functions/FuncLast.java
changeset 47359 e1a6c0168741
parent 47216 71c04702a3d5
child 48409 5ab69533994b
equal deleted inserted replaced
47358:d07d5f7cab35 47359:e1a6c0168741
     1 /*
     1 /*
     2  * reserved comment block
     2  * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT REMOVE OR ALTER!
     3  * @LastModified: Oct 2017
     4  */
     4  */
     5 /*
     5 /*
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     6  * Licensed to the Apache Software Foundation (ASF) under one or more
     7  * contributor license agreements.  See the NOTICE file distributed with
     7  * contributor license agreements.  See the NOTICE file distributed with
     8  * this work for additional information regarding copyright ownership.
     8  * this work for additional information regarding copyright ownership.
    20  */
    20  */
    21 
    21 
    22 package com.sun.org.apache.xpath.internal.functions;
    22 package com.sun.org.apache.xpath.internal.functions;
    23 
    23 
    24 import com.sun.org.apache.xml.internal.dtm.DTMIterator;
    24 import com.sun.org.apache.xml.internal.dtm.DTMIterator;
       
    25 import com.sun.org.apache.xml.internal.utils.QName;
    25 import com.sun.org.apache.xpath.internal.XPathContext;
    26 import com.sun.org.apache.xpath.internal.XPathContext;
    26 import com.sun.org.apache.xpath.internal.axes.SubContextList;
    27 import com.sun.org.apache.xpath.internal.axes.SubContextList;
    27 import com.sun.org.apache.xpath.internal.compiler.Compiler;
    28 import com.sun.org.apache.xpath.internal.compiler.Compiler;
    28 import com.sun.org.apache.xpath.internal.objects.XNumber;
    29 import com.sun.org.apache.xpath.internal.objects.XNumber;
    29 import com.sun.org.apache.xpath.internal.objects.XObject;
    30 import com.sun.org.apache.xpath.internal.objects.XObject;
       
    31 import java.util.List;
    30 
    32 
    31 
    33 
    32 /**
    34 /**
    33  * Execute the Last() function.
    35  * Execute the Last() function.
    34  * @xsl.usage advanced
    36  * @xsl.usage advanced
    97   }
    99   }
    98 
   100 
    99   /**
   101   /**
   100    * No arguments to process, so this does nothing.
   102    * No arguments to process, so this does nothing.
   101    */
   103    */
   102   public void fixupVariables(java.util.Vector vars, int globalsSize)
   104   public void fixupVariables(List<QName> vars, int globalsSize)
   103   {
   105   {
   104     // no-op
   106     // no-op
   105   }
   107   }
   106 
   108 
   107 }
   109 }