tests/libjava-mauve/src/gnu/testlet/java/text/AttributedCharacterIterator/CharItImpl.java
branchjk_new_structure
changeset 1541 75c2e24dea9a
parent 1540 92ac284961c1
child 1542 be11db817bcf
equal deleted inserted replaced
1540:92ac284961c1 1541:75c2e24dea9a
     1 /*************************************************************************
       
     2 /* implement.java -- Test interface java.text.CharacterIterator
       
     3 /*
       
     4 /* Copyright (c) 1999 Free Software Foundation, Inc.
       
     5 /* Written by Aaron M. Renn (arenn@urbanophile.com)
       
     6 /*
       
     7 /* This program is free software; you can redistribute it and/or modify
       
     8 /* it under the terms of the GNU General Public License as published 
       
     9 /* by the Free Software Foundation, either version 2 of the License, or
       
    10 /* (at your option) any later version.
       
    11 /*
       
    12 /* This program is distributed in the hope that it will be useful, but
       
    13 /* WITHOUT ANY WARRANTY; without even the implied warranty of
       
    14 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    15 /* GNU General Public License for more details.
       
    16 /*
       
    17 /* You should have received a copy of the GNU General Public License
       
    18 /* along with this program; if not, write to the Free Software Foundation
       
    19 /* Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307 USA
       
    20 /*************************************************************************/
       
    21 
       
    22 // Tags: not-a-test
       
    23 
       
    24 package gnu.testlet.java.text.AttributedCharacterIterator;
       
    25 
       
    26 import java.text.*;
       
    27 
       
    28 // Package local copy for use by AttributedCharacterIterator
       
    29 class CharItImpl implements CharacterIterator
       
    30 {
       
    31 
       
    32 public Object
       
    33 clone()
       
    34 {
       
    35   return(null);
       
    36 }
       
    37 public char
       
    38 current()
       
    39 {
       
    40   return('0');
       
    41 }
       
    42 public char
       
    43 first()
       
    44 {
       
    45   return('0');
       
    46 }
       
    47 public int
       
    48 getBeginIndex()
       
    49 {
       
    50   return(0);
       
    51 }
       
    52 public int
       
    53 getEndIndex()
       
    54 {
       
    55   return(0);
       
    56 }
       
    57 public int
       
    58 getIndex()
       
    59 {
       
    60   return(0);
       
    61 }
       
    62 public char
       
    63 last()
       
    64 {
       
    65   return('0');
       
    66 }
       
    67 public char
       
    68 next()
       
    69 {
       
    70   return('0');
       
    71 }
       
    72 public char
       
    73 previous()
       
    74 {
       
    75   return('0');
       
    76 }
       
    77 public char
       
    78 setIndex(int pos)
       
    79 {
       
    80   return('0');
       
    81 }
       
    82 
       
    83 } // class CharacterIteratorImplement
       
    84