< prev index next >

src/java.xml/share/classes/com/sun/org/apache/xml/internal/dtm/ref/DTMStringPool.java

Print this page

        

*** 1,8 **** /* * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. - * @LastModified: Oct 2017 */ /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. --- 1,7 ----
*** 51,61 **** * .hashCode() and .equals() operations. The API enforces Strings because * it's safer that way, but this could trivially be turned into a general * ObjectPool if one was needed.</p> * * <p>Status: Passed basic test in main().</p> ! * */ public class DTMStringPool { List<String> m_intToString; static final int HASHPRIME=101; int[] m_hashStart=new int[HASHPRIME]; --- 50,62 ---- * .hashCode() and .equals() operations. The API enforces Strings because * it's safer that way, but this could trivially be turned into a general * ObjectPool if one was needed.</p> * * <p>Status: Passed basic test in main().</p> ! * ! * @LastModified: Oct 2017 ! */ public class DTMStringPool { List<String> m_intToString; static final int HASHPRIME=101; int[] m_hashStart=new int[HASHPRIME];
< prev index next >