< prev index next >
src/java.base/share/classes/jdk/internal/icu/impl/UnicodeSetStringSpan.java
Print this page
rev 57619 : imported patch 8174270
*** 1,7 ****
/*
! * Copyright (c) 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
--- 1,7 ----
/*
! * Copyright (c) 2015, 2020, 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
*** 30,51 ****
* Corporation and others. All Rights Reserved.
*
******************************************************************************
*/
! package sun.text.normalizer;
import java.util.ArrayList;
! import sun.text.normalizer.UnicodeSet.SpanCondition;
/*
* Implement span() etc. for a set with strings.
* Avoid recursion because of its exponential complexity.
* Instead, try multiple paths at once and track them with an IndexList.
*/
! class UnicodeSetStringSpan {
/*
* Which span() variant will be used? The object is either built for one variant and used once,
* or built for all and may be used many times.
*/
--- 30,54 ----
* Corporation and others. All Rights Reserved.
*
******************************************************************************
*/
! package jdk.internal.icu.impl;
import java.util.ArrayList;
! import jdk.internal.icu.text.UTF16;
! import jdk.internal.icu.text.UnicodeSet;
! import jdk.internal.icu.text.UnicodeSet.SpanCondition;
! import jdk.internal.icu.util.OutputInt;
/*
* Implement span() etc. for a set with strings.
* Avoid recursion because of its exponential complexity.
* Instead, try multiple paths at once and track them with an IndexList.
*/
! public class UnicodeSetStringSpan {
/*
* Which span() variant will be used? The object is either built for one variant and used once,
* or built for all and may be used many times.
*/
< prev index next >