< prev index next >

jdk/src/java.base/share/classes/sun/text/normalizer/CharacterIteratorWrapper.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 43,53 **** * This class is a wrapper around CharacterIterator and implements the * UCharacterIterator protocol * @author ram */ ! public class CharacterIteratorWrapper extends UCharacterIterator { private CharacterIterator iterator; public CharacterIteratorWrapper(CharacterIterator iter){ if(iter==null){ --- 43,53 ---- * This class is a wrapper around CharacterIterator and implements the * UCharacterIterator protocol * @author ram */ ! class CharacterIteratorWrapper extends UCharacterIterator { private CharacterIterator iterator; public CharacterIteratorWrapper(CharacterIterator iter){ if(iter==null){
*** 109,119 **** */ public void setIndex(int index) { iterator.setIndex(index); } - //// for StringPrep /** * @see UCharacterIterator#getText(char[]) */ public int getText(char[] fillIn, int offset){ int length =iterator.getEndIndex() - iterator.getBeginIndex(); --- 109,118 ----
< prev index next >