26.16/8.20 YES 26.16/8.21 proof of /export/starexec/sandbox2/benchmark/theBenchmark.jar 26.16/8.21 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 26.16/8.21 26.16/8.21 26.16/8.21 termination of the given Bare JBC problem could be proven: 26.16/8.21 26.16/8.21 (0) Bare JBC problem 26.16/8.21 (1) BareJBCToJBCProof [EQUIVALENT, 96 ms] 26.16/8.21 (2) JBC problem 26.16/8.21 (3) JBCToGraph [EQUIVALENT, 2896 ms] 26.16/8.21 (4) JBCTerminationGraph 26.16/8.21 (5) TerminationGraphToSCCProof [SOUND, 1 ms] 26.16/8.21 (6) AND 26.16/8.21 (7) JBCTerminationSCC 26.16/8.21 (8) SCCToIRSProof [SOUND, 272 ms] 26.16/8.21 (9) IRSwT 26.16/8.21 (10) IRSFormatTransformerProof [EQUIVALENT, 0 ms] 26.16/8.21 (11) IRSwT 26.16/8.21 (12) IRSwTTerminationDigraphProof [EQUIVALENT, 53 ms] 26.16/8.21 (13) IRSwT 26.16/8.21 (14) IntTRSCompressionProof [EQUIVALENT, 0 ms] 26.16/8.21 (15) IRSwT 26.16/8.21 (16) TempFilterProof [SOUND, 942 ms] 26.16/8.21 (17) IRSwT 26.16/8.21 (18) IRSwTTerminationDigraphProof [EQUIVALENT, 0 ms] 26.16/8.21 (19) IRSwT 26.16/8.21 (20) IntTRSUnneededArgumentFilterProof [EQUIVALENT, 0 ms] 26.16/8.21 (21) IRSwT 26.16/8.21 (22) TempFilterProof [SOUND, 3 ms] 26.16/8.21 (23) IRSwT 26.16/8.21 (24) IRSwTToQDPProof [SOUND, 0 ms] 26.16/8.21 (25) QDP 26.16/8.21 (26) QDPSizeChangeProof [EQUIVALENT, 0 ms] 26.16/8.21 (27) YES 26.16/8.21 (28) JBCTerminationSCC 26.16/8.21 (29) SCCToIRSProof [SOUND, 156 ms] 26.16/8.21 (30) IRSwT 26.16/8.21 (31) IRSFormatTransformerProof [EQUIVALENT, 0 ms] 26.16/8.21 (32) IRSwT 26.16/8.21 (33) IRSwTTerminationDigraphProof [EQUIVALENT, 47 ms] 26.16/8.21 (34) IRSwT 26.16/8.21 (35) IntTRSCompressionProof [EQUIVALENT, 1 ms] 26.16/8.21 (36) IRSwT 26.16/8.21 (37) TempFilterProof [SOUND, 3 ms] 26.16/8.21 (38) IRSwT 26.16/8.21 (39) IRSwTToQDPProof [SOUND, 0 ms] 26.16/8.21 (40) QDP 26.16/8.21 (41) QDPSizeChangeProof [EQUIVALENT, 0 ms] 26.16/8.21 (42) YES 26.16/8.21 (43) JBCTerminationSCC 26.16/8.21 (44) SCCToIRSProof [SOUND, 141 ms] 26.16/8.21 (45) IRSwT 26.16/8.21 (46) IRSFormatTransformerProof [EQUIVALENT, 0 ms] 26.16/8.21 (47) IRSwT 26.16/8.21 (48) IRSwTTerminationDigraphProof [EQUIVALENT, 45 ms] 26.16/8.21 (49) IRSwT 26.16/8.21 (50) IntTRSCompressionProof [EQUIVALENT, 0 ms] 26.16/8.21 (51) IRSwT 26.16/8.21 (52) TempFilterProof [SOUND, 26 ms] 26.16/8.21 (53) IRSwT 26.16/8.21 (54) IRSwTToQDPProof [SOUND, 0 ms] 26.16/8.21 (55) QDP 26.16/8.21 (56) QDPSizeChangeProof [EQUIVALENT, 0 ms] 26.16/8.21 (57) YES 26.16/8.21 (58) JBCTerminationSCC 26.16/8.21 (59) SCCToIRSProof [SOUND, 771 ms] 26.16/8.21 (60) IRSwT 26.16/8.21 (61) IRSFormatTransformerProof [EQUIVALENT, 0 ms] 26.16/8.21 (62) IRSwT 26.16/8.21 (63) IRSwTTerminationDigraphProof [EQUIVALENT, 0 ms] 26.16/8.21 (64) IRSwT 26.16/8.21 (65) IntTRSCompressionProof [EQUIVALENT, 0 ms] 26.16/8.21 (66) IRSwT 26.16/8.21 (67) TempFilterProof [SOUND, 9 ms] 26.16/8.21 (68) IntTRS 26.16/8.21 (69) PolynomialOrderProcessor [EQUIVALENT, 0 ms] 26.16/8.21 (70) YES 26.16/8.21 26.16/8.21 26.16/8.21 ---------------------------------------- 26.16/8.21 26.16/8.21 (0) 26.16/8.21 Obligation: 26.16/8.21 need to prove termination of the following program: 26.16/8.21 /* 26.16/8.21 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.21 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.21 * 26.16/8.21 * This code is free software; you can redistribute it and/or modify it 26.16/8.21 * under the terms of the GNU General Public License version 2 only, as 26.16/8.21 * published by the Free Software Foundation. Sun designates this 26.16/8.21 * particular file as subject to the "Classpath" exception as provided 26.16/8.21 * by Sun in the LICENSE file that accompanied this code. 26.16/8.21 * 26.16/8.21 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.21 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.21 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.21 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.21 * accompanied this code). 26.16/8.21 * 26.16/8.21 * You should have received a copy of the GNU General Public License version 26.16/8.21 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.21 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.21 * 26.16/8.21 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.21 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.21 * have any questions. 26.16/8.21 */ 26.16/8.21 26.16/8.21 package javaUtilEx; 26.16/8.21 26.16/8.21 /** 26.16/8.21 * This class provides a skeletal implementation of the Collection 26.16/8.21 * interface, to minimize the effort required to implement this interface.

26.16/8.21 * 26.16/8.21 * To implement an unmodifiable collection, the programmer needs only to 26.16/8.21 * extend this class and provide implementations for the iterator and 26.16/8.21 * size methods. (The iterator returned by the iterator 26.16/8.21 * method must implement hasNext and next.)

26.16/8.21 * 26.16/8.21 * To implement a modifiable collection, the programmer must additionally 26.16/8.21 * override this class's add method (which otherwise throws an 26.16/8.21 * UnsupportedOperationException), and the iterator returned by the 26.16/8.21 * iterator method must additionally implement its remove 26.16/8.21 * method.

26.16/8.21 * 26.16/8.21 * The programmer should generally provide a void (no argument) and 26.16/8.21 * Collection constructor, as per the recommendation in the 26.16/8.21 * Collection interface specification.

26.16/8.21 * 26.16/8.21 * The documentation for each non-abstract method in this class describes its 26.16/8.21 * implementation in detail. Each of these methods may be overridden if 26.16/8.21 * the collection being implemented admits a more efficient implementation.

26.16/8.21 * 26.16/8.21 * This class is a member of the 26.16/8.21 * 26.16/8.21 * Java Collections Framework. 26.16/8.21 * 26.16/8.21 * @author Josh Bloch 26.16/8.21 * @author Neal Gafter 26.16/8.21 * @see Collection 26.16/8.21 * @since 1.2 26.16/8.21 */ 26.16/8.21 26.16/8.21 public abstract class AbstractCollection implements Collection { 26.16/8.21 /** 26.16/8.21 * Sole constructor. (For invocation by subclass constructors, typically 26.16/8.21 * implicit.) 26.16/8.21 */ 26.16/8.21 protected AbstractCollection() { 26.16/8.21 } 26.16/8.21 26.16/8.21 // Query Operations 26.16/8.21 26.16/8.21 /** 26.16/8.21 * Returns an iterator over the elements contained in this collection. 26.16/8.21 * 26.16/8.21 * @return an iterator over the elements contained in this collection 26.16/8.21 */ 26.16/8.21 public abstract Iterator iterator(); 26.16/8.21 26.16/8.21 public abstract int size(); 26.16/8.21 26.16/8.21 /** 26.16/8.21 * {@inheritDoc} 26.16/8.21 * 26.16/8.21 *

This implementation returns size() == 0. 26.16/8.21 */ 26.16/8.21 public boolean isEmpty() { 26.16/8.21 return size() == 0; 26.16/8.21 } 26.16/8.21 26.16/8.21 /** 26.16/8.21 * {@inheritDoc} 26.16/8.21 * 26.16/8.21 *

This implementation iterates over the elements in the collection, 26.16/8.21 * checking each element in turn for equality with the specified element. 26.16/8.21 * 26.16/8.21 * @throws ClassCastException {@inheritDoc} 26.16/8.21 * @throws NullPointerException {@inheritDoc} 26.16/8.21 */ 26.16/8.21 public boolean contains(Object o) { 26.16/8.21 Iterator e = iterator(); 26.16/8.21 if (o==null) { 26.16/8.21 while (e.hasNext()) 26.16/8.21 if (e.next()==null) 26.16/8.21 return true; 26.16/8.21 } else { 26.16/8.21 while (e.hasNext()) 26.16/8.21 if (o.equals(e.next())) 26.16/8.21 return true; 26.16/8.21 } 26.16/8.21 return false; 26.16/8.21 } 26.16/8.21 26.16/8.21 // Modification Operations 26.16/8.21 26.16/8.21 /** 26.16/8.21 * {@inheritDoc} 26.16/8.21 * 26.16/8.21 *

This implementation always throws an 26.16/8.21 * UnsupportedOperationException. 26.16/8.21 * 26.16/8.21 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.21 * @throws ClassCastException {@inheritDoc} 26.16/8.21 * @throws NullPointerException {@inheritDoc} 26.16/8.21 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.21 * @throws IllegalStateException {@inheritDoc} 26.16/8.21 */ 26.16/8.21 public boolean add(E e) { 26.16/8.21 throw new UnsupportedOperationException(); 26.16/8.21 } 26.16/8.21 26.16/8.21 /** 26.16/8.21 * {@inheritDoc} 26.16/8.21 * 26.16/8.21 *

This implementation iterates over the collection looking for the 26.16/8.21 * specified element. If it finds the element, it removes the element 26.16/8.21 * from the collection using the iterator's remove method. 26.16/8.21 * 26.16/8.21 *

Note that this implementation throws an 26.16/8.21 * UnsupportedOperationException if the iterator returned by this 26.16/8.21 * collection's iterator method does not implement the remove 26.16/8.21 * method and this collection contains the specified object. 26.16/8.21 * 26.16/8.21 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.21 * @throws ClassCastException {@inheritDoc} 26.16/8.21 * @throws NullPointerException {@inheritDoc} 26.16/8.21 */ 26.16/8.21 public boolean remove(Object o) { 26.16/8.21 Iterator e = iterator(); 26.16/8.21 if (o==null) { 26.16/8.21 while (e.hasNext()) { 26.16/8.21 if (e.next()==null) { 26.16/8.21 e.remove(); 26.16/8.21 return true; 26.16/8.21 } 26.16/8.21 } 26.16/8.21 } else { 26.16/8.21 while (e.hasNext()) { 26.16/8.21 if (o.equals(e.next())) { 26.16/8.21 e.remove(); 26.16/8.21 return true; 26.16/8.21 } 26.16/8.21 } 26.16/8.21 } 26.16/8.21 return false; 26.16/8.21 } 26.16/8.21 26.16/8.21 26.16/8.21 // Bulk Operations 26.16/8.21 26.16/8.21 /** 26.16/8.21 * {@inheritDoc} 26.16/8.21 * 26.16/8.21 *

This implementation iterates over the specified collection, 26.16/8.21 * checking each element returned by the iterator in turn to see 26.16/8.21 * if it's contained in this collection. If all elements are so 26.16/8.21 * contained true is returned, otherwise false. 26.16/8.21 * 26.16/8.21 * @throws ClassCastException {@inheritDoc} 26.16/8.21 * @throws NullPointerException {@inheritDoc} 26.16/8.21 * @see #contains(Object) 26.16/8.21 */ 26.16/8.21 public boolean containsAll(Collection c) { 26.16/8.21 Iterator e = c.iterator(); 26.16/8.21 while (e.hasNext()) 26.16/8.21 if (!contains(e.next())) 26.16/8.21 return false; 26.16/8.21 return true; 26.16/8.21 } 26.16/8.21 26.16/8.21 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over the specified collection, and adds 26.16/8.22 * each object returned by the iterator to this collection, in turn. 26.16/8.22 * 26.16/8.22 *

Note that this implementation will throw an 26.16/8.22 * UnsupportedOperationException unless add is 26.16/8.22 * overridden (assuming the specified collection is non-empty). 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.22 * @throws IllegalStateException {@inheritDoc} 26.16/8.22 * 26.16/8.22 * @see #add(Object) 26.16/8.22 */ 26.16/8.22 public boolean addAll(Collection c) { 26.16/8.22 boolean modified = false; 26.16/8.22 Iterator e = c.iterator(); 26.16/8.22 while (e.hasNext()) { 26.16/8.22 if (add(e.next())) 26.16/8.22 modified = true; 26.16/8.22 } 26.16/8.22 return modified; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over this collection, checking each 26.16/8.22 * element returned by the iterator in turn to see if it's contained 26.16/8.22 * in the specified collection. If it's so contained, it's removed from 26.16/8.22 * this collection with the iterator's remove method. 26.16/8.22 * 26.16/8.22 *

Note that this implementation will throw an 26.16/8.22 * UnsupportedOperationException if the iterator returned by the 26.16/8.22 * iterator method does not implement the remove method 26.16/8.22 * and this collection contains one or more elements in common with the 26.16/8.22 * specified collection. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 * 26.16/8.22 * @see #remove(Object) 26.16/8.22 * @see #contains(Object) 26.16/8.22 */ 26.16/8.22 public boolean removeAll(Collection c) { 26.16/8.22 boolean modified = false; 26.16/8.22 Iterator e = iterator(); 26.16/8.22 while (e.hasNext()) { 26.16/8.22 if (c.contains(e.next())) { 26.16/8.22 e.remove(); 26.16/8.22 modified = true; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 return modified; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over this collection, checking each 26.16/8.22 * element returned by the iterator in turn to see if it's contained 26.16/8.22 * in the specified collection. If it's not so contained, it's removed 26.16/8.22 * from this collection with the iterator's remove method. 26.16/8.22 * 26.16/8.22 *

Note that this implementation will throw an 26.16/8.22 * UnsupportedOperationException if the iterator returned by the 26.16/8.22 * iterator method does not implement the remove method 26.16/8.22 * and this collection contains one or more elements not present in the 26.16/8.22 * specified collection. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 * 26.16/8.22 * @see #remove(Object) 26.16/8.22 * @see #contains(Object) 26.16/8.22 */ 26.16/8.22 public boolean retainAll(Collection c) { 26.16/8.22 boolean modified = false; 26.16/8.22 Iterator e = iterator(); 26.16/8.22 while (e.hasNext()) { 26.16/8.22 if (!c.contains(e.next())) { 26.16/8.22 e.remove(); 26.16/8.22 modified = true; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 return modified; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over this collection, removing each 26.16/8.22 * element using the Iterator.remove operation. Most 26.16/8.22 * implementations will probably choose to override this method for 26.16/8.22 * efficiency. 26.16/8.22 * 26.16/8.22 *

Note that this implementation will throw an 26.16/8.22 * UnsupportedOperationException if the iterator returned by this 26.16/8.22 * collection's iterator method does not implement the 26.16/8.22 * remove method and this collection is non-empty. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public void clear() { 26.16/8.22 Iterator e = iterator(); 26.16/8.22 while (e.hasNext()) { 26.16/8.22 e.next(); 26.16/8.22 e.remove(); 26.16/8.22 } 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 // String conversion 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns a string representation of this collection. The string 26.16/8.22 * representation consists of a list of the collection's elements in the 26.16/8.22 * order they are returned by its iterator, enclosed in square brackets 26.16/8.22 * ("[]"). Adjacent elements are separated by the characters 26.16/8.22 * ", " (comma and space). Elements are converted to strings as 26.16/8.22 * by {@link String#valueOf(Object)}. 26.16/8.22 * 26.16/8.22 * @return a string representation of this collection 26.16/8.22 */ 26.16/8.22 public String toString() { 26.16/8.22 Iterator i = iterator(); 26.16/8.22 if (! i.hasNext()) 26.16/8.22 return "[]"; 26.16/8.22 26.16/8.22 String sb = ""; 26.16/8.22 sb = sb + "["; 26.16/8.22 for (;;) { 26.16/8.22 E e = i.next(); 26.16/8.22 sb = sb + (e == this ? "(this Collection)" : e); 26.16/8.22 if (! i.hasNext()) { 26.16/8.22 sb = sb + "]"; 26.16/8.22 return sb; 26.16/8.22 } 26.16/8.22 sb = sb + ", "; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 /* 26.16/8.22 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.22 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.22 * 26.16/8.22 * This code is free software; you can redistribute it and/or modify it 26.16/8.22 * under the terms of the GNU General Public License version 2 only, as 26.16/8.22 * published by the Free Software Foundation. Sun designates this 26.16/8.22 * particular file as subject to the "Classpath" exception as provided 26.16/8.22 * by Sun in the LICENSE file that accompanied this code. 26.16/8.22 * 26.16/8.22 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.22 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.22 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.22 * accompanied this code). 26.16/8.22 * 26.16/8.22 * You should have received a copy of the GNU General Public License version 26.16/8.22 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.22 * 26.16/8.22 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.22 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.22 * have any questions. 26.16/8.22 */ 26.16/8.22 26.16/8.22 package javaUtilEx; 26.16/8.22 import javaUtilEx.Map.Entry; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * This class provides a skeletal implementation of the Map 26.16/8.22 * interface, to minimize the effort required to implement this interface. 26.16/8.22 * 26.16/8.22 *

To implement an unmodifiable map, the programmer needs only to extend this 26.16/8.22 * class and provide an implementation for the entrySet method, which 26.16/8.22 * returns a set-view of the map's mappings. Typically, the returned set 26.16/8.22 * will, in turn, be implemented atop AbstractSet. This set should 26.16/8.22 * not support the add or remove methods, and its iterator 26.16/8.22 * should not support the remove method. 26.16/8.22 * 26.16/8.22 *

To implement a modifiable map, the programmer must additionally override 26.16/8.22 * this class's put method (which otherwise throws an 26.16/8.22 * UnsupportedOperationException), and the iterator returned by 26.16/8.22 * entrySet().iterator() must additionally implement its 26.16/8.22 * remove method. 26.16/8.22 * 26.16/8.22 *

The programmer should generally provide a void (no argument) and map 26.16/8.22 * constructor, as per the recommendation in the Map interface 26.16/8.22 * specification. 26.16/8.22 * 26.16/8.22 *

The documentation for each non-abstract method in this class describes its 26.16/8.22 * implementation in detail. Each of these methods may be overridden if the 26.16/8.22 * map being implemented admits a more efficient implementation. 26.16/8.22 * 26.16/8.22 *

This class is a member of the 26.16/8.22 * 26.16/8.22 * Java Collections Framework. 26.16/8.22 * 26.16/8.22 * @param the type of keys maintained by this map 26.16/8.22 * @param the type of mapped values 26.16/8.22 * 26.16/8.22 * @author Josh Bloch 26.16/8.22 * @author Neal Gafter 26.16/8.22 * @see Map 26.16/8.22 * @see Collection 26.16/8.22 * @since 1.2 26.16/8.22 */ 26.16/8.22 26.16/8.22 public abstract class AbstractMap implements Map { 26.16/8.22 /** 26.16/8.22 * Sole constructor. (For invocation by subclass constructors, typically 26.16/8.22 * implicit.) 26.16/8.22 */ 26.16/8.22 protected AbstractMap() { 26.16/8.22 } 26.16/8.22 26.16/8.22 // Query Operations 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation returns entrySet().size(). 26.16/8.22 */ 26.16/8.22 public int size() { 26.16/8.22 return entrySet().size(); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation returns size() == 0. 26.16/8.22 */ 26.16/8.22 public boolean isEmpty() { 26.16/8.22 return size() == 0; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over entrySet() searching 26.16/8.22 * for an entry with the specified value. If such an entry is found, 26.16/8.22 * true is returned. If the iteration terminates without 26.16/8.22 * finding such an entry, false is returned. Note that this 26.16/8.22 * implementation requires linear time in the size of the map. 26.16/8.22 * 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public boolean containsValue(Object value) { 26.16/8.22 Iterator> i = entrySet().iterator(); 26.16/8.22 if (value==null) { 26.16/8.22 while (i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (e.getValue()==null) 26.16/8.22 return true; 26.16/8.22 } 26.16/8.22 } else { 26.16/8.22 while (i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (value.equals(e.getValue())) 26.16/8.22 return true; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 return false; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over entrySet() searching 26.16/8.22 * for an entry with the specified key. If such an entry is found, 26.16/8.22 * true is returned. If the iteration terminates without 26.16/8.22 * finding such an entry, false is returned. Note that this 26.16/8.22 * implementation requires linear time in the size of the map; many 26.16/8.22 * implementations will override this method. 26.16/8.22 * 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public boolean containsKey(Object key) { 26.16/8.22 Iterator> i = entrySet().iterator(); 26.16/8.22 if (key==null) { 26.16/8.22 while (i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (e.getKey()==null) 26.16/8.22 return true; 26.16/8.22 } 26.16/8.22 } else { 26.16/8.22 while (i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (key.equals(e.getKey())) 26.16/8.22 return true; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 return false; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over entrySet() searching 26.16/8.22 * for an entry with the specified key. If such an entry is found, 26.16/8.22 * the entry's value is returned. If the iteration terminates without 26.16/8.22 * finding such an entry, null is returned. Note that this 26.16/8.22 * implementation requires linear time in the size of the map; many 26.16/8.22 * implementations will override this method. 26.16/8.22 * 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public V get(Object key) { 26.16/8.22 Iterator> i = entrySet().iterator(); 26.16/8.22 if (key==null) { 26.16/8.22 while (i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (e.getKey()==null) 26.16/8.22 return e.getValue(); 26.16/8.22 } 26.16/8.22 } else { 26.16/8.22 while (i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (key.equals(e.getKey())) 26.16/8.22 return e.getValue(); 26.16/8.22 } 26.16/8.22 } 26.16/8.22 return null; 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 // Modification Operations 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation always throws an 26.16/8.22 * UnsupportedOperationException. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public V put(K key, V value) { 26.16/8.22 throw new UnsupportedOperationException(); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over entrySet() searching for an 26.16/8.22 * entry with the specified key. If such an entry is found, its value is 26.16/8.22 * obtained with its getValue operation, the entry is removed 26.16/8.22 * from the collection (and the backing map) with the iterator's 26.16/8.22 * remove operation, and the saved value is returned. If the 26.16/8.22 * iteration terminates without finding such an entry, null is 26.16/8.22 * returned. Note that this implementation requires linear time in the 26.16/8.22 * size of the map; many implementations will override this method. 26.16/8.22 * 26.16/8.22 *

Note that this implementation throws an 26.16/8.22 * UnsupportedOperationException if the entrySet 26.16/8.22 * iterator does not support the remove method and this map 26.16/8.22 * contains a mapping for the specified key. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public V remove(Object key) { 26.16/8.22 Iterator> i = entrySet().iterator(); 26.16/8.22 Entry correctEntry = null; 26.16/8.22 if (key==null) { 26.16/8.22 while (correctEntry==null && i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (e.getKey()==null) 26.16/8.22 correctEntry = e; 26.16/8.22 } 26.16/8.22 } else { 26.16/8.22 while (correctEntry==null && i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 if (key.equals(e.getKey())) 26.16/8.22 correctEntry = e; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 26.16/8.22 V oldValue = null; 26.16/8.22 if (correctEntry !=null) { 26.16/8.22 oldValue = correctEntry.getValue(); 26.16/8.22 i.remove(); 26.16/8.22 } 26.16/8.22 return oldValue; 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 // Bulk Operations 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation iterates over the specified map's 26.16/8.22 * entrySet() collection, and calls this map's put 26.16/8.22 * operation once for each entry returned by the iteration. 26.16/8.22 * 26.16/8.22 *

Note that this implementation throws an 26.16/8.22 * UnsupportedOperationException if this map does not support 26.16/8.22 * the put operation and the specified map is nonempty. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 * @throws ClassCastException {@inheritDoc} 26.16/8.22 * @throws NullPointerException {@inheritDoc} 26.16/8.22 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public void putAll(Map m) { 26.16/8.22 Iterator it = m.entrySet().iterator(); 26.16/8.22 while (it.hasNext()) { 26.16/8.22 Map.Entry e = (Map.Entry) it.next(); 26.16/8.22 put((K) e.getKey(), (V) e.getValue()); 26.16/8.22 } 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation calls entrySet().clear(). 26.16/8.22 * 26.16/8.22 *

Note that this implementation throws an 26.16/8.22 * UnsupportedOperationException if the entrySet 26.16/8.22 * does not support the clear operation. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.22 */ 26.16/8.22 public void clear() { 26.16/8.22 entrySet().clear(); 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 // Views 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Each of these fields are initialized to contain an instance of the 26.16/8.22 * appropriate view the first time this view is requested. The views are 26.16/8.22 * stateless, so there's no reason to create more than one of each. 26.16/8.22 */ 26.16/8.22 transient volatile Set keySet = null; 26.16/8.22 transient volatile Collection values = null; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation returns a set that subclasses {@link AbstractSet}. 26.16/8.22 * The subclass's iterator method returns a "wrapper object" over this 26.16/8.22 * map's entrySet() iterator. The size method 26.16/8.22 * delegates to this map's size method and the 26.16/8.22 * contains method delegates to this map's 26.16/8.22 * containsKey method. 26.16/8.22 * 26.16/8.22 *

The set is created the first time this method is called, 26.16/8.22 * and returned in response to all subsequent calls. No synchronization 26.16/8.22 * is performed, so there is a slight chance that multiple calls to this 26.16/8.22 * method will not all return the same set. 26.16/8.22 */ 26.16/8.22 public Set keySet() { 26.16/8.22 if (keySet == null) { 26.16/8.22 keySet = new AbstractSet() { 26.16/8.22 public Iterator iterator() { 26.16/8.22 return new Iterator() { 26.16/8.22 private Iterator> i = entrySet().iterator(); 26.16/8.22 26.16/8.22 public boolean hasNext() { 26.16/8.22 return i.hasNext(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public K next() { 26.16/8.22 return i.next().getKey(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public void remove() { 26.16/8.22 i.remove(); 26.16/8.22 } 26.16/8.22 }; 26.16/8.22 } 26.16/8.22 26.16/8.22 public int size() { 26.16/8.22 return AbstractMap.this.size(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public boolean isEmpty() { 26.16/8.22 return AbstractMap.this.isEmpty(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public void clear() { 26.16/8.22 AbstractMap.this.clear(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public boolean contains(Object k) { 26.16/8.22 return AbstractMap.this.containsKey(k); 26.16/8.22 } 26.16/8.22 26.16/8.22 public Object[] toArray() { 26.16/8.22 Object[] res = new Object[AbstractMap.this.size()]; 26.16/8.22 Iterator> it = entrySet().iterator(); 26.16/8.22 int i = 0; 26.16/8.22 while (it.hasNext()) 26.16/8.22 res[i++] = it.next().getKey(); 26.16/8.22 return res; 26.16/8.22 } 26.16/8.22 26.16/8.22 public T[] toArray(T[] a) { 26.16/8.22 a = (T[])java.lang.reflect.Array.newInstance( 26.16/8.22 a.getClass().getComponentType(), AbstractMap.this.size()); 26.16/8.22 Object[] res = a; 26.16/8.22 Iterator> it = entrySet().iterator(); 26.16/8.22 int i = 0; 26.16/8.22 while (it.hasNext()) 26.16/8.22 res[i++] = it.next().getKey(); 26.16/8.22 return a; 26.16/8.22 } 26.16/8.22 }; 26.16/8.22 } 26.16/8.22 return keySet; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * {@inheritDoc} 26.16/8.22 * 26.16/8.22 *

This implementation returns a collection that subclasses {@link 26.16/8.22 * AbstractCollection}. The subclass's iterator method returns a 26.16/8.22 * "wrapper object" over this map's entrySet() iterator. 26.16/8.22 * The size method delegates to this map's size 26.16/8.22 * method and the contains method delegates to this map's 26.16/8.22 * containsValue method. 26.16/8.22 * 26.16/8.22 *

The collection is created the first time this method is called, and 26.16/8.22 * returned in response to all subsequent calls. No synchronization is 26.16/8.22 * performed, so there is a slight chance that multiple calls to this 26.16/8.22 * method will not all return the same collection. 26.16/8.22 */ 26.16/8.22 public Collection values() { 26.16/8.22 if (values == null) { 26.16/8.22 values = new AbstractCollection() { 26.16/8.22 public Iterator iterator() { 26.16/8.22 return new Iterator() { 26.16/8.22 private Iterator> i = entrySet().iterator(); 26.16/8.22 26.16/8.22 public boolean hasNext() { 26.16/8.22 return i.hasNext(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public V next() { 26.16/8.22 return i.next().getValue(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public void remove() { 26.16/8.22 i.remove(); 26.16/8.22 } 26.16/8.22 }; 26.16/8.22 } 26.16/8.22 26.16/8.22 public int size() { 26.16/8.22 return AbstractMap.this.size(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public boolean isEmpty() { 26.16/8.22 return AbstractMap.this.isEmpty(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public void clear() { 26.16/8.22 AbstractMap.this.clear(); 26.16/8.22 } 26.16/8.22 26.16/8.22 public boolean contains(Object v) { 26.16/8.22 return AbstractMap.this.containsValue(v); 26.16/8.22 } 26.16/8.22 }; 26.16/8.22 } 26.16/8.22 return values; 26.16/8.22 } 26.16/8.22 26.16/8.22 public abstract Set> entrySet(); 26.16/8.22 26.16/8.22 26.16/8.22 // Comparison and hashing 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Compares the specified object with this map for equality. Returns 26.16/8.22 * true if the given object is also a map and the two maps 26.16/8.22 * represent the same mappings. More formally, two maps m1 and 26.16/8.22 * m2 represent the same mappings if 26.16/8.22 * m1.entrySet().equals(m2.entrySet()). This ensures that the 26.16/8.22 * equals method works properly across different implementations 26.16/8.22 * of the Map interface. 26.16/8.22 * 26.16/8.22 *

This implementation first checks if the specified object is this map; 26.16/8.22 * if so it returns true. Then, it checks if the specified 26.16/8.22 * object is a map whose size is identical to the size of this map; if 26.16/8.22 * not, it returns false. If so, it iterates over this map's 26.16/8.22 * entrySet collection, and checks that the specified map 26.16/8.22 * contains each mapping that this map contains. If the specified map 26.16/8.22 * fails to contain such a mapping, false is returned. If the 26.16/8.22 * iteration completes, true is returned. 26.16/8.22 * 26.16/8.22 * @param o object to be compared for equality with this map 26.16/8.22 * @return true if the specified object is equal to this map 26.16/8.22 */ 26.16/8.22 public boolean equals(Object o) { 26.16/8.22 if (o == this) 26.16/8.22 return true; 26.16/8.22 26.16/8.22 if (!(o instanceof Map)) 26.16/8.22 return false; 26.16/8.22 Map m = (Map) o; 26.16/8.22 if (m.size() != size()) 26.16/8.22 return false; 26.16/8.22 26.16/8.22 try { 26.16/8.22 Iterator> i = entrySet().iterator(); 26.16/8.22 while (i.hasNext()) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 K key = e.getKey(); 26.16/8.22 V value = e.getValue(); 26.16/8.22 if (value == null) { 26.16/8.22 if (!(m.get(key)==null && m.containsKey(key))) 26.16/8.22 return false; 26.16/8.22 } else { 26.16/8.22 if (!value.equals(m.get(key))) 26.16/8.22 return false; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 } catch (ClassCastException unused) { 26.16/8.22 return false; 26.16/8.22 } catch (NullPointerException unused) { 26.16/8.22 return false; 26.16/8.22 } 26.16/8.22 26.16/8.22 return true; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the hash code value for this map. The hash code of a map is 26.16/8.22 * defined to be the sum of the hash codes of each entry in the map's 26.16/8.22 * entrySet() view. This ensures that m1.equals(m2) 26.16/8.22 * implies that m1.hashCode()==m2.hashCode() for any two maps 26.16/8.22 * m1 and m2, as required by the general contract of 26.16/8.22 * {@link Object#hashCode}. 26.16/8.22 * 26.16/8.22 *

This implementation iterates over entrySet(), calling 26.16/8.22 * {@link Map.Entry#hashCode hashCode()} on each element (entry) in the 26.16/8.22 * set, and adding up the results. 26.16/8.22 * 26.16/8.22 * @return the hash code value for this map 26.16/8.22 * @see Map.Entry#hashCode() 26.16/8.22 * @see Object#equals(Object) 26.16/8.22 * @see Set#equals(Object) 26.16/8.22 */ 26.16/8.22 public int hashCode() { 26.16/8.22 int h = 0; 26.16/8.22 Iterator> i = entrySet().iterator(); 26.16/8.22 while (i.hasNext()) 26.16/8.22 h += i.next().hashCode(); 26.16/8.22 return h; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns a string representation of this map. The string representation 26.16/8.22 * consists of a list of key-value mappings in the order returned by the 26.16/8.22 * map's entrySet view's iterator, enclosed in braces 26.16/8.22 * ("{}"). Adjacent mappings are separated by the characters 26.16/8.22 * ", " (comma and space). Each key-value mapping is rendered as 26.16/8.22 * the key followed by an equals sign ("=") followed by the 26.16/8.22 * associated value. Keys and values are converted to strings as by 26.16/8.22 * {@link String#valueOf(Object)}. 26.16/8.22 * 26.16/8.22 * @return a string representation of this map 26.16/8.22 */ 26.16/8.22 public String toString() { 26.16/8.22 Iterator> i = entrySet().iterator(); 26.16/8.22 if (! i.hasNext()) 26.16/8.22 return "{}"; 26.16/8.22 26.16/8.22 StringBuilder sb = new StringBuilder(); 26.16/8.22 sb.append('{'); 26.16/8.22 for (;;) { 26.16/8.22 Entry e = i.next(); 26.16/8.22 K key = e.getKey(); 26.16/8.22 V value = e.getValue(); 26.16/8.22 sb.append(key == this ? "(this Map)" : key); 26.16/8.22 sb.append('='); 26.16/8.22 sb.append(value == this ? "(this Map)" : value); 26.16/8.22 if (! i.hasNext()) 26.16/8.22 return sb.append('}').toString(); 26.16/8.22 sb.append(", "); 26.16/8.22 } 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns a shallow copy of this AbstractMap instance: the keys 26.16/8.22 * and values themselves are not cloned. 26.16/8.22 * 26.16/8.22 * @return a shallow copy of this map 26.16/8.22 */ 26.16/8.22 protected Object clone() throws CloneNotSupportedException { 26.16/8.22 AbstractMap result = (AbstractMap)super.clone(); 26.16/8.22 result.keySet = null; 26.16/8.22 result.values = null; 26.16/8.22 return result; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Utility method for SimpleEntry and SimpleImmutableEntry. 26.16/8.22 * Test for equality, checking for nulls. 26.16/8.22 */ 26.16/8.22 private static boolean eq(Object o1, Object o2) { 26.16/8.22 return o1 == null ? o2 == null : o1.equals(o2); 26.16/8.22 } 26.16/8.22 26.16/8.22 // Implementation Note: SimpleEntry and SimpleImmutableEntry 26.16/8.22 // are distinct unrelated classes, even though they share 26.16/8.22 // some code. Since you can't add or subtract final-ness 26.16/8.22 // of a field in a subclass, they can't share representations, 26.16/8.22 // and the amount of duplicated code is too small to warrant 26.16/8.22 // exposing a common abstract class. 26.16/8.22 26.16/8.22 26.16/8.22 /** 26.16/8.22 * An Entry maintaining a key and a value. The value may be 26.16/8.22 * changed using the setValue method. This class 26.16/8.22 * facilitates the process of building custom map 26.16/8.22 * implementations. For example, it may be convenient to return 26.16/8.22 * arrays of SimpleEntry instances in method 26.16/8.22 * Map.entrySet().toArray. 26.16/8.22 * 26.16/8.22 * @since 1.6 26.16/8.22 */ 26.16/8.22 public static class SimpleEntry 26.16/8.22 implements Entry, java.io.Serializable 26.16/8.22 { 26.16/8.22 private static final long serialVersionUID = -8499721149061103585L; 26.16/8.22 26.16/8.22 private final K key; 26.16/8.22 private V value; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Creates an entry representing a mapping from the specified 26.16/8.22 * key to the specified value. 26.16/8.22 * 26.16/8.22 * @param key the key represented by this entry 26.16/8.22 * @param value the value represented by this entry 26.16/8.22 */ 26.16/8.22 public SimpleEntry(K key, V value) { 26.16/8.22 this.key = key; 26.16/8.22 this.value = value; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Creates an entry representing the same mapping as the 26.16/8.22 * specified entry. 26.16/8.22 * 26.16/8.22 * @param entry the entry to copy 26.16/8.22 */ 26.16/8.22 public SimpleEntry(Entry entry) { 26.16/8.22 this.key = entry.getKey(); 26.16/8.22 this.value = entry.getValue(); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the key corresponding to this entry. 26.16/8.22 * 26.16/8.22 * @return the key corresponding to this entry 26.16/8.22 */ 26.16/8.22 public K getKey() { 26.16/8.22 return key; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the value corresponding to this entry. 26.16/8.22 * 26.16/8.22 * @return the value corresponding to this entry 26.16/8.22 */ 26.16/8.22 public V getValue() { 26.16/8.22 return value; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Replaces the value corresponding to this entry with the specified 26.16/8.22 * value. 26.16/8.22 * 26.16/8.22 * @param value new value to be stored in this entry 26.16/8.22 * @return the old value corresponding to the entry 26.16/8.22 */ 26.16/8.22 public V setValue(V value) { 26.16/8.22 V oldValue = this.value; 26.16/8.22 this.value = value; 26.16/8.22 return oldValue; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Compares the specified object with this entry for equality. 26.16/8.22 * Returns {@code true} if the given object is also a map entry and 26.16/8.22 * the two entries represent the same mapping. More formally, two 26.16/8.22 * entries {@code e1} and {@code e2} represent the same mapping 26.16/8.22 * if

26.16/8.22	         *   (e1.getKey()==null ?
26.16/8.22	         *    e2.getKey()==null :
26.16/8.22	         *    e1.getKey().equals(e2.getKey()))
26.16/8.22	         *   &&
26.16/8.22	         *   (e1.getValue()==null ?
26.16/8.22	         *    e2.getValue()==null :
26.16/8.22	         *    e1.getValue().equals(e2.getValue()))
26.16/8.22 * This ensures that the {@code equals} method works properly across 26.16/8.22 * different implementations of the {@code Map.Entry} interface. 26.16/8.22 * 26.16/8.22 * @param o object to be compared for equality with this map entry 26.16/8.22 * @return {@code true} if the specified object is equal to this map 26.16/8.22 * entry 26.16/8.22 * @see #hashCode 26.16/8.22 */ 26.16/8.22 public boolean equals(Object o) { 26.16/8.22 if (!(o instanceof Map.Entry)) 26.16/8.22 return false; 26.16/8.22 Map.Entry e = (Map.Entry)o; 26.16/8.22 return eq(key, e.getKey()) && eq(value, e.getValue()); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the hash code value for this map entry. The hash code 26.16/8.22 * of a map entry {@code e} is defined to be:
26.16/8.22	         *   (e.getKey()==null   ? 0 : e.getKey().hashCode()) ^
26.16/8.22	         *   (e.getValue()==null ? 0 : e.getValue().hashCode())
26.16/8.22 * This ensures that {@code e1.equals(e2)} implies that 26.16/8.22 * {@code e1.hashCode()==e2.hashCode()} for any two Entries 26.16/8.22 * {@code e1} and {@code e2}, as required by the general 26.16/8.22 * contract of {@link Object#hashCode}. 26.16/8.22 * 26.16/8.22 * @return the hash code value for this map entry 26.16/8.22 * @see #equals 26.16/8.22 */ 26.16/8.22 public int hashCode() { 26.16/8.22 return (key == null ? 0 : key.hashCode()) ^ 26.16/8.22 (value == null ? 0 : value.hashCode()); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns a String representation of this map entry. This 26.16/8.22 * implementation returns the string representation of this 26.16/8.22 * entry's key followed by the equals character ("=") 26.16/8.22 * followed by the string representation of this entry's value. 26.16/8.22 * 26.16/8.22 * @return a String representation of this map entry 26.16/8.22 */ 26.16/8.22 public String toString() { 26.16/8.22 return key + "=" + value; 26.16/8.22 } 26.16/8.22 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * An Entry maintaining an immutable key and value. This class 26.16/8.22 * does not support method setValue. This class may be 26.16/8.22 * convenient in methods that return thread-safe snapshots of 26.16/8.22 * key-value mappings. 26.16/8.22 * 26.16/8.22 * @since 1.6 26.16/8.22 */ 26.16/8.22 public static class SimpleImmutableEntry 26.16/8.22 implements Entry, java.io.Serializable 26.16/8.22 { 26.16/8.22 private static final long serialVersionUID = 7138329143949025153L; 26.16/8.22 26.16/8.22 private final K key; 26.16/8.22 private final V value; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Creates an entry representing a mapping from the specified 26.16/8.22 * key to the specified value. 26.16/8.22 * 26.16/8.22 * @param key the key represented by this entry 26.16/8.22 * @param value the value represented by this entry 26.16/8.22 */ 26.16/8.22 public SimpleImmutableEntry(K key, V value) { 26.16/8.22 this.key = key; 26.16/8.22 this.value = value; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Creates an entry representing the same mapping as the 26.16/8.22 * specified entry. 26.16/8.22 * 26.16/8.22 * @param entry the entry to copy 26.16/8.22 */ 26.16/8.22 public SimpleImmutableEntry(Entry entry) { 26.16/8.22 this.key = entry.getKey(); 26.16/8.22 this.value = entry.getValue(); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the key corresponding to this entry. 26.16/8.22 * 26.16/8.22 * @return the key corresponding to this entry 26.16/8.22 */ 26.16/8.22 public K getKey() { 26.16/8.22 return key; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the value corresponding to this entry. 26.16/8.22 * 26.16/8.22 * @return the value corresponding to this entry 26.16/8.22 */ 26.16/8.22 public V getValue() { 26.16/8.22 return value; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Replaces the value corresponding to this entry with the specified 26.16/8.22 * value (optional operation). This implementation simply throws 26.16/8.22 * UnsupportedOperationException, as this class implements 26.16/8.22 * an immutable map entry. 26.16/8.22 * 26.16/8.22 * @param value new value to be stored in this entry 26.16/8.22 * @return (Does not return) 26.16/8.22 * @throws UnsupportedOperationException always 26.16/8.22 */ 26.16/8.22 public V setValue(V value) { 26.16/8.22 throw new UnsupportedOperationException(); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Compares the specified object with this entry for equality. 26.16/8.22 * Returns {@code true} if the given object is also a map entry and 26.16/8.22 * the two entries represent the same mapping. More formally, two 26.16/8.22 * entries {@code e1} and {@code e2} represent the same mapping 26.16/8.22 * if
26.16/8.22	         *   (e1.getKey()==null ?
26.16/8.22	         *    e2.getKey()==null :
26.16/8.22	         *    e1.getKey().equals(e2.getKey()))
26.16/8.22	         *   &&
26.16/8.22	         *   (e1.getValue()==null ?
26.16/8.22	         *    e2.getValue()==null :
26.16/8.22	         *    e1.getValue().equals(e2.getValue()))
26.16/8.22 * This ensures that the {@code equals} method works properly across 26.16/8.22 * different implementations of the {@code Map.Entry} interface. 26.16/8.22 * 26.16/8.22 * @param o object to be compared for equality with this map entry 26.16/8.22 * @return {@code true} if the specified object is equal to this map 26.16/8.22 * entry 26.16/8.22 * @see #hashCode 26.16/8.22 */ 26.16/8.22 public boolean equals(Object o) { 26.16/8.22 if (!(o instanceof Map.Entry)) 26.16/8.22 return false; 26.16/8.22 Map.Entry e = (Map.Entry)o; 26.16/8.22 return eq(key, e.getKey()) && eq(value, e.getValue()); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the hash code value for this map entry. The hash code 26.16/8.22 * of a map entry {@code e} is defined to be:
26.16/8.22	         *   (e.getKey()==null   ? 0 : e.getKey().hashCode()) ^
26.16/8.22	         *   (e.getValue()==null ? 0 : e.getValue().hashCode())
26.16/8.22 * This ensures that {@code e1.equals(e2)} implies that 26.16/8.22 * {@code e1.hashCode()==e2.hashCode()} for any two Entries 26.16/8.22 * {@code e1} and {@code e2}, as required by the general 26.16/8.22 * contract of {@link Object#hashCode}. 26.16/8.22 * 26.16/8.22 * @return the hash code value for this map entry 26.16/8.22 * @see #equals 26.16/8.22 */ 26.16/8.22 public int hashCode() { 26.16/8.22 return (key == null ? 0 : key.hashCode()) ^ 26.16/8.22 (value == null ? 0 : value.hashCode()); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns a String representation of this map entry. This 26.16/8.22 * implementation returns the string representation of this 26.16/8.22 * entry's key followed by the equals character ("=") 26.16/8.22 * followed by the string representation of this entry's value. 26.16/8.22 * 26.16/8.22 * @return a String representation of this map entry 26.16/8.22 */ 26.16/8.22 public String toString() { 26.16/8.22 return key + "=" + value; 26.16/8.22 } 26.16/8.22 26.16/8.22 } 26.16/8.22 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 /* 26.16/8.22 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.22 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.22 * 26.16/8.22 * This code is free software; you can redistribute it and/or modify it 26.16/8.22 * under the terms of the GNU General Public License version 2 only, as 26.16/8.22 * published by the Free Software Foundation. Sun designates this 26.16/8.22 * particular file as subject to the "Classpath" exception as provided 26.16/8.22 * by Sun in the LICENSE file that accompanied this code. 26.16/8.22 * 26.16/8.22 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.22 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.22 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.22 * accompanied this code). 26.16/8.22 * 26.16/8.22 * You should have received a copy of the GNU General Public License version 26.16/8.22 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.22 * 26.16/8.22 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.22 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.22 * have any questions. 26.16/8.22 */ 26.16/8.22 26.16/8.22 package javaUtilEx; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * This class provides a skeletal implementation of the Set 26.16/8.22 * interface to minimize the effort required to implement this 26.16/8.22 * interface.

26.16/8.22 * 26.16/8.22 * The process of implementing a set by extending this class is identical 26.16/8.22 * to that of implementing a Collection by extending AbstractCollection, 26.16/8.22 * except that all of the methods and constructors in subclasses of this 26.16/8.22 * class must obey the additional constraints imposed by the Set 26.16/8.22 * interface (for instance, the add method must not permit addition of 26.16/8.22 * multiple instances of an object to a set).

26.16/8.22 * 26.16/8.22 * Note that this class does not override any of the implementations from 26.16/8.22 * the AbstractCollection class. It merely adds implementations 26.16/8.22 * for equals and hashCode.

26.16/8.22 * 26.16/8.22 * This class is a member of the 26.16/8.22 * 26.16/8.22 * Java Collections Framework. 26.16/8.22 * 26.16/8.22 * @param the type of elements maintained by this set 26.16/8.22 * 26.16/8.22 * @author Josh Bloch 26.16/8.22 * @author Neal Gafter 26.16/8.22 * @see Collection 26.16/8.22 * @see AbstractCollection 26.16/8.22 * @see Set 26.16/8.22 * @since 1.2 26.16/8.22 */ 26.16/8.22 26.16/8.22 public abstract class AbstractSet extends AbstractCollection implements Set { 26.16/8.22 /** 26.16/8.22 * Sole constructor. (For invocation by subclass constructors, typically 26.16/8.22 * implicit.) 26.16/8.22 */ 26.16/8.22 protected AbstractSet() { 26.16/8.22 } 26.16/8.22 26.16/8.22 // Comparison and hashing 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Compares the specified object with this set for equality. Returns 26.16/8.22 * true if the given object is also a set, the two sets have 26.16/8.22 * the same size, and every member of the given set is contained in 26.16/8.22 * this set. This ensures that the equals method works 26.16/8.22 * properly across different implementations of the Set 26.16/8.22 * interface.

26.16/8.22 * 26.16/8.22 * This implementation first checks if the specified object is this 26.16/8.22 * set; if so it returns true. Then, it checks if the 26.16/8.22 * specified object is a set whose size is identical to the size of 26.16/8.22 * this set; if not, it returns false. If so, it returns 26.16/8.22 * containsAll((Collection) o). 26.16/8.22 * 26.16/8.22 * @param o object to be compared for equality with this set 26.16/8.22 * @return true if the specified object is equal to this set 26.16/8.22 */ 26.16/8.22 public boolean equals(Object o) { 26.16/8.22 if (o == this) 26.16/8.22 return true; 26.16/8.22 26.16/8.22 if (!(o instanceof Set)) 26.16/8.22 return false; 26.16/8.22 Collection c = (Collection) o; 26.16/8.22 if (c.size() != size()) 26.16/8.22 return false; 26.16/8.22 try { 26.16/8.22 return containsAll(c); 26.16/8.22 } catch (ClassCastException unused) { 26.16/8.22 return false; 26.16/8.22 } catch (NullPointerException unused) { 26.16/8.22 return false; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the hash code value for this set. The hash code of a set is 26.16/8.22 * defined to be the sum of the hash codes of the elements in the set, 26.16/8.22 * where the hash code of a null element is defined to be zero. 26.16/8.22 * This ensures that s1.equals(s2) implies that 26.16/8.22 * s1.hashCode()==s2.hashCode() for any two sets s1 26.16/8.22 * and s2, as required by the general contract of 26.16/8.22 * {@link Object#hashCode}. 26.16/8.22 * 26.16/8.22 *

This implementation iterates over the set, calling the 26.16/8.22 * hashCode method on each element in the set, and adding up 26.16/8.22 * the results. 26.16/8.22 * 26.16/8.22 * @return the hash code value for this set 26.16/8.22 * @see Object#equals(Object) 26.16/8.22 * @see Set#equals(Object) 26.16/8.22 */ 26.16/8.22 public int hashCode() { 26.16/8.22 int h = 0; 26.16/8.22 Iterator i = iterator(); 26.16/8.22 while (i.hasNext()) { 26.16/8.22 E obj = i.next(); 26.16/8.22 if (obj != null) 26.16/8.22 h += obj.hashCode(); 26.16/8.22 } 26.16/8.22 return h; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Removes from this set all of its elements that are contained in the 26.16/8.22 * specified collection (optional operation). If the specified 26.16/8.22 * collection is also a set, this operation effectively modifies this 26.16/8.22 * set so that its value is the asymmetric set difference of 26.16/8.22 * the two sets. 26.16/8.22 * 26.16/8.22 *

This implementation determines which is the smaller of this set 26.16/8.22 * and the specified collection, by invoking the size 26.16/8.22 * method on each. If this set has fewer elements, then the 26.16/8.22 * implementation iterates over this set, checking each element 26.16/8.22 * returned by the iterator in turn to see if it is contained in 26.16/8.22 * the specified collection. If it is so contained, it is removed 26.16/8.22 * from this set with the iterator's remove method. If 26.16/8.22 * the specified collection has fewer elements, then the 26.16/8.22 * implementation iterates over the specified collection, removing 26.16/8.22 * from this set each element returned by the iterator, using this 26.16/8.22 * set's remove method. 26.16/8.22 * 26.16/8.22 *

Note that this implementation will throw an 26.16/8.22 * UnsupportedOperationException if the iterator returned by the 26.16/8.22 * iterator method does not implement the remove method. 26.16/8.22 * 26.16/8.22 * @param c collection containing elements to be removed from this set 26.16/8.22 * @return true if this set changed as a result of the call 26.16/8.22 * @throws UnsupportedOperationException if the removeAll operation 26.16/8.22 * is not supported by this set 26.16/8.22 * @throws ClassCastException if the class of an element of this set 26.16/8.22 * is incompatible with the specified collection (optional) 26.16/8.22 * @throws NullPointerException if this set contains a null element and the 26.16/8.22 * specified collection does not permit null elements (optional), 26.16/8.22 * or if the specified collection is null 26.16/8.22 * @see #remove(Object) 26.16/8.22 * @see #contains(Object) 26.16/8.22 */ 26.16/8.22 public boolean removeAll(Collection c) { 26.16/8.22 boolean modified = false; 26.16/8.22 26.16/8.22 if (size() > c.size()) { 26.16/8.22 for (Iterator i = c.iterator(); i.hasNext(); ) 26.16/8.22 modified |= remove(i.next()); 26.16/8.22 } else { 26.16/8.22 for (Iterator i = iterator(); i.hasNext(); ) { 26.16/8.22 if (c.contains(i.next())) { 26.16/8.22 i.remove(); 26.16/8.22 modified = true; 26.16/8.22 } 26.16/8.22 } 26.16/8.22 } 26.16/8.22 return modified; 26.16/8.22 } 26.16/8.22 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 /* 26.16/8.22 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.22 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.22 * 26.16/8.22 * This code is free software; you can redistribute it and/or modify it 26.16/8.22 * under the terms of the GNU General Public License version 2 only, as 26.16/8.22 * published by the Free Software Foundation. Sun designates this 26.16/8.22 * particular file as subject to the "Classpath" exception as provided 26.16/8.22 * by Sun in the LICENSE file that accompanied this code. 26.16/8.22 * 26.16/8.22 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.22 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.22 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.22 * accompanied this code). 26.16/8.22 * 26.16/8.22 * You should have received a copy of the GNU General Public License version 26.16/8.22 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.22 * 26.16/8.22 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.22 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.22 * have any questions. 26.16/8.22 */ 26.16/8.22 26.16/8.22 package javaUtilEx; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The root interface in the collection hierarchy. A collection 26.16/8.22 * represents a group of objects, known as its elements. Some 26.16/8.22 * collections allow duplicate elements and others do not. Some are ordered 26.16/8.22 * and others unordered. The JDK does not provide any direct 26.16/8.22 * implementations of this interface: it provides implementations of more 26.16/8.22 * specific subinterfaces like Set and List. This interface 26.16/8.22 * is typically used to pass collections around and manipulate them where 26.16/8.22 * maximum generality is desired. 26.16/8.22 * 26.16/8.22 *

Bags or multisets (unordered collections that may contain 26.16/8.22 * duplicate elements) should implement this interface directly. 26.16/8.22 * 26.16/8.22 *

All general-purpose Collection implementation classes (which 26.16/8.22 * typically implement Collection indirectly through one of its 26.16/8.22 * subinterfaces) should provide two "standard" constructors: a void (no 26.16/8.22 * arguments) constructor, which creates an empty collection, and a 26.16/8.22 * constructor with a single argument of type Collection, which 26.16/8.22 * creates a new collection with the same elements as its argument. In 26.16/8.22 * effect, the latter constructor allows the user to copy any collection, 26.16/8.22 * producing an equivalent collection of the desired implementation type. 26.16/8.22 * There is no way to enforce this convention (as interfaces cannot contain 26.16/8.22 * constructors) but all of the general-purpose Collection 26.16/8.22 * implementations in the Java platform libraries comply. 26.16/8.22 * 26.16/8.22 *

The "destructive" methods contained in this interface, that is, the 26.16/8.22 * methods that modify the collection on which they operate, are specified to 26.16/8.22 * throw UnsupportedOperationException if this collection does not 26.16/8.22 * support the operation. If this is the case, these methods may, but are not 26.16/8.22 * required to, throw an UnsupportedOperationException if the 26.16/8.22 * invocation would have no effect on the collection. For example, invoking 26.16/8.22 * the {@link #addAll(Collection)} method on an unmodifiable collection may, 26.16/8.22 * but is not required to, throw the exception if the collection to be added 26.16/8.22 * is empty. 26.16/8.22 * 26.16/8.22 *

Some collection implementations have restrictions on the elements that 26.16/8.22 * they may contain. For example, some implementations prohibit null elements, 26.16/8.22 * and some have restrictions on the types of their elements. Attempting to 26.16/8.22 * add an ineligible element throws an unchecked exception, typically 26.16/8.22 * NullPointerException or ClassCastException. Attempting 26.16/8.22 * to query the presence of an ineligible element may throw an exception, 26.16/8.22 * or it may simply return false; some implementations will exhibit the former 26.16/8.22 * behavior and some will exhibit the latter. More generally, attempting an 26.16/8.22 * operation on an ineligible element whose completion would not result in 26.16/8.22 * the insertion of an ineligible element into the collection may throw an 26.16/8.22 * exception or it may succeed, at the option of the implementation. 26.16/8.22 * Such exceptions are marked as "optional" in the specification for this 26.16/8.22 * interface. 26.16/8.22 * 26.16/8.22 *

It is up to each collection to determine its own synchronization 26.16/8.22 * policy. In the absence of a stronger guarantee by the 26.16/8.22 * implementation, undefined behavior may result from the invocation 26.16/8.22 * of any method on a collection that is being mutated by another 26.16/8.22 * thread; this includes direct invocations, passing the collection to 26.16/8.22 * a method that might perform invocations, and using an existing 26.16/8.22 * iterator to examine the collection. 26.16/8.22 * 26.16/8.22 *

Many methods in Collections Framework interfaces are defined in 26.16/8.22 * terms of the {@link Object#equals(Object) equals} method. For example, 26.16/8.22 * the specification for the {@link #contains(Object) contains(Object o)} 26.16/8.22 * method says: "returns true if and only if this collection 26.16/8.22 * contains at least one element e such that 26.16/8.22 * (o==null ? e==null : o.equals(e))." This specification should 26.16/8.22 * not be construed to imply that invoking Collection.contains 26.16/8.22 * with a non-null argument o will cause o.equals(e) to be 26.16/8.22 * invoked for any element e. Implementations are free to implement 26.16/8.22 * optimizations whereby the equals invocation is avoided, for 26.16/8.22 * example, by first comparing the hash codes of the two elements. (The 26.16/8.22 * {@link Object#hashCode()} specification guarantees that two objects with 26.16/8.22 * unequal hash codes cannot be equal.) More generally, implementations of 26.16/8.22 * the various Collections Framework interfaces are free to take advantage of 26.16/8.22 * the specified behavior of underlying {@link Object} methods wherever the 26.16/8.22 * implementor deems it appropriate. 26.16/8.22 * 26.16/8.22 *

This interface is a member of the 26.16/8.22 * 26.16/8.22 * Java Collections Framework. 26.16/8.22 * 26.16/8.22 * @author Josh Bloch 26.16/8.22 * @author Neal Gafter 26.16/8.22 * @see Set 26.16/8.22 * @see List 26.16/8.22 * @see Map 26.16/8.22 * @see SortedSet 26.16/8.22 * @see SortedMap 26.16/8.22 * @see HashSet 26.16/8.22 * @see TreeSet 26.16/8.22 * @see ArrayList 26.16/8.22 * @see LinkedList 26.16/8.22 * @see Vector 26.16/8.22 * @see Collections 26.16/8.22 * @see Arrays 26.16/8.22 * @see AbstractCollection 26.16/8.22 * @since 1.2 26.16/8.22 */ 26.16/8.22 26.16/8.22 public interface Collection { 26.16/8.22 // Query Operations 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the number of elements in this collection. If this collection 26.16/8.22 * contains more than Integer.MAX_VALUE elements, returns 26.16/8.22 * Integer.MAX_VALUE. 26.16/8.22 * 26.16/8.22 * @return the number of elements in this collection 26.16/8.22 */ 26.16/8.22 int size(); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns true if this collection contains no elements. 26.16/8.22 * 26.16/8.22 * @return true if this collection contains no elements 26.16/8.22 */ 26.16/8.22 boolean isEmpty(); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns true if this collection contains the specified element. 26.16/8.22 * More formally, returns true if and only if this collection 26.16/8.22 * contains at least one element e such that 26.16/8.22 * (o==null ? e==null : o.equals(e)). 26.16/8.22 * 26.16/8.22 * @param o element whose presence in this collection is to be tested 26.16/8.22 * @return true if this collection contains the specified 26.16/8.22 * element 26.16/8.22 * @throws ClassCastException if the type of the specified element 26.16/8.22 * is incompatible with this collection (optional) 26.16/8.22 * @throws NullPointerException if the specified element is null and this 26.16/8.22 * collection does not permit null elements (optional) 26.16/8.22 */ 26.16/8.22 boolean contains(Object o); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns an iterator over the elements in this collection. There are no 26.16/8.22 * guarantees concerning the order in which the elements are returned 26.16/8.22 * (unless this collection is an instance of some class that provides a 26.16/8.22 * guarantee). 26.16/8.22 * 26.16/8.22 * @return an Iterator over the elements in this collection 26.16/8.22 */ 26.16/8.22 Iterator iterator(); 26.16/8.22 26.16/8.22 // Modification Operations 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Ensures that this collection contains the specified element (optional 26.16/8.22 * operation). Returns true if this collection changed as a 26.16/8.22 * result of the call. (Returns false if this collection does 26.16/8.22 * not permit duplicates and already contains the specified element.)

26.16/8.22 * 26.16/8.22 * Collections that support this operation may place limitations on what 26.16/8.22 * elements may be added to this collection. In particular, some 26.16/8.22 * collections will refuse to add null elements, and others will 26.16/8.22 * impose restrictions on the type of elements that may be added. 26.16/8.22 * Collection classes should clearly specify in their documentation any 26.16/8.22 * restrictions on what elements may be added.

26.16/8.22 * 26.16/8.22 * If a collection refuses to add a particular element for any reason 26.16/8.22 * other than that it already contains the element, it must throw 26.16/8.22 * an exception (rather than returning false). This preserves 26.16/8.22 * the invariant that a collection always contains the specified element 26.16/8.22 * after this call returns. 26.16/8.22 * 26.16/8.22 * @param e element whose presence in this collection is to be ensured 26.16/8.22 * @return true if this collection changed as a result of the 26.16/8.22 * call 26.16/8.22 * @throws UnsupportedOperationException if the add operation 26.16/8.22 * is not supported by this collection 26.16/8.22 * @throws ClassCastException if the class of the specified element 26.16/8.22 * prevents it from being added to this collection 26.16/8.22 * @throws NullPointerException if the specified element is null and this 26.16/8.22 * collection does not permit null elements 26.16/8.22 * @throws IllegalArgumentException if some property of the element 26.16/8.22 * prevents it from being added to this collection 26.16/8.22 * @throws IllegalStateException if the element cannot be added at this 26.16/8.22 * time due to insertion restrictions 26.16/8.22 */ 26.16/8.22 boolean add(E e); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Removes a single instance of the specified element from this 26.16/8.22 * collection, if it is present (optional operation). More formally, 26.16/8.22 * removes an element e such that 26.16/8.22 * (o==null ? e==null : o.equals(e)), if 26.16/8.22 * this collection contains one or more such elements. Returns 26.16/8.22 * true if this collection contained the specified element (or 26.16/8.22 * equivalently, if this collection changed as a result of the call). 26.16/8.22 * 26.16/8.22 * @param o element to be removed from this collection, if present 26.16/8.22 * @return true if an element was removed as a result of this call 26.16/8.22 * @throws ClassCastException if the type of the specified element 26.16/8.22 * is incompatible with this collection (optional) 26.16/8.22 * @throws NullPointerException if the specified element is null and this 26.16/8.22 * collection does not permit null elements (optional) 26.16/8.22 * @throws UnsupportedOperationException if the remove operation 26.16/8.22 * is not supported by this collection 26.16/8.22 */ 26.16/8.22 boolean remove(Object o); 26.16/8.22 26.16/8.22 26.16/8.22 // Bulk Operations 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns true if this collection contains all of the elements 26.16/8.22 * in the specified collection. 26.16/8.22 * 26.16/8.22 * @param c collection to be checked for containment in this collection 26.16/8.22 * @return true if this collection contains all of the elements 26.16/8.22 * in the specified collection 26.16/8.22 * @throws ClassCastException if the types of one or more elements 26.16/8.22 * in the specified collection are incompatible with this 26.16/8.22 * collection (optional) 26.16/8.22 * @throws NullPointerException if the specified collection contains one 26.16/8.22 * or more null elements and this collection does not permit null 26.16/8.22 * elements (optional), or if the specified collection is null 26.16/8.22 * @see #contains(Object) 26.16/8.22 */ 26.16/8.22 boolean containsAll(Collection c); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Adds all of the elements in the specified collection to this collection 26.16/8.22 * (optional operation). The behavior of this operation is undefined if 26.16/8.22 * the specified collection is modified while the operation is in progress. 26.16/8.22 * (This implies that the behavior of this call is undefined if the 26.16/8.22 * specified collection is this collection, and this collection is 26.16/8.22 * nonempty.) 26.16/8.22 * 26.16/8.22 * @param c collection containing elements to be added to this collection 26.16/8.22 * @return true if this collection changed as a result of the call 26.16/8.22 * @throws UnsupportedOperationException if the addAll operation 26.16/8.22 * is not supported by this collection 26.16/8.22 * @throws ClassCastException if the class of an element of the specified 26.16/8.22 * collection prevents it from being added to this collection 26.16/8.22 * @throws NullPointerException if the specified collection contains a 26.16/8.22 * null element and this collection does not permit null elements, 26.16/8.22 * or if the specified collection is null 26.16/8.22 * @throws IllegalArgumentException if some property of an element of the 26.16/8.22 * specified collection prevents it from being added to this 26.16/8.22 * collection 26.16/8.22 * @throws IllegalStateException if not all the elements can be added at 26.16/8.22 * this time due to insertion restrictions 26.16/8.22 * @see #add(Object) 26.16/8.22 */ 26.16/8.22 boolean addAll(Collection c); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Removes all of this collection's elements that are also contained in the 26.16/8.22 * specified collection (optional operation). After this call returns, 26.16/8.22 * this collection will contain no elements in common with the specified 26.16/8.22 * collection. 26.16/8.22 * 26.16/8.22 * @param c collection containing elements to be removed from this collection 26.16/8.22 * @return true if this collection changed as a result of the 26.16/8.22 * call 26.16/8.22 * @throws UnsupportedOperationException if the removeAll method 26.16/8.22 * is not supported by this collection 26.16/8.22 * @throws ClassCastException if the types of one or more elements 26.16/8.22 * in this collection are incompatible with the specified 26.16/8.22 * collection (optional) 26.16/8.22 * @throws NullPointerException if this collection contains one or more 26.16/8.22 * null elements and the specified collection does not support 26.16/8.22 * null elements (optional), or if the specified collection is null 26.16/8.22 * @see #remove(Object) 26.16/8.22 * @see #contains(Object) 26.16/8.22 */ 26.16/8.22 boolean removeAll(Collection c); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Retains only the elements in this collection that are contained in the 26.16/8.22 * specified collection (optional operation). In other words, removes from 26.16/8.22 * this collection all of its elements that are not contained in the 26.16/8.22 * specified collection. 26.16/8.22 * 26.16/8.22 * @param c collection containing elements to be retained in this collection 26.16/8.22 * @return true if this collection changed as a result of the call 26.16/8.22 * @throws UnsupportedOperationException if the retainAll operation 26.16/8.22 * is not supported by this collection 26.16/8.22 * @throws ClassCastException if the types of one or more elements 26.16/8.22 * in this collection are incompatible with the specified 26.16/8.22 * collection (optional) 26.16/8.22 * @throws NullPointerException if this collection contains one or more 26.16/8.22 * null elements and the specified collection does not permit null 26.16/8.22 * elements (optional), or if the specified collection is null 26.16/8.22 * @see #remove(Object) 26.16/8.22 * @see #contains(Object) 26.16/8.22 */ 26.16/8.22 boolean retainAll(Collection c); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Removes all of the elements from this collection (optional operation). 26.16/8.22 * The collection will be empty after this method returns. 26.16/8.22 * 26.16/8.22 * @throws UnsupportedOperationException if the clear operation 26.16/8.22 * is not supported by this collection 26.16/8.22 */ 26.16/8.22 void clear(); 26.16/8.22 26.16/8.22 26.16/8.22 // Comparison and hashing 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Compares the specified object with this collection for equality.

26.16/8.22 * 26.16/8.22 * While the Collection interface adds no stipulations to the 26.16/8.22 * general contract for the Object.equals, programmers who 26.16/8.22 * implement the Collection interface "directly" (in other words, 26.16/8.22 * create a class that is a Collection but is not a Set 26.16/8.22 * or a List) must exercise care if they choose to override the 26.16/8.22 * Object.equals. It is not necessary to do so, and the simplest 26.16/8.22 * course of action is to rely on Object's implementation, but 26.16/8.22 * the implementor may wish to implement a "value comparison" in place of 26.16/8.22 * the default "reference comparison." (The List and 26.16/8.22 * Set interfaces mandate such value comparisons.)

26.16/8.22 * 26.16/8.22 * The general contract for the Object.equals method states that 26.16/8.22 * equals must be symmetric (in other words, a.equals(b) if and 26.16/8.22 * only if b.equals(a)). The contracts for List.equals 26.16/8.22 * and Set.equals state that lists are only equal to other lists, 26.16/8.22 * and sets to other sets. Thus, a custom equals method for a 26.16/8.22 * collection class that implements neither the List nor 26.16/8.22 * Set interface must return false when this collection 26.16/8.22 * is compared to any list or set. (By the same logic, it is not possible 26.16/8.22 * to write a class that correctly implements both the Set and 26.16/8.22 * List interfaces.) 26.16/8.22 * 26.16/8.22 * @param o object to be compared for equality with this collection 26.16/8.22 * @return true if the specified object is equal to this 26.16/8.22 * collection 26.16/8.22 * 26.16/8.22 * @see Object#equals(Object) 26.16/8.22 * @see Set#equals(Object) 26.16/8.22 * @see List#equals(Object) 26.16/8.22 */ 26.16/8.22 boolean equals(Object o); 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the hash code value for this collection. While the 26.16/8.22 * Collection interface adds no stipulations to the general 26.16/8.22 * contract for the Object.hashCode method, programmers should 26.16/8.22 * take note that any class that overrides the Object.equals 26.16/8.22 * method must also override the Object.hashCode method in order 26.16/8.22 * to satisfy the general contract for the Object.hashCodemethod. 26.16/8.22 * In particular, c1.equals(c2) implies that 26.16/8.22 * c1.hashCode()==c2.hashCode(). 26.16/8.22 * 26.16/8.22 * @return the hash code value for this collection 26.16/8.22 * 26.16/8.22 * @see Object#hashCode() 26.16/8.22 * @see Object#equals(Object) 26.16/8.22 */ 26.16/8.22 int hashCode(); 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 /* 26.16/8.22 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.22 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.22 * 26.16/8.22 * This code is free software; you can redistribute it and/or modify it 26.16/8.22 * under the terms of the GNU General Public License version 2 only, as 26.16/8.22 * published by the Free Software Foundation. Sun designates this 26.16/8.22 * particular file as subject to the "Classpath" exception as provided 26.16/8.22 * by Sun in the LICENSE file that accompanied this code. 26.16/8.22 * 26.16/8.22 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.22 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.22 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.22 * accompanied this code). 26.16/8.22 * 26.16/8.22 * You should have received a copy of the GNU General Public License version 26.16/8.22 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.22 * 26.16/8.22 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.22 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.22 * have any questions. 26.16/8.22 */ 26.16/8.22 26.16/8.22 package javaUtilEx; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * This exception may be thrown by methods that have detected concurrent 26.16/8.22 * modification of an object when such modification is not permissible. 26.16/8.22 *

26.16/8.22 * For example, it is not generally permissible for one thread to modify a Collection 26.16/8.22 * while another thread is iterating over it. In general, the results of the 26.16/8.22 * iteration are undefined under these circumstances. Some Iterator 26.16/8.22 * implementations (including those of all the general purpose collection implementations 26.16/8.22 * provided by the JRE) may choose to throw this exception if this behavior is 26.16/8.22 * detected. Iterators that do this are known as fail-fast iterators, 26.16/8.22 * as they fail quickly and cleanly, rather that risking arbitrary, 26.16/8.22 * non-deterministic behavior at an undetermined time in the future. 26.16/8.22 *

26.16/8.22 * Note that this exception does not always indicate that an object has 26.16/8.22 * been concurrently modified by a different thread. If a single 26.16/8.22 * thread issues a sequence of method invocations that violates the 26.16/8.22 * contract of an object, the object may throw this exception. For 26.16/8.22 * example, if a thread modifies a collection directly while it is 26.16/8.22 * iterating over the collection with a fail-fast iterator, the iterator 26.16/8.22 * will throw this exception. 26.16/8.22 * 26.16/8.22 *

Note that fail-fast behavior cannot be guaranteed as it is, generally 26.16/8.22 * speaking, impossible to make any hard guarantees in the presence of 26.16/8.22 * unsynchronized concurrent modification. Fail-fast operations 26.16/8.22 * throw ConcurrentModificationException on a best-effort basis. 26.16/8.22 * Therefore, it would be wrong to write a program that depended on this 26.16/8.22 * exception for its correctness: ConcurrentModificationException 26.16/8.22 * should be used only to detect bugs. 26.16/8.22 * 26.16/8.22 * @author Josh Bloch 26.16/8.22 * @see Collection 26.16/8.22 * @see Iterator 26.16/8.22 * @see ListIterator 26.16/8.22 * @see Vector 26.16/8.22 * @see LinkedList 26.16/8.22 * @see HashSet 26.16/8.22 * @see Hashtable 26.16/8.22 * @see TreeMap 26.16/8.22 * @see AbstractList 26.16/8.22 * @since 1.2 26.16/8.22 */ 26.16/8.22 public class ConcurrentModificationException extends RuntimeException { 26.16/8.22 /** 26.16/8.22 * Constructs a ConcurrentModificationException with no 26.16/8.22 * detail message. 26.16/8.22 */ 26.16/8.22 public ConcurrentModificationException() { 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Constructs a ConcurrentModificationException with the 26.16/8.22 * specified detail message. 26.16/8.22 * 26.16/8.22 * @param message the detail message pertaining to this exception. 26.16/8.22 */ 26.16/8.22 public ConcurrentModificationException(String message) { 26.16/8.22 super(message); 26.16/8.22 } 26.16/8.22 } 26.16/8.22 26.16/8.22 26.16/8.22 /* 26.16/8.22 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.22 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.22 * 26.16/8.22 * This code is free software; you can redistribute it and/or modify it 26.16/8.22 * under the terms of the GNU General Public License version 2 only, as 26.16/8.22 * published by the Free Software Foundation. Sun designates this 26.16/8.22 * particular file as subject to the "Classpath" exception as provided 26.16/8.22 * by Sun in the LICENSE file that accompanied this code. 26.16/8.22 * 26.16/8.22 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.22 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.22 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.22 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.22 * accompanied this code). 26.16/8.22 * 26.16/8.22 * You should have received a copy of the GNU General Public License version 26.16/8.22 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.22 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.22 * 26.16/8.22 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.22 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.22 * have any questions. 26.16/8.22 */ 26.16/8.22 26.16/8.22 package javaUtilEx; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Hash table based implementation of the Map interface. This 26.16/8.22 * implementation provides all of the optional map operations, and permits 26.16/8.22 * null values and the null key. (The HashMap 26.16/8.22 * class is roughly equivalent to Hashtable, except that it is 26.16/8.22 * unsynchronized and permits nulls.) This class makes no guarantees as to 26.16/8.22 * the order of the map; in particular, it does not guarantee that the order 26.16/8.22 * will remain constant over time. 26.16/8.22 * 26.16/8.22 *

This implementation provides constant-time performance for the basic 26.16/8.22 * operations (get and put), assuming the hash function 26.16/8.22 * disperses the elements properly among the buckets. Iteration over 26.16/8.22 * collection views requires time proportional to the "capacity" of the 26.16/8.22 * HashMap instance (the number of buckets) plus its size (the number 26.16/8.22 * of key-value mappings). Thus, it's very important not to set the initial 26.16/8.22 * capacity too high (or the load factor too low) if iteration performance is 26.16/8.22 * important. 26.16/8.22 * 26.16/8.22 *

An instance of HashMap has two parameters that affect its 26.16/8.22 * performance: initial capacity and load factor. The 26.16/8.22 * capacity is the number of buckets in the hash table, and the initial 26.16/8.22 * capacity is simply the capacity at the time the hash table is created. The 26.16/8.22 * load factor is a measure of how full the hash table is allowed to 26.16/8.22 * get before its capacity is automatically increased. When the number of 26.16/8.22 * entries in the hash table exceeds the product of the load factor and the 26.16/8.22 * current capacity, the hash table is rehashed (that is, internal data 26.16/8.22 * structures are rebuilt) so that the hash table has approximately twice the 26.16/8.22 * number of buckets. 26.16/8.22 * 26.16/8.22 *

As a general rule, the default load factor (.75) offers a good tradeoff 26.16/8.22 * between time and space costs. Higher values decrease the space overhead 26.16/8.22 * but increase the lookup cost (reflected in most of the operations of the 26.16/8.22 * HashMap class, including get and put). The 26.16/8.22 * expected number of entries in the map and its load factor should be taken 26.16/8.22 * into account when setting its initial capacity, so as to minimize the 26.16/8.22 * number of rehash operations. If the initial capacity is greater 26.16/8.22 * than the maximum number of entries divided by the load factor, no 26.16/8.22 * rehash operations will ever occur. 26.16/8.22 * 26.16/8.22 *

If many mappings are to be stored in a HashMap instance, 26.16/8.22 * creating it with a sufficiently large capacity will allow the mappings to 26.16/8.22 * be stored more efficiently than letting it perform automatic rehashing as 26.16/8.22 * needed to grow the table. 26.16/8.22 * 26.16/8.22 *

Note that this implementation is not synchronized. 26.16/8.22 * If multiple threads access a hash map concurrently, and at least one of 26.16/8.22 * the threads modifies the map structurally, it must be 26.16/8.22 * synchronized externally. (A structural modification is any operation 26.16/8.22 * that adds or deletes one or more mappings; merely changing the value 26.16/8.22 * associated with a key that an instance already contains is not a 26.16/8.22 * structural modification.) This is typically accomplished by 26.16/8.22 * synchronizing on some object that naturally encapsulates the map. 26.16/8.22 * 26.16/8.22 * If no such object exists, the map should be "wrapped" using the 26.16/8.22 * {@link Collections#synchronizedMap Collections.synchronizedMap} 26.16/8.22 * method. This is best done at creation time, to prevent accidental 26.16/8.22 * unsynchronized access to the map:

26.16/8.22	 *   Map m = Collections.synchronizedMap(new HashMap(...));
26.16/8.22 * 26.16/8.22 *

The iterators returned by all of this class's "collection view methods" 26.16/8.22 * are fail-fast: if the map is structurally modified at any time after 26.16/8.22 * the iterator is created, in any way except through the iterator's own 26.16/8.22 * remove method, the iterator will throw a 26.16/8.22 * {@link ConcurrentModificationException}. Thus, in the face of concurrent 26.16/8.22 * modification, the iterator fails quickly and cleanly, rather than risking 26.16/8.22 * arbitrary, non-deterministic behavior at an undetermined time in the 26.16/8.22 * future. 26.16/8.22 * 26.16/8.22 *

Note that the fail-fast behavior of an iterator cannot be guaranteed 26.16/8.22 * as it is, generally speaking, impossible to make any hard guarantees in the 26.16/8.22 * presence of unsynchronized concurrent modification. Fail-fast iterators 26.16/8.22 * throw ConcurrentModificationException on a best-effort basis. 26.16/8.22 * Therefore, it would be wrong to write a program that depended on this 26.16/8.22 * exception for its correctness: the fail-fast behavior of iterators 26.16/8.22 * should be used only to detect bugs. 26.16/8.22 * 26.16/8.22 *

This class is a member of the 26.16/8.22 * 26.16/8.22 * Java Collections Framework. 26.16/8.22 * 26.16/8.22 * @param the type of keys maintained by this map 26.16/8.22 * @param the type of mapped values 26.16/8.22 * 26.16/8.22 * @author Doug Lea 26.16/8.22 * @author Josh Bloch 26.16/8.22 * @author Arthur van Hoff 26.16/8.22 * @author Neal Gafter 26.16/8.22 * @see Object#hashCode() 26.16/8.22 * @see Collection 26.16/8.22 * @see Map 26.16/8.22 * @see TreeMap 26.16/8.22 * @see Hashtable 26.16/8.22 * @since 1.2 26.16/8.22 */ 26.16/8.22 26.16/8.22 public class HashMap 26.16/8.22 extends AbstractMap 26.16/8.22 implements Map, Cloneable 26.16/8.22 { 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The default initial capacity - MUST be a power of two. 26.16/8.22 */ 26.16/8.22 static final int DEFAULT_INITIAL_CAPACITY = 16; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The maximum capacity, used if a higher value is implicitly specified 26.16/8.22 * by either of the constructors with arguments. 26.16/8.22 * MUST be a power of two <= 1<<30. 26.16/8.22 */ 26.16/8.22 static final int MAXIMUM_CAPACITY = 1 << 30; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The load factor used when none specified in constructor. 26.16/8.22 */ 26.16/8.22 static final float DEFAULT_LOAD_FACTOR = 0.75f; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The table, resized as necessary. Length MUST Always be a power of two. 26.16/8.22 */ 26.16/8.22 transient Entry[] table; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The number of key-value mappings contained in this map. 26.16/8.22 */ 26.16/8.22 transient int size; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The next size value at which to resize (capacity * load factor). 26.16/8.22 * @serial 26.16/8.22 */ 26.16/8.22 int threshold; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The load factor for the hash table. 26.16/8.22 * 26.16/8.22 * @serial 26.16/8.22 */ 26.16/8.22 final float loadFactor; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * The number of times this HashMap has been structurally modified 26.16/8.22 * Structural modifications are those that change the number of mappings in 26.16/8.22 * the HashMap or otherwise modify its internal structure (e.g., 26.16/8.22 * rehash). This field is used to make iterators on Collection-views of 26.16/8.22 * the HashMap fail-fast. (See ConcurrentModificationException). 26.16/8.22 */ 26.16/8.22 transient volatile int modCount; 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Constructs an empty HashMap with the specified initial 26.16/8.22 * capacity and load factor. 26.16/8.22 * 26.16/8.22 * @param initialCapacity the initial capacity 26.16/8.22 * @param loadFactor the load factor 26.16/8.22 * @throws IllegalArgumentException if the initial capacity is negative 26.16/8.22 * or the load factor is nonpositive 26.16/8.22 */ 26.16/8.22 public HashMap(int initialCapacity, float loadFactor) { 26.16/8.22 if (initialCapacity < 0) 26.16/8.22 throw new IllegalArgumentException("Illegal initial capacity: " + 26.16/8.22 initialCapacity); 26.16/8.22 if (initialCapacity > MAXIMUM_CAPACITY) 26.16/8.22 initialCapacity = MAXIMUM_CAPACITY; 26.16/8.22 if (loadFactor <= 0 || Float.isNaN(loadFactor)) 26.16/8.22 throw new IllegalArgumentException("Illegal load factor: " + 26.16/8.22 loadFactor); 26.16/8.22 26.16/8.22 // Find a power of 2 >= initialCapacity 26.16/8.22 int capacity = 1; 26.16/8.22 while (capacity < initialCapacity) 26.16/8.22 capacity <<= 1; 26.16/8.22 26.16/8.22 this.loadFactor = loadFactor; 26.16/8.22 threshold = (int)(capacity * loadFactor); 26.16/8.22 table = new Entry[capacity]; 26.16/8.22 init(); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Constructs an empty HashMap with the specified initial 26.16/8.22 * capacity and the default load factor (0.75). 26.16/8.22 * 26.16/8.22 * @param initialCapacity the initial capacity. 26.16/8.22 * @throws IllegalArgumentException if the initial capacity is negative. 26.16/8.22 */ 26.16/8.22 public HashMap(int initialCapacity) { 26.16/8.22 this(initialCapacity, DEFAULT_LOAD_FACTOR); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Constructs an empty HashMap with the default initial capacity 26.16/8.22 * (16) and the default load factor (0.75). 26.16/8.22 */ 26.16/8.22 public HashMap() { 26.16/8.22 this.loadFactor = DEFAULT_LOAD_FACTOR; 26.16/8.22 threshold = (int)(DEFAULT_INITIAL_CAPACITY * DEFAULT_LOAD_FACTOR); 26.16/8.22 table = new Entry[DEFAULT_INITIAL_CAPACITY]; 26.16/8.22 init(); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Constructs a new HashMap with the same mappings as the 26.16/8.22 * specified Map. The HashMap is created with 26.16/8.22 * default load factor (0.75) and an initial capacity sufficient to 26.16/8.22 * hold the mappings in the specified Map. 26.16/8.22 * 26.16/8.22 * @param m the map whose mappings are to be placed in this map 26.16/8.22 * @throws NullPointerException if the specified map is null 26.16/8.22 */ 26.16/8.22 public HashMap(Map m) { 26.16/8.22 this(Math.max((int) (m.size() / DEFAULT_LOAD_FACTOR) + 1, 26.16/8.22 DEFAULT_INITIAL_CAPACITY), DEFAULT_LOAD_FACTOR); 26.16/8.22 putAllForCreate(m); 26.16/8.22 } 26.16/8.22 26.16/8.22 // internal utilities 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Initialization hook for subclasses. This method is called 26.16/8.22 * in all constructors and pseudo-constructors (clone, readObject) 26.16/8.22 * after HashMap has been initialized but before any entries have 26.16/8.22 * been inserted. (In the absence of this method, readObject would 26.16/8.22 * require explicit knowledge of subclasses.) 26.16/8.22 */ 26.16/8.22 void init() { 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Applies a supplemental hash function to a given hashCode, which 26.16/8.22 * defends against poor quality hash functions. This is critical 26.16/8.22 * because HashMap uses power-of-two length hash tables, that 26.16/8.22 * otherwise encounter collisions for hashCodes that do not differ 26.16/8.22 * in lower bits. Note: Null keys always map to hash 0, thus index 0. 26.16/8.22 */ 26.16/8.22 static int hash(int h) { 26.16/8.22 // This function ensures that hashCodes that differ only by 26.16/8.22 // constant multiples at each bit position have a bounded 26.16/8.22 // number of collisions (approximately 8 at default load factor). 26.16/8.22 h ^= (h >>> 20) ^ (h >>> 12); 26.16/8.22 return h ^ (h >>> 7) ^ (h >>> 4); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns index for hash code h. 26.16/8.22 */ 26.16/8.22 static int indexFor(int h, int length) { 26.16/8.22 return h & (length-1); 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the number of key-value mappings in this map. 26.16/8.22 * 26.16/8.22 * @return the number of key-value mappings in this map 26.16/8.22 */ 26.16/8.22 public int size() { 26.16/8.22 return size; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns true if this map contains no key-value mappings. 26.16/8.22 * 26.16/8.22 * @return true if this map contains no key-value mappings 26.16/8.22 */ 26.16/8.22 public boolean isEmpty() { 26.16/8.22 return size == 0; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns the value to which the specified key is mapped, 26.16/8.22 * or {@code null} if this map contains no mapping for the key. 26.16/8.22 * 26.16/8.22 *

More formally, if this map contains a mapping from a key 26.16/8.22 * {@code k} to a value {@code v} such that {@code (key==null ? k==null : 26.16/8.22 * key.equals(k))}, then this method returns {@code v}; otherwise 26.16/8.22 * it returns {@code null}. (There can be at most one such mapping.) 26.16/8.22 * 26.16/8.22 *

A return value of {@code null} does not necessarily 26.16/8.22 * indicate that the map contains no mapping for the key; it's also 26.16/8.22 * possible that the map explicitly maps the key to {@code null}. 26.16/8.22 * The {@link #containsKey containsKey} operation may be used to 26.16/8.22 * distinguish these two cases. 26.16/8.22 * 26.16/8.22 * @see #put(Object, Object) 26.16/8.22 */ 26.16/8.22 public V get(Object key) { 26.16/8.22 if (key == null) 26.16/8.22 return getForNullKey(); 26.16/8.22 int hash = hash(key.hashCode()); 26.16/8.22 for (Entry e = table[indexFor(hash, table.length)]; 26.16/8.22 e != null; 26.16/8.22 e = e.next) { 26.16/8.22 Object k; 26.16/8.22 if (e.hash == hash && ((k = e.key) == key || key.equals(k))) 26.16/8.22 return e.value; 26.16/8.22 } 26.16/8.22 return null; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Offloaded version of get() to look up null keys. Null keys map 26.16/8.22 * to index 0. This null case is split out into separate methods 26.16/8.22 * for the sake of performance in the two most commonly used 26.16/8.22 * operations (get and put), but incorporated with conditionals in 26.16/8.22 * others. 26.16/8.22 */ 26.16/8.22 private V getForNullKey() { 26.16/8.22 for (Entry e = table[0]; e != null; e = e.next) { 26.16/8.22 if (e.key == null) 26.16/8.22 return e.value; 26.16/8.22 } 26.16/8.22 return null; 26.16/8.22 } 26.16/8.22 26.16/8.22 /** 26.16/8.22 * Returns true if this map contains a mapping for the 26.16/8.22 * specified key. 26.16/8.22 * 26.16/8.22 * @param key The key whose presence in this map is to be tested 26.16/8.22 * @return true if this map contains a mapping for the specified 26.16/8.22 * key. 26.16/8.22 */ 26.16/8.23 public boolean containsKey(Object key) { 26.16/8.23 return getEntry(key) != null; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the entry associated with the specified key in the 26.16/8.23 * HashMap. Returns null if the HashMap contains no mapping 26.16/8.23 * for the key. 26.16/8.23 */ 26.16/8.23 final Entry getEntry(Object key) { 26.16/8.23 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.23 for (Entry e = table[indexFor(hash, table.length)]; 26.16/8.23 e != null; 26.16/8.23 e = e.next) { 26.16/8.23 Object k; 26.16/8.23 if (e.hash == hash && 26.16/8.23 ((k = e.key) == key || (key != null && key.equals(k)))) 26.16/8.23 return e; 26.16/8.23 } 26.16/8.23 return null; 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Associates the specified value with the specified key in this map. 26.16/8.23 * If the map previously contained a mapping for the key, the old 26.16/8.23 * value is replaced. 26.16/8.23 * 26.16/8.23 * @param key key with which the specified value is to be associated 26.16/8.23 * @param value value to be associated with the specified key 26.16/8.23 * @return the previous value associated with key, or 26.16/8.23 * null if there was no mapping for key. 26.16/8.23 * (A null return can also indicate that the map 26.16/8.23 * previously associated null with key.) 26.16/8.23 */ 26.16/8.23 public V put(K key, V value) { 26.16/8.23 if (key == null) 26.16/8.23 return putForNullKey(value); 26.16/8.23 int hash = hash(key.hashCode()); 26.16/8.23 int i = indexFor(hash, table.length); 26.16/8.23 for (Entry e = table[i]; e != null; e = e.next) { 26.16/8.23 Object k; 26.16/8.23 if (e.hash == hash && ((k = e.key) == key || key.equals(k))) { 26.16/8.23 V oldValue = e.value; 26.16/8.23 e.value = value; 26.16/8.23 e.recordAccess(this); 26.16/8.23 return oldValue; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 modCount++; 26.16/8.23 addEntry(hash, key, value, i); 26.16/8.23 return null; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Offloaded version of put for null keys 26.16/8.23 */ 26.16/8.23 private V putForNullKey(V value) { 26.16/8.23 for (Entry e = table[0]; e != null; e = e.next) { 26.16/8.23 if (e.key == null) { 26.16/8.23 V oldValue = e.value; 26.16/8.23 e.value = value; 26.16/8.23 e.recordAccess(this); 26.16/8.23 return oldValue; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 modCount++; 26.16/8.23 addEntry(0, null, value, 0); 26.16/8.23 return null; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * This method is used instead of put by constructors and 26.16/8.23 * pseudoconstructors (clone, readObject). It does not resize the table, 26.16/8.23 * check for comodification, etc. It calls createEntry rather than 26.16/8.23 * addEntry. 26.16/8.23 */ 26.16/8.23 private void putForCreate(K key, V value) { 26.16/8.23 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.23 int i = indexFor(hash, table.length); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Look for preexisting entry for key. This will never happen for 26.16/8.23 * clone or deserialize. It will only happen for construction if the 26.16/8.23 * input Map is a sorted map whose ordering is inconsistent w/ equals. 26.16/8.23 */ 26.16/8.23 for (Entry e = table[i]; e != null; e = e.next) { 26.16/8.23 Object k; 26.16/8.23 if (e.hash == hash && 26.16/8.23 ((k = e.key) == key || (key != null && key.equals(k)))) { 26.16/8.23 e.value = value; 26.16/8.23 return; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 createEntry(hash, key, value, i); 26.16/8.23 } 26.16/8.23 26.16/8.23 private void putAllForCreate(Map m) { 26.16/8.23 for (Iterator> i = m.entrySet().iterator(); i.hasNext(); ) { 26.16/8.23 Map.Entry e = i.next(); 26.16/8.23 putForCreate(e.getKey(), e.getValue()); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Rehashes the contents of this map into a new array with a 26.16/8.23 * larger capacity. This method is called automatically when the 26.16/8.23 * number of keys in this map reaches its threshold. 26.16/8.23 * 26.16/8.23 * If current capacity is MAXIMUM_CAPACITY, this method does not 26.16/8.23 * resize the map, but sets threshold to Integer.MAX_VALUE. 26.16/8.23 * This has the effect of preventing future calls. 26.16/8.23 * 26.16/8.23 * @param newCapacity the new capacity, MUST be a power of two; 26.16/8.23 * must be greater than current capacity unless current 26.16/8.23 * capacity is MAXIMUM_CAPACITY (in which case value 26.16/8.23 * is irrelevant). 26.16/8.23 */ 26.16/8.23 void resize(int newCapacity) { 26.16/8.23 Entry[] oldTable = table; 26.16/8.23 int oldCapacity = oldTable.length; 26.16/8.23 if (oldCapacity == MAXIMUM_CAPACITY) { 26.16/8.23 threshold = Integer.MAX_VALUE; 26.16/8.23 return; 26.16/8.23 } 26.16/8.23 26.16/8.23 Entry[] newTable = new Entry[newCapacity]; 26.16/8.23 transfer(newTable); 26.16/8.23 table = newTable; 26.16/8.23 threshold = (int)(newCapacity * loadFactor); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Transfers all entries from current table to newTable. 26.16/8.23 */ 26.16/8.23 void transfer(Entry[] newTable) { 26.16/8.23 Entry[] src = table; 26.16/8.23 int newCapacity = newTable.length; 26.16/8.23 for (int j = 0; j < src.length; j++) { 26.16/8.23 Entry e = src[j]; 26.16/8.23 if (e != null) { 26.16/8.23 src[j] = null; 26.16/8.23 do { 26.16/8.23 Entry next = e.next; 26.16/8.23 int i = indexFor(e.hash, newCapacity); 26.16/8.23 e.next = newTable[i]; 26.16/8.23 newTable[i] = e; 26.16/8.23 e = next; 26.16/8.23 } while (e != null); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Copies all of the mappings from the specified map to this map. 26.16/8.23 * These mappings will replace any mappings that this map had for 26.16/8.23 * any of the keys currently in the specified map. 26.16/8.23 * 26.16/8.23 * @param m mappings to be stored in this map 26.16/8.23 * @throws NullPointerException if the specified map is null 26.16/8.23 */ 26.16/8.23 public void putAll(Map m) { 26.16/8.23 int numKeysToBeAdded = m.size(); 26.16/8.23 if (numKeysToBeAdded == 0) 26.16/8.23 return; 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Expand the map if the map if the number of mappings to be added 26.16/8.23 * is greater than or equal to threshold. This is conservative; the 26.16/8.23 * obvious condition is (m.size() + size) >= threshold, but this 26.16/8.23 * condition could result in a map with twice the appropriate capacity, 26.16/8.23 * if the keys to be added overlap with the keys already in this map. 26.16/8.23 * By using the conservative calculation, we subject ourself 26.16/8.23 * to at most one extra resize. 26.16/8.23 */ 26.16/8.23 if (numKeysToBeAdded > threshold) { 26.16/8.23 int targetCapacity = (int)(numKeysToBeAdded / loadFactor + 1); 26.16/8.23 if (targetCapacity > MAXIMUM_CAPACITY) 26.16/8.23 targetCapacity = MAXIMUM_CAPACITY; 26.16/8.23 int newCapacity = table.length; 26.16/8.23 while (newCapacity < targetCapacity) 26.16/8.23 newCapacity <<= 1; 26.16/8.23 if (newCapacity > table.length) 26.16/8.23 resize(newCapacity); 26.16/8.23 } 26.16/8.23 26.16/8.23 for (Iterator> i = m.entrySet().iterator(); i.hasNext(); ) { 26.16/8.23 Map.Entry e = i.next(); 26.16/8.23 put(e.getKey(), e.getValue()); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes the mapping for the specified key from this map if present. 26.16/8.23 * 26.16/8.23 * @param key key whose mapping is to be removed from the map 26.16/8.23 * @return the previous value associated with key, or 26.16/8.23 * null if there was no mapping for key. 26.16/8.23 * (A null return can also indicate that the map 26.16/8.23 * previously associated null with key.) 26.16/8.23 */ 26.16/8.23 public V remove(Object key) { 26.16/8.23 Entry e = removeEntryForKey(key); 26.16/8.23 return (e == null ? null : e.value); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes and returns the entry associated with the specified key 26.16/8.23 * in the HashMap. Returns null if the HashMap contains no mapping 26.16/8.23 * for this key. 26.16/8.23 */ 26.16/8.23 final Entry removeEntryForKey(Object key) { 26.16/8.23 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.23 int i = indexFor(hash, table.length); 26.16/8.23 Entry prev = table[i]; 26.16/8.23 Entry e = prev; 26.16/8.23 26.16/8.23 while (e != null) { 26.16/8.23 Entry next = e.next; 26.16/8.23 Object k; 26.16/8.23 if (e.hash == hash && 26.16/8.23 ((k = e.key) == key || (key != null && key.equals(k)))) { 26.16/8.23 modCount++; 26.16/8.23 size--; 26.16/8.23 if (prev == e) 26.16/8.23 table[i] = next; 26.16/8.23 else 26.16/8.23 prev.next = next; 26.16/8.23 e.recordRemoval(this); 26.16/8.23 return e; 26.16/8.23 } 26.16/8.23 prev = e; 26.16/8.23 e = next; 26.16/8.23 } 26.16/8.23 26.16/8.23 return e; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Special version of remove for EntrySet. 26.16/8.23 */ 26.16/8.23 final Entry removeMapping(Object o) { 26.16/8.23 if (!(o instanceof Map.Entry)) 26.16/8.23 return null; 26.16/8.23 26.16/8.23 Map.Entry entry = (Map.Entry) o; 26.16/8.23 Object key = entry.getKey(); 26.16/8.23 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.23 int i = indexFor(hash, table.length); 26.16/8.23 Entry prev = table[i]; 26.16/8.23 Entry e = prev; 26.16/8.23 26.16/8.23 while (e != null) { 26.16/8.23 Entry next = e.next; 26.16/8.23 if (e.hash == hash && e.equals(entry)) { 26.16/8.23 modCount++; 26.16/8.23 size--; 26.16/8.23 if (prev == e) 26.16/8.23 table[i] = next; 26.16/8.23 else 26.16/8.23 prev.next = next; 26.16/8.23 e.recordRemoval(this); 26.16/8.23 return e; 26.16/8.23 } 26.16/8.23 prev = e; 26.16/8.23 e = next; 26.16/8.23 } 26.16/8.23 26.16/8.23 return e; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes all of the mappings from this map. 26.16/8.23 * The map will be empty after this call returns. 26.16/8.23 */ 26.16/8.23 public void clear() { 26.16/8.23 modCount++; 26.16/8.23 Entry[] tab = table; 26.16/8.23 for (int i = 0; i < tab.length; i++) 26.16/8.23 tab[i] = null; 26.16/8.23 size = 0; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns true if this map maps one or more keys to the 26.16/8.23 * specified value. 26.16/8.23 * 26.16/8.23 * @param value value whose presence in this map is to be tested 26.16/8.23 * @return true if this map maps one or more keys to the 26.16/8.23 * specified value 26.16/8.23 */ 26.16/8.23 public boolean containsValue(Object value) { 26.16/8.23 if (value == null) 26.16/8.23 return containsNullValue(); 26.16/8.23 26.16/8.23 Entry[] tab = table; 26.16/8.23 for (int i = 0; i < tab.length ; i++) 26.16/8.23 for (Entry e = tab[i] ; e != null ; e = e.next) 26.16/8.23 if (value.equals(e.value)) 26.16/8.23 return true; 26.16/8.23 return false; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Special-case code for containsValue with null argument 26.16/8.23 */ 26.16/8.23 private boolean containsNullValue() { 26.16/8.23 Entry[] tab = table; 26.16/8.23 for (int i = 0; i < tab.length ; i++) 26.16/8.23 for (Entry e = tab[i] ; e != null ; e = e.next) 26.16/8.23 if (e.value == null) 26.16/8.23 return true; 26.16/8.23 return false; 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns a shallow copy of this HashMap instance: the keys and 26.16/8.23 * values themselves are not cloned. 26.16/8.23 * 26.16/8.23 * @return a shallow copy of this map 26.16/8.23 */ 26.16/8.23 public Object clone() { 26.16/8.23 HashMap result = null; 26.16/8.23 try { 26.16/8.23 result = (HashMap)super.clone(); 26.16/8.23 } catch (CloneNotSupportedException e) { 26.16/8.23 // assert false; 26.16/8.23 } 26.16/8.23 result.table = new Entry[table.length]; 26.16/8.23 result.entrySet = null; 26.16/8.23 result.modCount = 0; 26.16/8.23 result.size = 0; 26.16/8.23 result.init(); 26.16/8.23 result.putAllForCreate(this); 26.16/8.23 26.16/8.23 return result; 26.16/8.23 } 26.16/8.23 26.16/8.23 static class Entry implements Map.Entry { 26.16/8.23 final K key; 26.16/8.23 V value; 26.16/8.23 Entry next; 26.16/8.23 final int hash; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Creates new entry. 26.16/8.23 */ 26.16/8.23 Entry(int h, K k, V v, Entry n) { 26.16/8.23 value = v; 26.16/8.23 next = n; 26.16/8.23 key = k; 26.16/8.23 hash = h; 26.16/8.23 } 26.16/8.23 26.16/8.23 public final K getKey() { 26.16/8.23 return key; 26.16/8.23 } 26.16/8.23 26.16/8.23 public final V getValue() { 26.16/8.23 return value; 26.16/8.23 } 26.16/8.23 26.16/8.23 public final V setValue(V newValue) { 26.16/8.23 V oldValue = value; 26.16/8.23 value = newValue; 26.16/8.23 return oldValue; 26.16/8.23 } 26.16/8.23 26.16/8.23 public final boolean equals(Object o) { 26.16/8.23 if (!(o instanceof Map.Entry)) 26.16/8.23 return false; 26.16/8.23 Map.Entry e = (Map.Entry)o; 26.16/8.23 Object k1 = getKey(); 26.16/8.23 Object k2 = e.getKey(); 26.16/8.23 if (k1 == k2 || (k1 != null && k1.equals(k2))) { 26.16/8.23 Object v1 = getValue(); 26.16/8.23 Object v2 = e.getValue(); 26.16/8.23 if (v1 == v2 || (v1 != null && v1.equals(v2))) 26.16/8.23 return true; 26.16/8.23 } 26.16/8.23 return false; 26.16/8.23 } 26.16/8.23 26.16/8.23 public final int hashCode() { 26.16/8.23 return (key==null ? 0 : key.hashCode()) ^ 26.16/8.23 (value==null ? 0 : value.hashCode()); 26.16/8.23 } 26.16/8.23 26.16/8.23 public final String toString() { 26.16/8.23 return getKey() + "=" + getValue(); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * This method is invoked whenever the value in an entry is 26.16/8.23 * overwritten by an invocation of put(k,v) for a key k that's already 26.16/8.23 * in the HashMap. 26.16/8.23 */ 26.16/8.23 void recordAccess(HashMap m) { 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * This method is invoked whenever the entry is 26.16/8.23 * removed from the table. 26.16/8.23 */ 26.16/8.23 void recordRemoval(HashMap m) { 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Adds a new entry with the specified key, value and hash code to 26.16/8.23 * the specified bucket. It is the responsibility of this 26.16/8.23 * method to resize the table if appropriate. 26.16/8.23 * 26.16/8.23 * Subclass overrides this to alter the behavior of put method. 26.16/8.23 */ 26.16/8.23 void addEntry(int hash, K key, V value, int bucketIndex) { 26.16/8.23 Entry e = table[bucketIndex]; 26.16/8.23 table[bucketIndex] = new Entry(hash, key, value, e); 26.16/8.23 if (size++ >= threshold) 26.16/8.23 resize(2 * table.length); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Like addEntry except that this version is used when creating entries 26.16/8.23 * as part of Map construction or "pseudo-construction" (cloning, 26.16/8.23 * deserialization). This version needn't worry about resizing the table. 26.16/8.23 * 26.16/8.23 * Subclass overrides this to alter the behavior of HashMap(Map), 26.16/8.23 * clone, and readObject. 26.16/8.23 */ 26.16/8.23 void createEntry(int hash, K key, V value, int bucketIndex) { 26.16/8.23 Entry e = table[bucketIndex]; 26.16/8.23 table[bucketIndex] = new Entry(hash, key, value, e); 26.16/8.23 size++; 26.16/8.23 } 26.16/8.23 26.16/8.23 private abstract class HashIterator implements Iterator { 26.16/8.23 Entry next; // next entry to return 26.16/8.23 int expectedModCount; // For fast-fail 26.16/8.23 int index; // current slot 26.16/8.23 Entry current; // current entry 26.16/8.23 26.16/8.23 HashIterator() { 26.16/8.23 expectedModCount = modCount; 26.16/8.23 if (size > 0) { // advance to first entry 26.16/8.23 Entry[] t = table; 26.16/8.23 while (index < t.length && (next = t[index++]) == null) 26.16/8.23 ; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 public final boolean hasNext() { 26.16/8.23 return next != null; 26.16/8.23 } 26.16/8.23 26.16/8.23 final Entry nextEntry() { 26.16/8.23 if (modCount != expectedModCount) 26.16/8.23 throw new ConcurrentModificationException(); 26.16/8.23 Entry e = next; 26.16/8.23 if (e == null) 26.16/8.23 throw new NoSuchElementException(); 26.16/8.23 26.16/8.23 if ((next = e.next) == null) { 26.16/8.23 Entry[] t = table; 26.16/8.23 while (index < t.length && (next = t[index++]) == null) 26.16/8.23 ; 26.16/8.23 } 26.16/8.23 current = e; 26.16/8.23 return e; 26.16/8.23 } 26.16/8.23 26.16/8.23 public void remove() { 26.16/8.23 if (current == null) 26.16/8.23 throw new IllegalStateException(); 26.16/8.23 if (modCount != expectedModCount) 26.16/8.23 throw new ConcurrentModificationException(); 26.16/8.23 Object k = current.key; 26.16/8.23 current = null; 26.16/8.23 HashMap.this.removeEntryForKey(k); 26.16/8.23 expectedModCount = modCount; 26.16/8.23 } 26.16/8.23 26.16/8.23 } 26.16/8.23 26.16/8.23 private final class ValueIterator extends HashIterator { 26.16/8.23 public V next() { 26.16/8.23 return nextEntry().value; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 private final class KeyIterator extends HashIterator { 26.16/8.23 public K next() { 26.16/8.23 return nextEntry().getKey(); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 private final class EntryIterator extends HashIterator> { 26.16/8.23 public Map.Entry next() { 26.16/8.23 return nextEntry(); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 // Subclass overrides these to alter behavior of views' iterator() method 26.16/8.23 Iterator newKeyIterator() { 26.16/8.23 return new KeyIterator(); 26.16/8.23 } 26.16/8.23 Iterator newValueIterator() { 26.16/8.23 return new ValueIterator(); 26.16/8.23 } 26.16/8.23 Iterator> newEntryIterator() { 26.16/8.23 return new EntryIterator(); 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 // Views 26.16/8.23 26.16/8.23 private transient Set> entrySet = null; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns a {@link Set} view of the keys contained in this map. 26.16/8.23 * The set is backed by the map, so changes to the map are 26.16/8.23 * reflected in the set, and vice-versa. If the map is modified 26.16/8.23 * while an iteration over the set is in progress (except through 26.16/8.23 * the iterator's own remove operation), the results of 26.16/8.23 * the iteration are undefined. The set supports element removal, 26.16/8.23 * which removes the corresponding mapping from the map, via the 26.16/8.23 * Iterator.remove, Set.remove, 26.16/8.23 * removeAll, retainAll, and clear 26.16/8.23 * operations. It does not support the add or addAll 26.16/8.23 * operations. 26.16/8.23 */ 26.16/8.23 public Set keySet() { 26.16/8.23 Set ks = keySet; 26.16/8.23 return (ks != null ? ks : (keySet = new KeySet())); 26.16/8.23 } 26.16/8.23 26.16/8.23 private final class KeySet extends AbstractSet { 26.16/8.23 public Iterator iterator() { 26.16/8.23 return newKeyIterator(); 26.16/8.23 } 26.16/8.23 public int size() { 26.16/8.23 return size; 26.16/8.23 } 26.16/8.23 public boolean contains(Object o) { 26.16/8.23 return containsKey(o); 26.16/8.23 } 26.16/8.23 public boolean remove(Object o) { 26.16/8.23 return HashMap.this.removeEntryForKey(o) != null; 26.16/8.23 } 26.16/8.23 public void clear() { 26.16/8.23 HashMap.this.clear(); 26.16/8.23 } 26.16/8.23 public Object[] toArray() { 26.16/8.23 Object[] res = new Object[size]; 26.16/8.23 Iterator it = iterator(); 26.16/8.23 int i = 0; 26.16/8.23 while (it.hasNext()) 26.16/8.23 res[i++] = it.next(); 26.16/8.23 return res; 26.16/8.23 } 26.16/8.23 public T[] toArray(T[] a) { 26.16/8.23 a = (T[])java.lang.reflect.Array.newInstance( 26.16/8.23 a.getClass().getComponentType(), size); 26.16/8.23 Object[] res = a; 26.16/8.23 Iterator it = iterator(); 26.16/8.23 int i = 0; 26.16/8.23 while (it.hasNext()) 26.16/8.23 res[i++] = it.next(); 26.16/8.23 return a; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns a {@link Collection} view of the values contained in this map. 26.16/8.23 * The collection is backed by the map, so changes to the map are 26.16/8.23 * reflected in the collection, and vice-versa. If the map is 26.16/8.23 * modified while an iteration over the collection is in progress 26.16/8.23 * (except through the iterator's own remove operation), 26.16/8.23 * the results of the iteration are undefined. The collection 26.16/8.23 * supports element removal, which removes the corresponding 26.16/8.23 * mapping from the map, via the Iterator.remove, 26.16/8.23 * Collection.remove, removeAll, 26.16/8.23 * retainAll and clear operations. It does not 26.16/8.23 * support the add or addAll operations. 26.16/8.23 */ 26.16/8.23 public Collection values() { 26.16/8.23 Collection vs = values; 26.16/8.23 return (vs != null ? vs : (values = new Values())); 26.16/8.23 } 26.16/8.23 26.16/8.23 private final class Values extends AbstractCollection { 26.16/8.23 public Iterator iterator() { 26.16/8.23 return newValueIterator(); 26.16/8.23 } 26.16/8.23 public int size() { 26.16/8.23 return size; 26.16/8.23 } 26.16/8.23 public boolean contains(Object o) { 26.16/8.23 return containsValue(o); 26.16/8.23 } 26.16/8.23 public void clear() { 26.16/8.23 HashMap.this.clear(); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns a {@link Set} view of the mappings contained in this map. 26.16/8.23 * The set is backed by the map, so changes to the map are 26.16/8.23 * reflected in the set, and vice-versa. If the map is modified 26.16/8.23 * while an iteration over the set is in progress (except through 26.16/8.23 * the iterator's own remove operation, or through the 26.16/8.23 * setValue operation on a map entry returned by the 26.16/8.23 * iterator) the results of the iteration are undefined. The set 26.16/8.23 * supports element removal, which removes the corresponding 26.16/8.23 * mapping from the map, via the Iterator.remove, 26.16/8.23 * Set.remove, removeAll, retainAll and 26.16/8.23 * clear operations. It does not support the 26.16/8.23 * add or addAll operations. 26.16/8.23 * 26.16/8.23 * @return a set view of the mappings contained in this map 26.16/8.23 */ 26.16/8.23 public Set> entrySet() { 26.16/8.23 return entrySet0(); 26.16/8.23 } 26.16/8.23 26.16/8.23 private Set> entrySet0() { 26.16/8.23 Set> es = entrySet; 26.16/8.23 return es != null ? es : (entrySet = new EntrySet()); 26.16/8.23 } 26.16/8.23 26.16/8.23 private final class EntrySet extends AbstractSet> { 26.16/8.23 public Iterator> iterator() { 26.16/8.23 return newEntryIterator(); 26.16/8.23 } 26.16/8.23 public boolean contains(Object o) { 26.16/8.23 if (!(o instanceof Map.Entry)) 26.16/8.23 return false; 26.16/8.23 Map.Entry e = (Map.Entry) o; 26.16/8.23 Entry candidate = getEntry(e.getKey()); 26.16/8.23 return candidate != null && candidate.equals(e); 26.16/8.23 } 26.16/8.23 public boolean remove(Object o) { 26.16/8.23 return removeMapping(o) != null; 26.16/8.23 } 26.16/8.23 public int size() { 26.16/8.23 return size; 26.16/8.23 } 26.16/8.23 public void clear() { 26.16/8.23 HashMap.this.clear(); 26.16/8.23 } 26.16/8.23 public Object[] toArray() { 26.16/8.23 Object[] res = new Object[size]; 26.16/8.23 Iterator> it = iterator(); 26.16/8.23 int i = 0; 26.16/8.23 while (it.hasNext()) 26.16/8.23 res[i++] = it.next(); 26.16/8.23 return res; 26.16/8.23 } 26.16/8.23 public T[] toArray(T[] a) { 26.16/8.23 a = (T[])java.lang.reflect.Array.newInstance( 26.16/8.23 a.getClass().getComponentType(), size); 26.16/8.23 Object[] res = a; 26.16/8.23 Iterator> it = iterator(); 26.16/8.23 int i = 0; 26.16/8.23 while (it.hasNext()) 26.16/8.23 res[i++] = it.next(); 26.16/8.23 return a; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 private static final long serialVersionUID = 362498820763181265L; 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Copyright 1994-2003 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.23 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.23 * 26.16/8.23 * This code is free software; you can redistribute it and/or modify it 26.16/8.23 * under the terms of the GNU General Public License version 2 only, as 26.16/8.23 * published by the Free Software Foundation. Sun designates this 26.16/8.23 * particular file as subject to the "Classpath" exception as provided 26.16/8.23 * by Sun in the LICENSE file that accompanied this code. 26.16/8.23 * 26.16/8.23 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.23 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.23 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.23 * accompanied this code). 26.16/8.23 * 26.16/8.23 * You should have received a copy of the GNU General Public License version 26.16/8.23 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.23 * 26.16/8.23 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.23 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.23 * have any questions. 26.16/8.23 */ 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Thrown to indicate that a method has been passed an illegal or 26.16/8.23 * inappropriate argument. 26.16/8.23 * 26.16/8.23 * @author unascribed 26.16/8.23 * @see java.lang.Thread#setPriority(int) 26.16/8.23 * @since JDK1.0 26.16/8.23 */ 26.16/8.23 public 26.16/8.23 class IllegalArgumentException extends RuntimeException { 26.16/8.23 /** 26.16/8.23 * Constructs an IllegalArgumentException with no 26.16/8.23 * detail message. 26.16/8.23 */ 26.16/8.23 public IllegalArgumentException() { 26.16/8.23 super(); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Constructs an IllegalArgumentException with the 26.16/8.23 * specified detail message. 26.16/8.23 * 26.16/8.23 * @param s the detail message. 26.16/8.23 */ 26.16/8.23 public IllegalArgumentException(String s) { 26.16/8.23 super(s); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Constructs a new exception with the specified detail message and 26.16/8.23 * cause. 26.16/8.23 * 26.16/8.23 *

Note that the detail message associated with cause is 26.16/8.23 * not automatically incorporated in this exception's detail 26.16/8.23 * message. 26.16/8.23 * 26.16/8.23 * @param message the detail message (which is saved for later retrieval 26.16/8.23 * by the {@link Throwable#getMessage()} method). 26.16/8.23 * @param cause the cause (which is saved for later retrieval by the 26.16/8.23 * {@link Throwable#getCause()} method). (A null value 26.16/8.23 * is permitted, and indicates that the cause is nonexistent or 26.16/8.23 * unknown.) 26.16/8.23 * @since 1.5 26.16/8.23 */ 26.16/8.23 public IllegalArgumentException(String message, Throwable cause) { 26.16/8.23 super(message, cause); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Constructs a new exception with the specified cause and a detail 26.16/8.23 * message of (cause==null ? null : cause.toString()) (which 26.16/8.23 * typically contains the class and detail message of cause). 26.16/8.23 * This constructor is useful for exceptions that are little more than 26.16/8.23 * wrappers for other throwables (for example, {@link 26.16/8.23 * java.security.PrivilegedActionException}). 26.16/8.23 * 26.16/8.23 * @param cause the cause (which is saved for later retrieval by the 26.16/8.23 * {@link Throwable#getCause()} method). (A null value is 26.16/8.23 * permitted, and indicates that the cause is nonexistent or 26.16/8.23 * unknown.) 26.16/8.23 * @since 1.5 26.16/8.23 */ 26.16/8.23 public IllegalArgumentException(Throwable cause) { 26.16/8.23 super(cause); 26.16/8.23 } 26.16/8.23 26.16/8.23 private static final long serialVersionUID = -5365630128856068164L; 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Copyright 1996-2003 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.23 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.23 * 26.16/8.23 * This code is free software; you can redistribute it and/or modify it 26.16/8.23 * under the terms of the GNU General Public License version 2 only, as 26.16/8.23 * published by the Free Software Foundation. Sun designates this 26.16/8.23 * particular file as subject to the "Classpath" exception as provided 26.16/8.23 * by Sun in the LICENSE file that accompanied this code. 26.16/8.23 * 26.16/8.23 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.23 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.23 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.23 * accompanied this code). 26.16/8.23 * 26.16/8.23 * You should have received a copy of the GNU General Public License version 26.16/8.23 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.23 * 26.16/8.23 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.23 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.23 * have any questions. 26.16/8.23 */ 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Signals that a method has been invoked at an illegal or 26.16/8.23 * inappropriate time. In other words, the Java environment or 26.16/8.23 * Java application is not in an appropriate state for the requested 26.16/8.23 * operation. 26.16/8.23 * 26.16/8.23 * @author Jonni Kanerva 26.16/8.23 * @since JDK1.1 26.16/8.23 */ 26.16/8.23 public 26.16/8.23 class IllegalStateException extends RuntimeException { 26.16/8.23 /** 26.16/8.23 * Constructs an IllegalStateException with no detail message. 26.16/8.23 * A detail message is a String that describes this particular exception. 26.16/8.23 */ 26.16/8.23 public IllegalStateException() { 26.16/8.23 super(); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Constructs an IllegalStateException with the specified detail 26.16/8.23 * message. A detail message is a String that describes this particular 26.16/8.23 * exception. 26.16/8.23 * 26.16/8.23 * @param s the String that contains a detailed message 26.16/8.23 */ 26.16/8.23 public IllegalStateException(String s) { 26.16/8.23 super(s); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Constructs a new exception with the specified detail message and 26.16/8.23 * cause. 26.16/8.23 * 26.16/8.23 *

Note that the detail message associated with cause is 26.16/8.23 * not automatically incorporated in this exception's detail 26.16/8.23 * message. 26.16/8.23 * 26.16/8.23 * @param message the detail message (which is saved for later retrieval 26.16/8.23 * by the {@link Throwable#getMessage()} method). 26.16/8.23 * @param cause the cause (which is saved for later retrieval by the 26.16/8.23 * {@link Throwable#getCause()} method). (A null value 26.16/8.23 * is permitted, and indicates that the cause is nonexistent or 26.16/8.23 * unknown.) 26.16/8.23 * @since 1.5 26.16/8.23 */ 26.16/8.23 public IllegalStateException(String message, Throwable cause) { 26.16/8.23 super(message, cause); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Constructs a new exception with the specified cause and a detail 26.16/8.23 * message of (cause==null ? null : cause.toString()) (which 26.16/8.23 * typically contains the class and detail message of cause). 26.16/8.23 * This constructor is useful for exceptions that are little more than 26.16/8.23 * wrappers for other throwables (for example, {@link 26.16/8.23 * java.security.PrivilegedActionException}). 26.16/8.23 * 26.16/8.23 * @param cause the cause (which is saved for later retrieval by the 26.16/8.23 * {@link Throwable#getCause()} method). (A null value is 26.16/8.23 * permitted, and indicates that the cause is nonexistent or 26.16/8.23 * unknown.) 26.16/8.23 * @since 1.5 26.16/8.23 */ 26.16/8.23 public IllegalStateException(Throwable cause) { 26.16/8.23 super(cause); 26.16/8.23 } 26.16/8.23 26.16/8.23 static final long serialVersionUID = -1848914673093119416L; 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.23 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.23 * 26.16/8.23 * This code is free software; you can redistribute it and/or modify it 26.16/8.23 * under the terms of the GNU General Public License version 2 only, as 26.16/8.23 * published by the Free Software Foundation. Sun designates this 26.16/8.23 * particular file as subject to the "Classpath" exception as provided 26.16/8.23 * by Sun in the LICENSE file that accompanied this code. 26.16/8.23 * 26.16/8.23 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.23 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.23 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.23 * accompanied this code). 26.16/8.23 * 26.16/8.23 * You should have received a copy of the GNU General Public License version 26.16/8.23 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.23 * 26.16/8.23 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.23 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.23 * have any questions. 26.16/8.23 */ 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * An iterator over a collection. {@code Iterator} takes the place of 26.16/8.23 * {@link Enumeration} in the Java Collections Framework. Iterators 26.16/8.23 * differ from enumerations in two ways: 26.16/8.23 * 26.16/8.23 *

26.16/8.23 * 26.16/8.23 *

This interface is a member of the 26.16/8.23 * 26.16/8.23 * Java Collections Framework. 26.16/8.23 * 26.16/8.23 * @author Josh Bloch 26.16/8.23 * @see Collection 26.16/8.23 * @see ListIterator 26.16/8.23 * @see Iterable 26.16/8.23 * @since 1.2 26.16/8.23 */ 26.16/8.23 public interface Iterator { 26.16/8.23 /** 26.16/8.23 * Returns {@code true} if the iteration has more elements. 26.16/8.23 * (In other words, returns {@code true} if {@link #next} would 26.16/8.23 * return an element rather than throwing an exception.) 26.16/8.23 * 26.16/8.23 * @return {@code true} if the iteration has more elements 26.16/8.23 */ 26.16/8.23 boolean hasNext(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the next element in the iteration. 26.16/8.23 * 26.16/8.23 * @return the next element in the iteration 26.16/8.23 * @throws NoSuchElementException if the iteration has no more elements 26.16/8.23 */ 26.16/8.23 E next(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes from the underlying collection the last element returned 26.16/8.23 * by this iterator (optional operation). This method can be called 26.16/8.23 * only once per call to {@link #next}. The behavior of an iterator 26.16/8.23 * is unspecified if the underlying collection is modified while the 26.16/8.23 * iteration is in progress in any way other than by calling this 26.16/8.23 * method. 26.16/8.23 * 26.16/8.23 * @throws UnsupportedOperationException if the {@code remove} 26.16/8.23 * operation is not supported by this iterator 26.16/8.23 * 26.16/8.23 * @throws IllegalStateException if the {@code next} method has not 26.16/8.23 * yet been called, or the {@code remove} method has already 26.16/8.23 * been called after the last call to the {@code next} 26.16/8.23 * method 26.16/8.23 */ 26.16/8.23 void remove(); 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 public class juHashMapCreateContainsKey { 26.16/8.23 public static void main(String[] args) { 26.16/8.23 Random.args = args; 26.16/8.23 26.16/8.23 HashMap m = createMap(Random.random()); 26.16/8.23 m.containsKey(new Content(Random.random())); 26.16/8.23 } 26.16/8.23 26.16/8.23 public static HashMap createMap(int n) { 26.16/8.23 HashMap m = new HashMap(); 26.16/8.23 while (n > 0) { 26.16/8.23 Content key = new Content(Random.random()); 26.16/8.23 Content val = new Content(Random.random()); 26.16/8.23 m.put(key, val); 26.16/8.23 n--; 26.16/8.23 } 26.16/8.23 return m; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 final class Content { 26.16/8.23 int val; 26.16/8.23 26.16/8.23 public Content(int v) { 26.16/8.23 this.val = v; 26.16/8.23 } 26.16/8.23 26.16/8.23 public int hashCode() { 26.16/8.23 return val^31; 26.16/8.23 } 26.16/8.23 26.16/8.23 public boolean equals(Object o) { 26.16/8.23 if (o instanceof Content) { 26.16/8.23 return this.val == ((Content) o).val; 26.16/8.23 } 26.16/8.23 return false; 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.23 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.23 * 26.16/8.23 * This code is free software; you can redistribute it and/or modify it 26.16/8.23 * under the terms of the GNU General Public License version 2 only, as 26.16/8.23 * published by the Free Software Foundation. Sun designates this 26.16/8.23 * particular file as subject to the "Classpath" exception as provided 26.16/8.23 * by Sun in the LICENSE file that accompanied this code. 26.16/8.23 * 26.16/8.23 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.23 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.23 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.23 * accompanied this code). 26.16/8.23 * 26.16/8.23 * You should have received a copy of the GNU General Public License version 26.16/8.23 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.23 * 26.16/8.23 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.23 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.23 * have any questions. 26.16/8.23 */ 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * An object that maps keys to values. A map cannot contain duplicate keys; 26.16/8.23 * each key can map to at most one value. 26.16/8.23 * 26.16/8.23 *

This interface takes the place of the Dictionary class, which 26.16/8.23 * was a totally abstract class rather than an interface. 26.16/8.23 * 26.16/8.23 *

The Map interface provides three collection views, which 26.16/8.23 * allow a map's contents to be viewed as a set of keys, collection of values, 26.16/8.23 * or set of key-value mappings. The order of a map is defined as 26.16/8.23 * the order in which the iterators on the map's collection views return their 26.16/8.23 * elements. Some map implementations, like the TreeMap class, make 26.16/8.23 * specific guarantees as to their order; others, like the HashMap 26.16/8.23 * class, do not. 26.16/8.23 * 26.16/8.23 *

Note: great care must be exercised if mutable objects are used as map 26.16/8.23 * keys. The behavior of a map is not specified if the value of an object is 26.16/8.23 * changed in a manner that affects equals comparisons while the 26.16/8.23 * object is a key in the map. A special case of this prohibition is that it 26.16/8.23 * is not permissible for a map to contain itself as a key. While it is 26.16/8.23 * permissible for a map to contain itself as a value, extreme caution is 26.16/8.23 * advised: the equals and hashCode methods are no longer 26.16/8.23 * well defined on such a map. 26.16/8.23 * 26.16/8.23 *

All general-purpose map implementation classes should provide two 26.16/8.23 * "standard" constructors: a void (no arguments) constructor which creates an 26.16/8.23 * empty map, and a constructor with a single argument of type Map, 26.16/8.23 * which creates a new map with the same key-value mappings as its argument. 26.16/8.23 * In effect, the latter constructor allows the user to copy any map, 26.16/8.23 * producing an equivalent map of the desired class. There is no way to 26.16/8.23 * enforce this recommendation (as interfaces cannot contain constructors) but 26.16/8.23 * all of the general-purpose map implementations in the JDK comply. 26.16/8.23 * 26.16/8.23 *

The "destructive" methods contained in this interface, that is, the 26.16/8.23 * methods that modify the map on which they operate, are specified to throw 26.16/8.23 * UnsupportedOperationException if this map does not support the 26.16/8.23 * operation. If this is the case, these methods may, but are not required 26.16/8.23 * to, throw an UnsupportedOperationException if the invocation would 26.16/8.23 * have no effect on the map. For example, invoking the {@link #putAll(Map)} 26.16/8.23 * method on an unmodifiable map may, but is not required to, throw the 26.16/8.23 * exception if the map whose mappings are to be "superimposed" is empty. 26.16/8.23 * 26.16/8.23 *

Some map implementations have restrictions on the keys and values they 26.16/8.23 * may contain. For example, some implementations prohibit null keys and 26.16/8.23 * values, and some have restrictions on the types of their keys. Attempting 26.16/8.23 * to insert an ineligible key or value throws an unchecked exception, 26.16/8.23 * typically NullPointerException or ClassCastException. 26.16/8.23 * Attempting to query the presence of an ineligible key or value may throw an 26.16/8.23 * exception, or it may simply return false; some implementations will exhibit 26.16/8.23 * the former behavior and some will exhibit the latter. More generally, 26.16/8.23 * attempting an operation on an ineligible key or value whose completion 26.16/8.23 * would not result in the insertion of an ineligible element into the map may 26.16/8.23 * throw an exception or it may succeed, at the option of the implementation. 26.16/8.23 * Such exceptions are marked as "optional" in the specification for this 26.16/8.23 * interface. 26.16/8.23 * 26.16/8.23 *

This interface is a member of the 26.16/8.23 * 26.16/8.23 * Java Collections Framework. 26.16/8.23 * 26.16/8.23 *

Many methods in Collections Framework interfaces are defined 26.16/8.23 * in terms of the {@link Object#equals(Object) equals} method. For 26.16/8.23 * example, the specification for the {@link #containsKey(Object) 26.16/8.23 * containsKey(Object key)} method says: "returns true if and 26.16/8.23 * only if this map contains a mapping for a key k such that 26.16/8.23 * (key==null ? k==null : key.equals(k))." This specification should 26.16/8.23 * not be construed to imply that invoking Map.containsKey 26.16/8.23 * with a non-null argument key will cause key.equals(k) to 26.16/8.23 * be invoked for any key k. Implementations are free to 26.16/8.23 * implement optimizations whereby the equals invocation is avoided, 26.16/8.23 * for example, by first comparing the hash codes of the two keys. (The 26.16/8.23 * {@link Object#hashCode()} specification guarantees that two objects with 26.16/8.23 * unequal hash codes cannot be equal.) More generally, implementations of 26.16/8.23 * the various Collections Framework interfaces are free to take advantage of 26.16/8.23 * the specified behavior of underlying {@link Object} methods wherever the 26.16/8.23 * implementor deems it appropriate. 26.16/8.23 * 26.16/8.23 * @param the type of keys maintained by this map 26.16/8.23 * @param the type of mapped values 26.16/8.23 * 26.16/8.23 * @author Josh Bloch 26.16/8.23 * @see HashMap 26.16/8.23 * @see TreeMap 26.16/8.23 * @see Hashtable 26.16/8.23 * @see SortedMap 26.16/8.23 * @see Collection 26.16/8.23 * @see Set 26.16/8.23 * @since 1.2 26.16/8.23 */ 26.16/8.23 public interface Map { 26.16/8.23 // Query Operations 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the number of key-value mappings in this map. If the 26.16/8.23 * map contains more than Integer.MAX_VALUE elements, returns 26.16/8.23 * Integer.MAX_VALUE. 26.16/8.23 * 26.16/8.23 * @return the number of key-value mappings in this map 26.16/8.23 */ 26.16/8.23 int size(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns true if this map contains no key-value mappings. 26.16/8.23 * 26.16/8.23 * @return true if this map contains no key-value mappings 26.16/8.23 */ 26.16/8.23 boolean isEmpty(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns true if this map contains a mapping for the specified 26.16/8.23 * key. More formally, returns true if and only if 26.16/8.23 * this map contains a mapping for a key k such that 26.16/8.23 * (key==null ? k==null : key.equals(k)). (There can be 26.16/8.23 * at most one such mapping.) 26.16/8.23 * 26.16/8.23 * @param key key whose presence in this map is to be tested 26.16/8.23 * @return true if this map contains a mapping for the specified 26.16/8.23 * key 26.16/8.23 * @throws ClassCastException if the key is of an inappropriate type for 26.16/8.23 * this map (optional) 26.16/8.23 * @throws NullPointerException if the specified key is null and this map 26.16/8.23 * does not permit null keys (optional) 26.16/8.23 */ 26.16/8.23 boolean containsKey(Object key); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns true if this map maps one or more keys to the 26.16/8.23 * specified value. More formally, returns true if and only if 26.16/8.23 * this map contains at least one mapping to a value v such that 26.16/8.23 * (value==null ? v==null : value.equals(v)). This operation 26.16/8.23 * will probably require time linear in the map size for most 26.16/8.23 * implementations of the Map interface. 26.16/8.23 * 26.16/8.23 * @param value value whose presence in this map is to be tested 26.16/8.23 * @return true if this map maps one or more keys to the 26.16/8.23 * specified value 26.16/8.23 * @throws ClassCastException if the value is of an inappropriate type for 26.16/8.23 * this map (optional) 26.16/8.23 * @throws NullPointerException if the specified value is null and this 26.16/8.23 * map does not permit null values (optional) 26.16/8.23 */ 26.16/8.23 boolean containsValue(Object value); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the value to which the specified key is mapped, 26.16/8.23 * or {@code null} if this map contains no mapping for the key. 26.16/8.23 * 26.16/8.23 *

More formally, if this map contains a mapping from a key 26.16/8.23 * {@code k} to a value {@code v} such that {@code (key==null ? k==null : 26.16/8.23 * key.equals(k))}, then this method returns {@code v}; otherwise 26.16/8.23 * it returns {@code null}. (There can be at most one such mapping.) 26.16/8.23 * 26.16/8.23 *

If this map permits null values, then a return value of 26.16/8.23 * {@code null} does not necessarily indicate that the map 26.16/8.23 * contains no mapping for the key; it's also possible that the map 26.16/8.23 * explicitly maps the key to {@code null}. The {@link #containsKey 26.16/8.23 * containsKey} operation may be used to distinguish these two cases. 26.16/8.23 * 26.16/8.23 * @param key the key whose associated value is to be returned 26.16/8.23 * @return the value to which the specified key is mapped, or 26.16/8.23 * {@code null} if this map contains no mapping for the key 26.16/8.23 * @throws ClassCastException if the key is of an inappropriate type for 26.16/8.23 * this map (optional) 26.16/8.23 * @throws NullPointerException if the specified key is null and this map 26.16/8.23 * does not permit null keys (optional) 26.16/8.23 */ 26.16/8.23 V get(Object key); 26.16/8.23 26.16/8.23 // Modification Operations 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Associates the specified value with the specified key in this map 26.16/8.23 * (optional operation). If the map previously contained a mapping for 26.16/8.23 * the key, the old value is replaced by the specified value. (A map 26.16/8.23 * m is said to contain a mapping for a key k if and only 26.16/8.23 * if {@link #containsKey(Object) m.containsKey(k)} would return 26.16/8.23 * true.) 26.16/8.23 * 26.16/8.23 * @param key key with which the specified value is to be associated 26.16/8.23 * @param value value to be associated with the specified key 26.16/8.23 * @return the previous value associated with key, or 26.16/8.23 * null if there was no mapping for key. 26.16/8.23 * (A null return can also indicate that the map 26.16/8.23 * previously associated null with key, 26.16/8.23 * if the implementation supports null values.) 26.16/8.23 * @throws UnsupportedOperationException if the put operation 26.16/8.23 * is not supported by this map 26.16/8.23 * @throws ClassCastException if the class of the specified key or value 26.16/8.23 * prevents it from being stored in this map 26.16/8.23 * @throws NullPointerException if the specified key or value is null 26.16/8.23 * and this map does not permit null keys or values 26.16/8.23 * @throws IllegalArgumentException if some property of the specified key 26.16/8.23 * or value prevents it from being stored in this map 26.16/8.23 */ 26.16/8.23 V put(K key, V value); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes the mapping for a key from this map if it is present 26.16/8.23 * (optional operation). More formally, if this map contains a mapping 26.16/8.23 * from key k to value v such that 26.16/8.23 * (key==null ? k==null : key.equals(k)), that mapping 26.16/8.23 * is removed. (The map can contain at most one such mapping.) 26.16/8.23 * 26.16/8.23 *

Returns the value to which this map previously associated the key, 26.16/8.23 * or null if the map contained no mapping for the key. 26.16/8.23 * 26.16/8.23 *

If this map permits null values, then a return value of 26.16/8.23 * null does not necessarily indicate that the map 26.16/8.23 * contained no mapping for the key; it's also possible that the map 26.16/8.23 * explicitly mapped the key to null. 26.16/8.23 * 26.16/8.23 *

The map will not contain a mapping for the specified key once the 26.16/8.23 * call returns. 26.16/8.23 * 26.16/8.23 * @param key key whose mapping is to be removed from the map 26.16/8.23 * @return the previous value associated with key, or 26.16/8.23 * null if there was no mapping for key. 26.16/8.23 * @throws UnsupportedOperationException if the remove operation 26.16/8.23 * is not supported by this map 26.16/8.23 * @throws ClassCastException if the key is of an inappropriate type for 26.16/8.23 * this map (optional) 26.16/8.23 * @throws NullPointerException if the specified key is null and this 26.16/8.23 * map does not permit null keys (optional) 26.16/8.23 */ 26.16/8.23 V remove(Object key); 26.16/8.23 26.16/8.23 26.16/8.23 // Bulk Operations 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Copies all of the mappings from the specified map to this map 26.16/8.23 * (optional operation). The effect of this call is equivalent to that 26.16/8.23 * of calling {@link #put(Object,Object) put(k, v)} on this map once 26.16/8.23 * for each mapping from key k to value v in the 26.16/8.23 * specified map. The behavior of this operation is undefined if the 26.16/8.23 * specified map is modified while the operation is in progress. 26.16/8.23 * 26.16/8.23 * @param m mappings to be stored in this map 26.16/8.23 * @throws UnsupportedOperationException if the putAll operation 26.16/8.23 * is not supported by this map 26.16/8.23 * @throws ClassCastException if the class of a key or value in the 26.16/8.23 * specified map prevents it from being stored in this map 26.16/8.23 * @throws NullPointerException if the specified map is null, or if 26.16/8.23 * this map does not permit null keys or values, and the 26.16/8.23 * specified map contains null keys or values 26.16/8.23 * @throws IllegalArgumentException if some property of a key or value in 26.16/8.23 * the specified map prevents it from being stored in this map 26.16/8.23 */ 26.16/8.23 void putAll(Map m); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes all of the mappings from this map (optional operation). 26.16/8.23 * The map will be empty after this call returns. 26.16/8.23 * 26.16/8.23 * @throws UnsupportedOperationException if the clear operation 26.16/8.23 * is not supported by this map 26.16/8.23 */ 26.16/8.23 void clear(); 26.16/8.23 26.16/8.23 26.16/8.23 // Views 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns a {@link Set} view of the keys contained in this map. 26.16/8.23 * The set is backed by the map, so changes to the map are 26.16/8.23 * reflected in the set, and vice-versa. If the map is modified 26.16/8.23 * while an iteration over the set is in progress (except through 26.16/8.23 * the iterator's own remove operation), the results of 26.16/8.23 * the iteration are undefined. The set supports element removal, 26.16/8.23 * which removes the corresponding mapping from the map, via the 26.16/8.23 * Iterator.remove, Set.remove, 26.16/8.23 * removeAll, retainAll, and clear 26.16/8.23 * operations. It does not support the add or addAll 26.16/8.23 * operations. 26.16/8.23 * 26.16/8.23 * @return a set view of the keys contained in this map 26.16/8.23 */ 26.16/8.23 Set keySet(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns a {@link Collection} view of the values contained in this map. 26.16/8.23 * The collection is backed by the map, so changes to the map are 26.16/8.23 * reflected in the collection, and vice-versa. If the map is 26.16/8.23 * modified while an iteration over the collection is in progress 26.16/8.23 * (except through the iterator's own remove operation), 26.16/8.23 * the results of the iteration are undefined. The collection 26.16/8.23 * supports element removal, which removes the corresponding 26.16/8.23 * mapping from the map, via the Iterator.remove, 26.16/8.23 * Collection.remove, removeAll, 26.16/8.23 * retainAll and clear operations. It does not 26.16/8.23 * support the add or addAll operations. 26.16/8.23 * 26.16/8.23 * @return a collection view of the values contained in this map 26.16/8.23 */ 26.16/8.23 Collection values(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns a {@link Set} view of the mappings contained in this map. 26.16/8.23 * The set is backed by the map, so changes to the map are 26.16/8.23 * reflected in the set, and vice-versa. If the map is modified 26.16/8.23 * while an iteration over the set is in progress (except through 26.16/8.23 * the iterator's own remove operation, or through the 26.16/8.23 * setValue operation on a map entry returned by the 26.16/8.23 * iterator) the results of the iteration are undefined. The set 26.16/8.23 * supports element removal, which removes the corresponding 26.16/8.23 * mapping from the map, via the Iterator.remove, 26.16/8.23 * Set.remove, removeAll, retainAll and 26.16/8.23 * clear operations. It does not support the 26.16/8.23 * add or addAll operations. 26.16/8.23 * 26.16/8.23 * @return a set view of the mappings contained in this map 26.16/8.23 */ 26.16/8.23 Set> entrySet(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * A map entry (key-value pair). The Map.entrySet method returns 26.16/8.23 * a collection-view of the map, whose elements are of this class. The 26.16/8.23 * only way to obtain a reference to a map entry is from the 26.16/8.23 * iterator of this collection-view. These Map.Entry objects are 26.16/8.23 * valid only for the duration of the iteration; more formally, 26.16/8.23 * the behavior of a map entry is undefined if the backing map has been 26.16/8.23 * modified after the entry was returned by the iterator, except through 26.16/8.23 * the setValue operation on the map entry. 26.16/8.23 * 26.16/8.23 * @see Map#entrySet() 26.16/8.23 * @since 1.2 26.16/8.23 */ 26.16/8.23 interface Entry { 26.16/8.23 /** 26.16/8.23 * Returns the key corresponding to this entry. 26.16/8.23 * 26.16/8.23 * @return the key corresponding to this entry 26.16/8.23 * @throws IllegalStateException implementations may, but are not 26.16/8.23 * required to, throw this exception if the entry has been 26.16/8.23 * removed from the backing map. 26.16/8.23 */ 26.16/8.23 K getKey(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the value corresponding to this entry. If the mapping 26.16/8.23 * has been removed from the backing map (by the iterator's 26.16/8.23 * remove operation), the results of this call are undefined. 26.16/8.23 * 26.16/8.23 * @return the value corresponding to this entry 26.16/8.23 * @throws IllegalStateException implementations may, but are not 26.16/8.23 * required to, throw this exception if the entry has been 26.16/8.23 * removed from the backing map. 26.16/8.23 */ 26.16/8.23 V getValue(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Replaces the value corresponding to this entry with the specified 26.16/8.23 * value (optional operation). (Writes through to the map.) The 26.16/8.23 * behavior of this call is undefined if the mapping has already been 26.16/8.23 * removed from the map (by the iterator's remove operation). 26.16/8.23 * 26.16/8.23 * @param value new value to be stored in this entry 26.16/8.23 * @return old value corresponding to the entry 26.16/8.23 * @throws UnsupportedOperationException if the put operation 26.16/8.23 * is not supported by the backing map 26.16/8.23 * @throws ClassCastException if the class of the specified value 26.16/8.23 * prevents it from being stored in the backing map 26.16/8.23 * @throws NullPointerException if the backing map does not permit 26.16/8.23 * null values, and the specified value is null 26.16/8.23 * @throws IllegalArgumentException if some property of this value 26.16/8.23 * prevents it from being stored in the backing map 26.16/8.23 * @throws IllegalStateException implementations may, but are not 26.16/8.23 * required to, throw this exception if the entry has been 26.16/8.23 * removed from the backing map. 26.16/8.23 */ 26.16/8.23 V setValue(V value); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Compares the specified object with this entry for equality. 26.16/8.23 * Returns true if the given object is also a map entry and 26.16/8.23 * the two entries represent the same mapping. More formally, two 26.16/8.23 * entries e1 and e2 represent the same mapping 26.16/8.23 * if

26.16/8.23	         *     (e1.getKey()==null ?
26.16/8.23	         *      e2.getKey()==null : e1.getKey().equals(e2.getKey()))  &&
26.16/8.23	         *     (e1.getValue()==null ?
26.16/8.23	         *      e2.getValue()==null : e1.getValue().equals(e2.getValue()))
26.16/8.23	         * 
26.16/8.23 * This ensures that the equals method works properly across 26.16/8.23 * different implementations of the Map.Entry interface. 26.16/8.23 * 26.16/8.23 * @param o object to be compared for equality with this map entry 26.16/8.23 * @return true if the specified object is equal to this map 26.16/8.23 * entry 26.16/8.23 */ 26.16/8.23 boolean equals(Object o); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the hash code value for this map entry. The hash code 26.16/8.23 * of a map entry e is defined to be:
26.16/8.23	         *     (e.getKey()==null   ? 0 : e.getKey().hashCode()) ^
26.16/8.23	         *     (e.getValue()==null ? 0 : e.getValue().hashCode())
26.16/8.23	         * 
26.16/8.23 * This ensures that e1.equals(e2) implies that 26.16/8.23 * e1.hashCode()==e2.hashCode() for any two Entries 26.16/8.23 * e1 and e2, as required by the general 26.16/8.23 * contract of Object.hashCode. 26.16/8.23 * 26.16/8.23 * @return the hash code value for this map entry 26.16/8.23 * @see Object#hashCode() 26.16/8.23 * @see Object#equals(Object) 26.16/8.23 * @see #equals(Object) 26.16/8.23 */ 26.16/8.23 int hashCode(); 26.16/8.23 } 26.16/8.23 26.16/8.23 // Comparison and hashing 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Compares the specified object with this map for equality. Returns 26.16/8.23 * true if the given object is also a map and the two maps 26.16/8.23 * represent the same mappings. More formally, two maps m1 and 26.16/8.23 * m2 represent the same mappings if 26.16/8.23 * m1.entrySet().equals(m2.entrySet()). This ensures that the 26.16/8.23 * equals method works properly across different implementations 26.16/8.23 * of the Map interface. 26.16/8.23 * 26.16/8.23 * @param o object to be compared for equality with this map 26.16/8.23 * @return true if the specified object is equal to this map 26.16/8.23 */ 26.16/8.23 boolean equals(Object o); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the hash code value for this map. The hash code of a map is 26.16/8.23 * defined to be the sum of the hash codes of each entry in the map's 26.16/8.23 * entrySet() view. This ensures that m1.equals(m2) 26.16/8.23 * implies that m1.hashCode()==m2.hashCode() for any two maps 26.16/8.23 * m1 and m2, as required by the general contract of 26.16/8.23 * {@link Object#hashCode}. 26.16/8.23 * 26.16/8.23 * @return the hash code value for this map 26.16/8.23 * @see Map.Entry#hashCode() 26.16/8.23 * @see Object#equals(Object) 26.16/8.23 * @see #equals(Object) 26.16/8.23 */ 26.16/8.23 int hashCode(); 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Copyright 1994-1998 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.23 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.23 * 26.16/8.23 * This code is free software; you can redistribute it and/or modify it 26.16/8.23 * under the terms of the GNU General Public License version 2 only, as 26.16/8.23 * published by the Free Software Foundation. Sun designates this 26.16/8.23 * particular file as subject to the "Classpath" exception as provided 26.16/8.23 * by Sun in the LICENSE file that accompanied this code. 26.16/8.23 * 26.16/8.23 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.23 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.23 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.23 * accompanied this code). 26.16/8.23 * 26.16/8.23 * You should have received a copy of the GNU General Public License version 26.16/8.23 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.23 * 26.16/8.23 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.23 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.23 * have any questions. 26.16/8.23 */ 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Thrown by the nextElement method of an 26.16/8.23 * Enumeration to indicate that there are no more 26.16/8.23 * elements in the enumeration. 26.16/8.23 * 26.16/8.23 * @author unascribed 26.16/8.23 * @see java.util.Enumeration 26.16/8.23 * @see java.util.Enumeration#nextElement() 26.16/8.23 * @since JDK1.0 26.16/8.23 */ 26.16/8.23 public 26.16/8.23 class NoSuchElementException extends RuntimeException { 26.16/8.23 /** 26.16/8.23 * Constructs a NoSuchElementException with null 26.16/8.23 * as its error message string. 26.16/8.23 */ 26.16/8.23 public NoSuchElementException() { 26.16/8.23 super(); 26.16/8.23 } 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Constructs a NoSuchElementException, saving a reference 26.16/8.23 * to the error message string s for later retrieval by the 26.16/8.23 * getMessage method. 26.16/8.23 * 26.16/8.23 * @param s the detail message. 26.16/8.23 */ 26.16/8.23 public NoSuchElementException(String s) { 26.16/8.23 super(s); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 public class Random { 26.16/8.23 static String[] args; 26.16/8.23 static int index = 0; 26.16/8.23 26.16/8.23 public static int random() { 26.16/8.23 String string = args[index]; 26.16/8.23 index++; 26.16/8.23 return string.length(); 26.16/8.23 } 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.23 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.23 * 26.16/8.23 * This code is free software; you can redistribute it and/or modify it 26.16/8.23 * under the terms of the GNU General Public License version 2 only, as 26.16/8.23 * published by the Free Software Foundation. Sun designates this 26.16/8.23 * particular file as subject to the "Classpath" exception as provided 26.16/8.23 * by Sun in the LICENSE file that accompanied this code. 26.16/8.23 * 26.16/8.23 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.23 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.23 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.23 * accompanied this code). 26.16/8.23 * 26.16/8.23 * You should have received a copy of the GNU General Public License version 26.16/8.23 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.23 * 26.16/8.23 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.23 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.23 * have any questions. 26.16/8.23 */ 26.16/8.23 26.16/8.23 package javaUtilEx; 26.16/8.23 26.16/8.23 /** 26.16/8.23 * A collection that contains no duplicate elements. More formally, sets 26.16/8.23 * contain no pair of elements e1 and e2 such that 26.16/8.23 * e1.equals(e2), and at most one null element. As implied by 26.16/8.23 * its name, this interface models the mathematical set abstraction. 26.16/8.23 * 26.16/8.23 *

The Set interface places additional stipulations, beyond those 26.16/8.23 * inherited from the Collection interface, on the contracts of all 26.16/8.23 * constructors and on the contracts of the add, equals and 26.16/8.23 * hashCode methods. Declarations for other inherited methods are 26.16/8.23 * also included here for convenience. (The specifications accompanying these 26.16/8.23 * declarations have been tailored to the Set interface, but they do 26.16/8.23 * not contain any additional stipulations.) 26.16/8.23 * 26.16/8.23 *

The additional stipulation on constructors is, not surprisingly, 26.16/8.23 * that all constructors must create a set that contains no duplicate elements 26.16/8.23 * (as defined above). 26.16/8.23 * 26.16/8.23 *

Note: Great care must be exercised if mutable objects are used as set 26.16/8.23 * elements. The behavior of a set is not specified if the value of an object 26.16/8.23 * is changed in a manner that affects equals comparisons while the 26.16/8.23 * object is an element in the set. A special case of this prohibition is 26.16/8.23 * that it is not permissible for a set to contain itself as an element. 26.16/8.23 * 26.16/8.23 *

Some set implementations have restrictions on the elements that 26.16/8.23 * they may contain. For example, some implementations prohibit null elements, 26.16/8.23 * and some have restrictions on the types of their elements. Attempting to 26.16/8.23 * add an ineligible element throws an unchecked exception, typically 26.16/8.23 * NullPointerException or ClassCastException. Attempting 26.16/8.23 * to query the presence of an ineligible element may throw an exception, 26.16/8.23 * or it may simply return false; some implementations will exhibit the former 26.16/8.23 * behavior and some will exhibit the latter. More generally, attempting an 26.16/8.23 * operation on an ineligible element whose completion would not result in 26.16/8.23 * the insertion of an ineligible element into the set may throw an 26.16/8.23 * exception or it may succeed, at the option of the implementation. 26.16/8.23 * Such exceptions are marked as "optional" in the specification for this 26.16/8.23 * interface. 26.16/8.23 * 26.16/8.23 *

This interface is a member of the 26.16/8.23 * 26.16/8.23 * Java Collections Framework. 26.16/8.23 * 26.16/8.23 * @param the type of elements maintained by this set 26.16/8.23 * 26.16/8.23 * @author Josh Bloch 26.16/8.23 * @author Neal Gafter 26.16/8.23 * @see Collection 26.16/8.23 * @see List 26.16/8.23 * @see SortedSet 26.16/8.23 * @see HashSet 26.16/8.23 * @see TreeSet 26.16/8.23 * @see AbstractSet 26.16/8.23 * @see Collections#singleton(java.lang.Object) 26.16/8.23 * @see Collections#EMPTY_SET 26.16/8.23 * @since 1.2 26.16/8.23 */ 26.16/8.23 26.16/8.23 public interface Set extends Collection { 26.16/8.23 // Query Operations 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the number of elements in this set (its cardinality). If this 26.16/8.23 * set contains more than Integer.MAX_VALUE elements, returns 26.16/8.23 * Integer.MAX_VALUE. 26.16/8.23 * 26.16/8.23 * @return the number of elements in this set (its cardinality) 26.16/8.23 */ 26.16/8.23 int size(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns true if this set contains no elements. 26.16/8.23 * 26.16/8.23 * @return true if this set contains no elements 26.16/8.23 */ 26.16/8.23 boolean isEmpty(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns true if this set contains the specified element. 26.16/8.23 * More formally, returns true if and only if this set 26.16/8.23 * contains an element e such that 26.16/8.23 * (o==null ? e==null : o.equals(e)). 26.16/8.23 * 26.16/8.23 * @param o element whose presence in this set is to be tested 26.16/8.23 * @return true if this set contains the specified element 26.16/8.23 * @throws ClassCastException if the type of the specified element 26.16/8.23 * is incompatible with this set (optional) 26.16/8.23 * @throws NullPointerException if the specified element is null and this 26.16/8.23 * set does not permit null elements (optional) 26.16/8.23 */ 26.16/8.23 boolean contains(Object o); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns an iterator over the elements in this set. The elements are 26.16/8.23 * returned in no particular order (unless this set is an instance of some 26.16/8.23 * class that provides a guarantee). 26.16/8.23 * 26.16/8.23 * @return an iterator over the elements in this set 26.16/8.23 */ 26.16/8.23 Iterator iterator(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns an array containing all of the elements in this set. 26.16/8.23 * If this set makes any guarantees as to what order its elements 26.16/8.23 * are returned by its iterator, this method must return the 26.16/8.23 * elements in the same order. 26.16/8.23 * 26.16/8.23 *

The returned array will be "safe" in that no references to it 26.16/8.23 * are maintained by this set. (In other words, this method must 26.16/8.23 * allocate a new array even if this set is backed by an array). 26.16/8.23 * The caller is thus free to modify the returned array. 26.16/8.23 * 26.16/8.23 *

This method acts as bridge between array-based and collection-based 26.16/8.23 * APIs. 26.16/8.23 * 26.16/8.23 * @return an array containing all the elements in this set 26.16/8.23 */ 26.16/8.23 Object[] toArray(); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns an array containing all of the elements in this set; the 26.16/8.23 * runtime type of the returned array is that of the specified array. 26.16/8.23 * If the set fits in the specified array, it is returned therein. 26.16/8.23 * Otherwise, a new array is allocated with the runtime type of the 26.16/8.23 * specified array and the size of this set. 26.16/8.23 * 26.16/8.23 *

If this set fits in the specified array with room to spare 26.16/8.23 * (i.e., the array has more elements than this set), the element in 26.16/8.23 * the array immediately following the end of the set is set to 26.16/8.23 * null. (This is useful in determining the length of this 26.16/8.23 * set only if the caller knows that this set does not contain 26.16/8.23 * any null elements.) 26.16/8.23 * 26.16/8.23 *

If this set makes any guarantees as to what order its elements 26.16/8.23 * are returned by its iterator, this method must return the elements 26.16/8.23 * in the same order. 26.16/8.23 * 26.16/8.23 *

Like the {@link #toArray()} method, this method acts as bridge between 26.16/8.23 * array-based and collection-based APIs. Further, this method allows 26.16/8.23 * precise control over the runtime type of the output array, and may, 26.16/8.23 * under certain circumstances, be used to save allocation costs. 26.16/8.23 * 26.16/8.23 *

Suppose x is a set known to contain only strings. 26.16/8.23 * The following code can be used to dump the set into a newly allocated 26.16/8.23 * array of String: 26.16/8.23 * 26.16/8.23 *

26.16/8.23	     *     String[] y = x.toArray(new String[0]);
26.16/8.23 * 26.16/8.23 * Note that toArray(new Object[0]) is identical in function to 26.16/8.23 * toArray(). 26.16/8.23 * 26.16/8.23 * @param a the array into which the elements of this set are to be 26.16/8.23 * stored, if it is big enough; otherwise, a new array of the same 26.16/8.23 * runtime type is allocated for this purpose. 26.16/8.23 * @return an array containing all the elements in this set 26.16/8.23 * @throws ArrayStoreException if the runtime type of the specified array 26.16/8.23 * is not a supertype of the runtime type of every element in this 26.16/8.23 * set 26.16/8.23 * @throws NullPointerException if the specified array is null 26.16/8.23 */ 26.16/8.23 T[] toArray(T[] a); 26.16/8.23 26.16/8.23 26.16/8.23 // Modification Operations 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Adds the specified element to this set if it is not already present 26.16/8.23 * (optional operation). More formally, adds the specified element 26.16/8.23 * e to this set if the set contains no element e2 26.16/8.23 * such that 26.16/8.23 * (e==null ? e2==null : e.equals(e2)). 26.16/8.23 * If this set already contains the element, the call leaves the set 26.16/8.23 * unchanged and returns false. In combination with the 26.16/8.23 * restriction on constructors, this ensures that sets never contain 26.16/8.23 * duplicate elements. 26.16/8.23 * 26.16/8.23 *

The stipulation above does not imply that sets must accept all 26.16/8.23 * elements; sets may refuse to add any particular element, including 26.16/8.23 * null, and throw an exception, as described in the 26.16/8.23 * specification for {@link Collection#add Collection.add}. 26.16/8.23 * Individual set implementations should clearly document any 26.16/8.23 * restrictions on the elements that they may contain. 26.16/8.23 * 26.16/8.23 * @param e element to be added to this set 26.16/8.23 * @return true if this set did not already contain the specified 26.16/8.23 * element 26.16/8.23 * @throws UnsupportedOperationException if the add operation 26.16/8.23 * is not supported by this set 26.16/8.23 * @throws ClassCastException if the class of the specified element 26.16/8.23 * prevents it from being added to this set 26.16/8.23 * @throws NullPointerException if the specified element is null and this 26.16/8.23 * set does not permit null elements 26.16/8.23 * @throws IllegalArgumentException if some property of the specified element 26.16/8.23 * prevents it from being added to this set 26.16/8.23 */ 26.16/8.23 boolean add(E e); 26.16/8.23 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes the specified element from this set if it is present 26.16/8.23 * (optional operation). More formally, removes an element e 26.16/8.23 * such that 26.16/8.23 * (o==null ? e==null : o.equals(e)), if 26.16/8.23 * this set contains such an element. Returns true if this set 26.16/8.23 * contained the element (or equivalently, if this set changed as a 26.16/8.23 * result of the call). (This set will not contain the element once the 26.16/8.23 * call returns.) 26.16/8.23 * 26.16/8.23 * @param o object to be removed from this set, if present 26.16/8.23 * @return true if this set contained the specified element 26.16/8.23 * @throws ClassCastException if the type of the specified element 26.16/8.23 * is incompatible with this set (optional) 26.16/8.23 * @throws NullPointerException if the specified element is null and this 26.16/8.23 * set does not permit null elements (optional) 26.16/8.23 * @throws UnsupportedOperationException if the remove operation 26.16/8.23 * is not supported by this set 26.16/8.23 */ 26.16/8.23 boolean remove(Object o); 26.16/8.23 26.16/8.23 26.16/8.23 // Bulk Operations 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns true if this set contains all of the elements of the 26.16/8.23 * specified collection. If the specified collection is also a set, this 26.16/8.23 * method returns true if it is a subset of this set. 26.16/8.23 * 26.16/8.23 * @param c collection to be checked for containment in this set 26.16/8.23 * @return true if this set contains all of the elements of the 26.16/8.23 * specified collection 26.16/8.23 * @throws ClassCastException if the types of one or more elements 26.16/8.23 * in the specified collection are incompatible with this 26.16/8.23 * set (optional) 26.16/8.23 * @throws NullPointerException if the specified collection contains one 26.16/8.23 * or more null elements and this set does not permit null 26.16/8.23 * elements (optional), or if the specified collection is null 26.16/8.23 * @see #contains(Object) 26.16/8.23 */ 26.16/8.23 boolean containsAll(Collection c); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Adds all of the elements in the specified collection to this set if 26.16/8.23 * they're not already present (optional operation). If the specified 26.16/8.23 * collection is also a set, the addAll operation effectively 26.16/8.23 * modifies this set so that its value is the union of the two 26.16/8.23 * sets. The behavior of this operation is undefined if the specified 26.16/8.23 * collection is modified while the operation is in progress. 26.16/8.23 * 26.16/8.23 * @param c collection containing elements to be added to this set 26.16/8.23 * @return true if this set changed as a result of the call 26.16/8.23 * 26.16/8.23 * @throws UnsupportedOperationException if the addAll operation 26.16/8.23 * is not supported by this set 26.16/8.23 * @throws ClassCastException if the class of an element of the 26.16/8.23 * specified collection prevents it from being added to this set 26.16/8.23 * @throws NullPointerException if the specified collection contains one 26.16/8.23 * or more null elements and this set does not permit null 26.16/8.23 * elements, or if the specified collection is null 26.16/8.23 * @throws IllegalArgumentException if some property of an element of the 26.16/8.23 * specified collection prevents it from being added to this set 26.16/8.23 * @see #add(Object) 26.16/8.23 */ 26.16/8.23 boolean addAll(Collection c); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Retains only the elements in this set that are contained in the 26.16/8.23 * specified collection (optional operation). In other words, removes 26.16/8.23 * from this set all of its elements that are not contained in the 26.16/8.23 * specified collection. If the specified collection is also a set, this 26.16/8.23 * operation effectively modifies this set so that its value is the 26.16/8.23 * intersection of the two sets. 26.16/8.23 * 26.16/8.23 * @param c collection containing elements to be retained in this set 26.16/8.23 * @return true if this set changed as a result of the call 26.16/8.23 * @throws UnsupportedOperationException if the retainAll operation 26.16/8.23 * is not supported by this set 26.16/8.23 * @throws ClassCastException if the class of an element of this set 26.16/8.23 * is incompatible with the specified collection (optional) 26.16/8.23 * @throws NullPointerException if this set contains a null element and the 26.16/8.23 * specified collection does not permit null elements (optional), 26.16/8.23 * or if the specified collection is null 26.16/8.23 * @see #remove(Object) 26.16/8.23 */ 26.16/8.23 boolean retainAll(Collection c); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes from this set all of its elements that are contained in the 26.16/8.23 * specified collection (optional operation). If the specified 26.16/8.23 * collection is also a set, this operation effectively modifies this 26.16/8.23 * set so that its value is the asymmetric set difference of 26.16/8.23 * the two sets. 26.16/8.23 * 26.16/8.23 * @param c collection containing elements to be removed from this set 26.16/8.23 * @return true if this set changed as a result of the call 26.16/8.23 * @throws UnsupportedOperationException if the removeAll operation 26.16/8.23 * is not supported by this set 26.16/8.23 * @throws ClassCastException if the class of an element of this set 26.16/8.23 * is incompatible with the specified collection (optional) 26.16/8.23 * @throws NullPointerException if this set contains a null element and the 26.16/8.23 * specified collection does not permit null elements (optional), 26.16/8.23 * or if the specified collection is null 26.16/8.23 * @see #remove(Object) 26.16/8.23 * @see #contains(Object) 26.16/8.23 */ 26.16/8.23 boolean removeAll(Collection c); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Removes all of the elements from this set (optional operation). 26.16/8.23 * The set will be empty after this call returns. 26.16/8.23 * 26.16/8.23 * @throws UnsupportedOperationException if the clear method 26.16/8.23 * is not supported by this set 26.16/8.23 */ 26.16/8.23 void clear(); 26.16/8.23 26.16/8.23 26.16/8.23 // Comparison and hashing 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Compares the specified object with this set for equality. Returns 26.16/8.23 * true if the specified object is also a set, the two sets 26.16/8.23 * have the same size, and every member of the specified set is 26.16/8.23 * contained in this set (or equivalently, every member of this set is 26.16/8.23 * contained in the specified set). This definition ensures that the 26.16/8.23 * equals method works properly across different implementations of the 26.16/8.23 * set interface. 26.16/8.23 * 26.16/8.23 * @param o object to be compared for equality with this set 26.16/8.23 * @return true if the specified object is equal to this set 26.16/8.23 */ 26.16/8.23 boolean equals(Object o); 26.16/8.23 26.16/8.23 /** 26.16/8.23 * Returns the hash code value for this set. The hash code of a set is 26.16/8.23 * defined to be the sum of the hash codes of the elements in the set, 26.16/8.23 * where the hash code of a null element is defined to be zero. 26.16/8.23 * This ensures that s1.equals(s2) implies that 26.16/8.23 * s1.hashCode()==s2.hashCode() for any two sets s1 26.16/8.23 * and s2, as required by the general contract of 26.16/8.23 * {@link Object#hashCode}. 26.16/8.23 * 26.16/8.23 * @return the hash code value for this set 26.16/8.23 * @see Object#equals(Object) 26.16/8.23 * @see Set#equals(Object) 26.16/8.23 */ 26.16/8.23 int hashCode(); 26.16/8.23 } 26.16/8.23 26.16/8.23 26.16/8.23 /* 26.16/8.23 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.23 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.23 * 26.16/8.23 * This code is free software; you can redistribute it and/or modify it 26.16/8.23 * under the terms of the GNU General Public License version 2 only, as 26.16/8.23 * published by the Free Software Foundation. Sun designates this 26.16/8.23 * particular file as subject to the "Classpath" exception as provided 26.16/8.23 * by Sun in the LICENSE file that accompanied this code. 26.16/8.23 * 26.16/8.23 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.23 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.23 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.23 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.23 * accompanied this code). 26.16/8.23 * 26.16/8.23 * You should have received a copy of the GNU General Public License version 26.16/8.23 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.23 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.23 * 26.16/8.23 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.24 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.24 * have any questions. 26.16/8.24 */ 26.16/8.24 26.16/8.24 package javaUtilEx; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Thrown to indicate that the requested operation is not supported.

26.16/8.24 * 26.16/8.24 * This class is a member of the 26.16/8.24 * 26.16/8.24 * Java Collections Framework. 26.16/8.24 * 26.16/8.24 * @author Josh Bloch 26.16/8.24 * @since 1.2 26.16/8.24 */ 26.16/8.24 public class UnsupportedOperationException extends RuntimeException { 26.16/8.24 /** 26.16/8.24 * Constructs an UnsupportedOperationException with no detail message. 26.16/8.24 */ 26.16/8.24 public UnsupportedOperationException() { 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Constructs an UnsupportedOperationException with the specified 26.16/8.24 * detail message. 26.16/8.24 * 26.16/8.24 * @param message the detail message 26.16/8.24 */ 26.16/8.24 public UnsupportedOperationException(String message) { 26.16/8.24 super(message); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Constructs a new exception with the specified detail message and 26.16/8.24 * cause. 26.16/8.24 * 26.16/8.24 *

Note that the detail message associated with cause is 26.16/8.24 * not automatically incorporated in this exception's detail 26.16/8.24 * message. 26.16/8.24 * 26.16/8.24 * @param message the detail message (which is saved for later retrieval 26.16/8.24 * by the {@link Throwable#getMessage()} method). 26.16/8.24 * @param cause the cause (which is saved for later retrieval by the 26.16/8.24 * {@link Throwable#getCause()} method). (A null value 26.16/8.24 * is permitted, and indicates that the cause is nonexistent or 26.16/8.24 * unknown.) 26.16/8.24 * @since 1.5 26.16/8.24 */ 26.16/8.24 public UnsupportedOperationException(String message, Throwable cause) { 26.16/8.24 super(message, cause); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Constructs a new exception with the specified cause and a detail 26.16/8.24 * message of (cause==null ? null : cause.toString()) (which 26.16/8.24 * typically contains the class and detail message of cause). 26.16/8.24 * This constructor is useful for exceptions that are little more than 26.16/8.24 * wrappers for other throwables (for example, {@link 26.16/8.24 * java.security.PrivilegedActionException}). 26.16/8.24 * 26.16/8.24 * @param cause the cause (which is saved for later retrieval by the 26.16/8.24 * {@link Throwable#getCause()} method). (A null value is 26.16/8.24 * permitted, and indicates that the cause is nonexistent or 26.16/8.24 * unknown.) 26.16/8.24 * @since 1.5 26.16/8.24 */ 26.16/8.24 public UnsupportedOperationException(Throwable cause) { 26.16/8.24 super(cause); 26.16/8.24 } 26.16/8.24 26.16/8.24 static final long serialVersionUID = -1242599979055084673L; 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 26.16/8.24 ---------------------------------------- 26.16/8.24 26.16/8.24 (1) BareJBCToJBCProof (EQUIVALENT) 26.16/8.24 initialized classpath 26.16/8.24 ---------------------------------------- 26.16/8.24 26.16/8.24 (2) 26.16/8.24 Obligation: 26.16/8.24 need to prove termination of the following program: 26.16/8.24 /* 26.16/8.24 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.24 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.24 * 26.16/8.24 * This code is free software; you can redistribute it and/or modify it 26.16/8.24 * under the terms of the GNU General Public License version 2 only, as 26.16/8.24 * published by the Free Software Foundation. Sun designates this 26.16/8.24 * particular file as subject to the "Classpath" exception as provided 26.16/8.24 * by Sun in the LICENSE file that accompanied this code. 26.16/8.24 * 26.16/8.24 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.24 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.24 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.24 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.24 * accompanied this code). 26.16/8.24 * 26.16/8.24 * You should have received a copy of the GNU General Public License version 26.16/8.24 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.24 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.24 * 26.16/8.24 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.24 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.24 * have any questions. 26.16/8.24 */ 26.16/8.24 26.16/8.24 package javaUtilEx; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * This class provides a skeletal implementation of the Collection 26.16/8.24 * interface, to minimize the effort required to implement this interface.

26.16/8.24 * 26.16/8.24 * To implement an unmodifiable collection, the programmer needs only to 26.16/8.24 * extend this class and provide implementations for the iterator and 26.16/8.24 * size methods. (The iterator returned by the iterator 26.16/8.24 * method must implement hasNext and next.)

26.16/8.24 * 26.16/8.24 * To implement a modifiable collection, the programmer must additionally 26.16/8.24 * override this class's add method (which otherwise throws an 26.16/8.24 * UnsupportedOperationException), and the iterator returned by the 26.16/8.24 * iterator method must additionally implement its remove 26.16/8.24 * method.

26.16/8.24 * 26.16/8.24 * The programmer should generally provide a void (no argument) and 26.16/8.24 * Collection constructor, as per the recommendation in the 26.16/8.24 * Collection interface specification.

26.16/8.24 * 26.16/8.24 * The documentation for each non-abstract method in this class describes its 26.16/8.24 * implementation in detail. Each of these methods may be overridden if 26.16/8.24 * the collection being implemented admits a more efficient implementation.

26.16/8.24 * 26.16/8.24 * This class is a member of the 26.16/8.24 * 26.16/8.24 * Java Collections Framework. 26.16/8.24 * 26.16/8.24 * @author Josh Bloch 26.16/8.24 * @author Neal Gafter 26.16/8.24 * @see Collection 26.16/8.24 * @since 1.2 26.16/8.24 */ 26.16/8.24 26.16/8.24 public abstract class AbstractCollection implements Collection { 26.16/8.24 /** 26.16/8.24 * Sole constructor. (For invocation by subclass constructors, typically 26.16/8.24 * implicit.) 26.16/8.24 */ 26.16/8.24 protected AbstractCollection() { 26.16/8.24 } 26.16/8.24 26.16/8.24 // Query Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns an iterator over the elements contained in this collection. 26.16/8.24 * 26.16/8.24 * @return an iterator over the elements contained in this collection 26.16/8.24 */ 26.16/8.24 public abstract Iterator iterator(); 26.16/8.24 26.16/8.24 public abstract int size(); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation returns size() == 0. 26.16/8.24 */ 26.16/8.24 public boolean isEmpty() { 26.16/8.24 return size() == 0; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over the elements in the collection, 26.16/8.24 * checking each element in turn for equality with the specified element. 26.16/8.24 * 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public boolean contains(Object o) { 26.16/8.24 Iterator e = iterator(); 26.16/8.24 if (o==null) { 26.16/8.24 while (e.hasNext()) 26.16/8.24 if (e.next()==null) 26.16/8.24 return true; 26.16/8.24 } else { 26.16/8.24 while (e.hasNext()) 26.16/8.24 if (o.equals(e.next())) 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 return false; 26.16/8.24 } 26.16/8.24 26.16/8.24 // Modification Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation always throws an 26.16/8.24 * UnsupportedOperationException. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.24 * @throws IllegalStateException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public boolean add(E e) { 26.16/8.24 throw new UnsupportedOperationException(); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over the collection looking for the 26.16/8.24 * specified element. If it finds the element, it removes the element 26.16/8.24 * from the collection using the iterator's remove method. 26.16/8.24 * 26.16/8.24 *

Note that this implementation throws an 26.16/8.24 * UnsupportedOperationException if the iterator returned by this 26.16/8.24 * collection's iterator method does not implement the remove 26.16/8.24 * method and this collection contains the specified object. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public boolean remove(Object o) { 26.16/8.24 Iterator e = iterator(); 26.16/8.24 if (o==null) { 26.16/8.24 while (e.hasNext()) { 26.16/8.24 if (e.next()==null) { 26.16/8.24 e.remove(); 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 } else { 26.16/8.24 while (e.hasNext()) { 26.16/8.24 if (o.equals(e.next())) { 26.16/8.24 e.remove(); 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 } 26.16/8.24 return false; 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 // Bulk Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over the specified collection, 26.16/8.24 * checking each element returned by the iterator in turn to see 26.16/8.24 * if it's contained in this collection. If all elements are so 26.16/8.24 * contained true is returned, otherwise false. 26.16/8.24 * 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 * @see #contains(Object) 26.16/8.24 */ 26.16/8.24 public boolean containsAll(Collection c) { 26.16/8.24 Iterator e = c.iterator(); 26.16/8.24 while (e.hasNext()) 26.16/8.24 if (!contains(e.next())) 26.16/8.24 return false; 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over the specified collection, and adds 26.16/8.24 * each object returned by the iterator to this collection, in turn. 26.16/8.24 * 26.16/8.24 *

Note that this implementation will throw an 26.16/8.24 * UnsupportedOperationException unless add is 26.16/8.24 * overridden (assuming the specified collection is non-empty). 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.24 * @throws IllegalStateException {@inheritDoc} 26.16/8.24 * 26.16/8.24 * @see #add(Object) 26.16/8.24 */ 26.16/8.24 public boolean addAll(Collection c) { 26.16/8.24 boolean modified = false; 26.16/8.24 Iterator e = c.iterator(); 26.16/8.24 while (e.hasNext()) { 26.16/8.24 if (add(e.next())) 26.16/8.24 modified = true; 26.16/8.24 } 26.16/8.24 return modified; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over this collection, checking each 26.16/8.24 * element returned by the iterator in turn to see if it's contained 26.16/8.24 * in the specified collection. If it's so contained, it's removed from 26.16/8.24 * this collection with the iterator's remove method. 26.16/8.24 * 26.16/8.24 *

Note that this implementation will throw an 26.16/8.24 * UnsupportedOperationException if the iterator returned by the 26.16/8.24 * iterator method does not implement the remove method 26.16/8.24 * and this collection contains one or more elements in common with the 26.16/8.24 * specified collection. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 * 26.16/8.24 * @see #remove(Object) 26.16/8.24 * @see #contains(Object) 26.16/8.24 */ 26.16/8.24 public boolean removeAll(Collection c) { 26.16/8.24 boolean modified = false; 26.16/8.24 Iterator e = iterator(); 26.16/8.24 while (e.hasNext()) { 26.16/8.24 if (c.contains(e.next())) { 26.16/8.24 e.remove(); 26.16/8.24 modified = true; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 return modified; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over this collection, checking each 26.16/8.24 * element returned by the iterator in turn to see if it's contained 26.16/8.24 * in the specified collection. If it's not so contained, it's removed 26.16/8.24 * from this collection with the iterator's remove method. 26.16/8.24 * 26.16/8.24 *

Note that this implementation will throw an 26.16/8.24 * UnsupportedOperationException if the iterator returned by the 26.16/8.24 * iterator method does not implement the remove method 26.16/8.24 * and this collection contains one or more elements not present in the 26.16/8.24 * specified collection. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 * 26.16/8.24 * @see #remove(Object) 26.16/8.24 * @see #contains(Object) 26.16/8.24 */ 26.16/8.24 public boolean retainAll(Collection c) { 26.16/8.24 boolean modified = false; 26.16/8.24 Iterator e = iterator(); 26.16/8.24 while (e.hasNext()) { 26.16/8.24 if (!c.contains(e.next())) { 26.16/8.24 e.remove(); 26.16/8.24 modified = true; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 return modified; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over this collection, removing each 26.16/8.24 * element using the Iterator.remove operation. Most 26.16/8.24 * implementations will probably choose to override this method for 26.16/8.24 * efficiency. 26.16/8.24 * 26.16/8.24 *

Note that this implementation will throw an 26.16/8.24 * UnsupportedOperationException if the iterator returned by this 26.16/8.24 * collection's iterator method does not implement the 26.16/8.24 * remove method and this collection is non-empty. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public void clear() { 26.16/8.24 Iterator e = iterator(); 26.16/8.24 while (e.hasNext()) { 26.16/8.24 e.next(); 26.16/8.24 e.remove(); 26.16/8.24 } 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 // String conversion 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns a string representation of this collection. The string 26.16/8.24 * representation consists of a list of the collection's elements in the 26.16/8.24 * order they are returned by its iterator, enclosed in square brackets 26.16/8.24 * ("[]"). Adjacent elements are separated by the characters 26.16/8.24 * ", " (comma and space). Elements are converted to strings as 26.16/8.24 * by {@link String#valueOf(Object)}. 26.16/8.24 * 26.16/8.24 * @return a string representation of this collection 26.16/8.24 */ 26.16/8.24 public String toString() { 26.16/8.24 Iterator i = iterator(); 26.16/8.24 if (! i.hasNext()) 26.16/8.24 return "[]"; 26.16/8.24 26.16/8.24 String sb = ""; 26.16/8.24 sb = sb + "["; 26.16/8.24 for (;;) { 26.16/8.24 E e = i.next(); 26.16/8.24 sb = sb + (e == this ? "(this Collection)" : e); 26.16/8.24 if (! i.hasNext()) { 26.16/8.24 sb = sb + "]"; 26.16/8.24 return sb; 26.16/8.24 } 26.16/8.24 sb = sb + ", "; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 /* 26.16/8.24 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.24 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.24 * 26.16/8.24 * This code is free software; you can redistribute it and/or modify it 26.16/8.24 * under the terms of the GNU General Public License version 2 only, as 26.16/8.24 * published by the Free Software Foundation. Sun designates this 26.16/8.24 * particular file as subject to the "Classpath" exception as provided 26.16/8.24 * by Sun in the LICENSE file that accompanied this code. 26.16/8.24 * 26.16/8.24 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.24 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.24 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.24 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.24 * accompanied this code). 26.16/8.24 * 26.16/8.24 * You should have received a copy of the GNU General Public License version 26.16/8.24 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.24 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.24 * 26.16/8.24 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.24 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.24 * have any questions. 26.16/8.24 */ 26.16/8.24 26.16/8.24 package javaUtilEx; 26.16/8.24 import javaUtilEx.Map.Entry; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * This class provides a skeletal implementation of the Map 26.16/8.24 * interface, to minimize the effort required to implement this interface. 26.16/8.24 * 26.16/8.24 *

To implement an unmodifiable map, the programmer needs only to extend this 26.16/8.24 * class and provide an implementation for the entrySet method, which 26.16/8.24 * returns a set-view of the map's mappings. Typically, the returned set 26.16/8.24 * will, in turn, be implemented atop AbstractSet. This set should 26.16/8.24 * not support the add or remove methods, and its iterator 26.16/8.24 * should not support the remove method. 26.16/8.24 * 26.16/8.24 *

To implement a modifiable map, the programmer must additionally override 26.16/8.24 * this class's put method (which otherwise throws an 26.16/8.24 * UnsupportedOperationException), and the iterator returned by 26.16/8.24 * entrySet().iterator() must additionally implement its 26.16/8.24 * remove method. 26.16/8.24 * 26.16/8.24 *

The programmer should generally provide a void (no argument) and map 26.16/8.24 * constructor, as per the recommendation in the Map interface 26.16/8.24 * specification. 26.16/8.24 * 26.16/8.24 *

The documentation for each non-abstract method in this class describes its 26.16/8.24 * implementation in detail. Each of these methods may be overridden if the 26.16/8.24 * map being implemented admits a more efficient implementation. 26.16/8.24 * 26.16/8.24 *

This class is a member of the 26.16/8.24 * 26.16/8.24 * Java Collections Framework. 26.16/8.24 * 26.16/8.24 * @param the type of keys maintained by this map 26.16/8.24 * @param the type of mapped values 26.16/8.24 * 26.16/8.24 * @author Josh Bloch 26.16/8.24 * @author Neal Gafter 26.16/8.24 * @see Map 26.16/8.24 * @see Collection 26.16/8.24 * @since 1.2 26.16/8.24 */ 26.16/8.24 26.16/8.24 public abstract class AbstractMap implements Map { 26.16/8.24 /** 26.16/8.24 * Sole constructor. (For invocation by subclass constructors, typically 26.16/8.24 * implicit.) 26.16/8.24 */ 26.16/8.24 protected AbstractMap() { 26.16/8.24 } 26.16/8.24 26.16/8.24 // Query Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation returns entrySet().size(). 26.16/8.24 */ 26.16/8.24 public int size() { 26.16/8.24 return entrySet().size(); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation returns size() == 0. 26.16/8.24 */ 26.16/8.24 public boolean isEmpty() { 26.16/8.24 return size() == 0; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over entrySet() searching 26.16/8.24 * for an entry with the specified value. If such an entry is found, 26.16/8.24 * true is returned. If the iteration terminates without 26.16/8.24 * finding such an entry, false is returned. Note that this 26.16/8.24 * implementation requires linear time in the size of the map. 26.16/8.24 * 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public boolean containsValue(Object value) { 26.16/8.24 Iterator> i = entrySet().iterator(); 26.16/8.24 if (value==null) { 26.16/8.24 while (i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (e.getValue()==null) 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 } else { 26.16/8.24 while (i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (value.equals(e.getValue())) 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 return false; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over entrySet() searching 26.16/8.24 * for an entry with the specified key. If such an entry is found, 26.16/8.24 * true is returned. If the iteration terminates without 26.16/8.24 * finding such an entry, false is returned. Note that this 26.16/8.24 * implementation requires linear time in the size of the map; many 26.16/8.24 * implementations will override this method. 26.16/8.24 * 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public boolean containsKey(Object key) { 26.16/8.24 Iterator> i = entrySet().iterator(); 26.16/8.24 if (key==null) { 26.16/8.24 while (i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (e.getKey()==null) 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 } else { 26.16/8.24 while (i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (key.equals(e.getKey())) 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 return false; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over entrySet() searching 26.16/8.24 * for an entry with the specified key. If such an entry is found, 26.16/8.24 * the entry's value is returned. If the iteration terminates without 26.16/8.24 * finding such an entry, null is returned. Note that this 26.16/8.24 * implementation requires linear time in the size of the map; many 26.16/8.24 * implementations will override this method. 26.16/8.24 * 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public V get(Object key) { 26.16/8.24 Iterator> i = entrySet().iterator(); 26.16/8.24 if (key==null) { 26.16/8.24 while (i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (e.getKey()==null) 26.16/8.24 return e.getValue(); 26.16/8.24 } 26.16/8.24 } else { 26.16/8.24 while (i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (key.equals(e.getKey())) 26.16/8.24 return e.getValue(); 26.16/8.24 } 26.16/8.24 } 26.16/8.24 return null; 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 // Modification Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation always throws an 26.16/8.24 * UnsupportedOperationException. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public V put(K key, V value) { 26.16/8.24 throw new UnsupportedOperationException(); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over entrySet() searching for an 26.16/8.24 * entry with the specified key. If such an entry is found, its value is 26.16/8.24 * obtained with its getValue operation, the entry is removed 26.16/8.24 * from the collection (and the backing map) with the iterator's 26.16/8.24 * remove operation, and the saved value is returned. If the 26.16/8.24 * iteration terminates without finding such an entry, null is 26.16/8.24 * returned. Note that this implementation requires linear time in the 26.16/8.24 * size of the map; many implementations will override this method. 26.16/8.24 * 26.16/8.24 *

Note that this implementation throws an 26.16/8.24 * UnsupportedOperationException if the entrySet 26.16/8.24 * iterator does not support the remove method and this map 26.16/8.24 * contains a mapping for the specified key. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public V remove(Object key) { 26.16/8.24 Iterator> i = entrySet().iterator(); 26.16/8.24 Entry correctEntry = null; 26.16/8.24 if (key==null) { 26.16/8.24 while (correctEntry==null && i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (e.getKey()==null) 26.16/8.24 correctEntry = e; 26.16/8.24 } 26.16/8.24 } else { 26.16/8.24 while (correctEntry==null && i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 if (key.equals(e.getKey())) 26.16/8.24 correctEntry = e; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 26.16/8.24 V oldValue = null; 26.16/8.24 if (correctEntry !=null) { 26.16/8.24 oldValue = correctEntry.getValue(); 26.16/8.24 i.remove(); 26.16/8.24 } 26.16/8.24 return oldValue; 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 // Bulk Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation iterates over the specified map's 26.16/8.24 * entrySet() collection, and calls this map's put 26.16/8.24 * operation once for each entry returned by the iteration. 26.16/8.24 * 26.16/8.24 *

Note that this implementation throws an 26.16/8.24 * UnsupportedOperationException if this map does not support 26.16/8.24 * the put operation and the specified map is nonempty. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 * @throws ClassCastException {@inheritDoc} 26.16/8.24 * @throws NullPointerException {@inheritDoc} 26.16/8.24 * @throws IllegalArgumentException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public void putAll(Map m) { 26.16/8.24 Iterator it = m.entrySet().iterator(); 26.16/8.24 while (it.hasNext()) { 26.16/8.24 Map.Entry e = (Map.Entry) it.next(); 26.16/8.24 put((K) e.getKey(), (V) e.getValue()); 26.16/8.24 } 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation calls entrySet().clear(). 26.16/8.24 * 26.16/8.24 *

Note that this implementation throws an 26.16/8.24 * UnsupportedOperationException if the entrySet 26.16/8.24 * does not support the clear operation. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException {@inheritDoc} 26.16/8.24 */ 26.16/8.24 public void clear() { 26.16/8.24 entrySet().clear(); 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 // Views 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Each of these fields are initialized to contain an instance of the 26.16/8.24 * appropriate view the first time this view is requested. The views are 26.16/8.24 * stateless, so there's no reason to create more than one of each. 26.16/8.24 */ 26.16/8.24 transient volatile Set keySet = null; 26.16/8.24 transient volatile Collection values = null; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation returns a set that subclasses {@link AbstractSet}. 26.16/8.24 * The subclass's iterator method returns a "wrapper object" over this 26.16/8.24 * map's entrySet() iterator. The size method 26.16/8.24 * delegates to this map's size method and the 26.16/8.24 * contains method delegates to this map's 26.16/8.24 * containsKey method. 26.16/8.24 * 26.16/8.24 *

The set is created the first time this method is called, 26.16/8.24 * and returned in response to all subsequent calls. No synchronization 26.16/8.24 * is performed, so there is a slight chance that multiple calls to this 26.16/8.24 * method will not all return the same set. 26.16/8.24 */ 26.16/8.24 public Set keySet() { 26.16/8.24 if (keySet == null) { 26.16/8.24 keySet = new AbstractSet() { 26.16/8.24 public Iterator iterator() { 26.16/8.24 return new Iterator() { 26.16/8.24 private Iterator> i = entrySet().iterator(); 26.16/8.24 26.16/8.24 public boolean hasNext() { 26.16/8.24 return i.hasNext(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public K next() { 26.16/8.24 return i.next().getKey(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public void remove() { 26.16/8.24 i.remove(); 26.16/8.24 } 26.16/8.24 }; 26.16/8.24 } 26.16/8.24 26.16/8.24 public int size() { 26.16/8.24 return AbstractMap.this.size(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public boolean isEmpty() { 26.16/8.24 return AbstractMap.this.isEmpty(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public void clear() { 26.16/8.24 AbstractMap.this.clear(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public boolean contains(Object k) { 26.16/8.24 return AbstractMap.this.containsKey(k); 26.16/8.24 } 26.16/8.24 26.16/8.24 public Object[] toArray() { 26.16/8.24 Object[] res = new Object[AbstractMap.this.size()]; 26.16/8.24 Iterator> it = entrySet().iterator(); 26.16/8.24 int i = 0; 26.16/8.24 while (it.hasNext()) 26.16/8.24 res[i++] = it.next().getKey(); 26.16/8.24 return res; 26.16/8.24 } 26.16/8.24 26.16/8.24 public T[] toArray(T[] a) { 26.16/8.24 a = (T[])java.lang.reflect.Array.newInstance( 26.16/8.24 a.getClass().getComponentType(), AbstractMap.this.size()); 26.16/8.24 Object[] res = a; 26.16/8.24 Iterator> it = entrySet().iterator(); 26.16/8.24 int i = 0; 26.16/8.24 while (it.hasNext()) 26.16/8.24 res[i++] = it.next().getKey(); 26.16/8.24 return a; 26.16/8.24 } 26.16/8.24 }; 26.16/8.24 } 26.16/8.24 return keySet; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * {@inheritDoc} 26.16/8.24 * 26.16/8.24 *

This implementation returns a collection that subclasses {@link 26.16/8.24 * AbstractCollection}. The subclass's iterator method returns a 26.16/8.24 * "wrapper object" over this map's entrySet() iterator. 26.16/8.24 * The size method delegates to this map's size 26.16/8.24 * method and the contains method delegates to this map's 26.16/8.24 * containsValue method. 26.16/8.24 * 26.16/8.24 *

The collection is created the first time this method is called, and 26.16/8.24 * returned in response to all subsequent calls. No synchronization is 26.16/8.24 * performed, so there is a slight chance that multiple calls to this 26.16/8.24 * method will not all return the same collection. 26.16/8.24 */ 26.16/8.24 public Collection values() { 26.16/8.24 if (values == null) { 26.16/8.24 values = new AbstractCollection() { 26.16/8.24 public Iterator iterator() { 26.16/8.24 return new Iterator() { 26.16/8.24 private Iterator> i = entrySet().iterator(); 26.16/8.24 26.16/8.24 public boolean hasNext() { 26.16/8.24 return i.hasNext(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public V next() { 26.16/8.24 return i.next().getValue(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public void remove() { 26.16/8.24 i.remove(); 26.16/8.24 } 26.16/8.24 }; 26.16/8.24 } 26.16/8.24 26.16/8.24 public int size() { 26.16/8.24 return AbstractMap.this.size(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public boolean isEmpty() { 26.16/8.24 return AbstractMap.this.isEmpty(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public void clear() { 26.16/8.24 AbstractMap.this.clear(); 26.16/8.24 } 26.16/8.24 26.16/8.24 public boolean contains(Object v) { 26.16/8.24 return AbstractMap.this.containsValue(v); 26.16/8.24 } 26.16/8.24 }; 26.16/8.24 } 26.16/8.24 return values; 26.16/8.24 } 26.16/8.24 26.16/8.24 public abstract Set> entrySet(); 26.16/8.24 26.16/8.24 26.16/8.24 // Comparison and hashing 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Compares the specified object with this map for equality. Returns 26.16/8.24 * true if the given object is also a map and the two maps 26.16/8.24 * represent the same mappings. More formally, two maps m1 and 26.16/8.24 * m2 represent the same mappings if 26.16/8.24 * m1.entrySet().equals(m2.entrySet()). This ensures that the 26.16/8.24 * equals method works properly across different implementations 26.16/8.24 * of the Map interface. 26.16/8.24 * 26.16/8.24 *

This implementation first checks if the specified object is this map; 26.16/8.24 * if so it returns true. Then, it checks if the specified 26.16/8.24 * object is a map whose size is identical to the size of this map; if 26.16/8.24 * not, it returns false. If so, it iterates over this map's 26.16/8.24 * entrySet collection, and checks that the specified map 26.16/8.24 * contains each mapping that this map contains. If the specified map 26.16/8.24 * fails to contain such a mapping, false is returned. If the 26.16/8.24 * iteration completes, true is returned. 26.16/8.24 * 26.16/8.24 * @param o object to be compared for equality with this map 26.16/8.24 * @return true if the specified object is equal to this map 26.16/8.24 */ 26.16/8.24 public boolean equals(Object o) { 26.16/8.24 if (o == this) 26.16/8.24 return true; 26.16/8.24 26.16/8.24 if (!(o instanceof Map)) 26.16/8.24 return false; 26.16/8.24 Map m = (Map) o; 26.16/8.24 if (m.size() != size()) 26.16/8.24 return false; 26.16/8.24 26.16/8.24 try { 26.16/8.24 Iterator> i = entrySet().iterator(); 26.16/8.24 while (i.hasNext()) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 K key = e.getKey(); 26.16/8.24 V value = e.getValue(); 26.16/8.24 if (value == null) { 26.16/8.24 if (!(m.get(key)==null && m.containsKey(key))) 26.16/8.24 return false; 26.16/8.24 } else { 26.16/8.24 if (!value.equals(m.get(key))) 26.16/8.24 return false; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 } catch (ClassCastException unused) { 26.16/8.24 return false; 26.16/8.24 } catch (NullPointerException unused) { 26.16/8.24 return false; 26.16/8.24 } 26.16/8.24 26.16/8.24 return true; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the hash code value for this map. The hash code of a map is 26.16/8.24 * defined to be the sum of the hash codes of each entry in the map's 26.16/8.24 * entrySet() view. This ensures that m1.equals(m2) 26.16/8.24 * implies that m1.hashCode()==m2.hashCode() for any two maps 26.16/8.24 * m1 and m2, as required by the general contract of 26.16/8.24 * {@link Object#hashCode}. 26.16/8.24 * 26.16/8.24 *

This implementation iterates over entrySet(), calling 26.16/8.24 * {@link Map.Entry#hashCode hashCode()} on each element (entry) in the 26.16/8.24 * set, and adding up the results. 26.16/8.24 * 26.16/8.24 * @return the hash code value for this map 26.16/8.24 * @see Map.Entry#hashCode() 26.16/8.24 * @see Object#equals(Object) 26.16/8.24 * @see Set#equals(Object) 26.16/8.24 */ 26.16/8.24 public int hashCode() { 26.16/8.24 int h = 0; 26.16/8.24 Iterator> i = entrySet().iterator(); 26.16/8.24 while (i.hasNext()) 26.16/8.24 h += i.next().hashCode(); 26.16/8.24 return h; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns a string representation of this map. The string representation 26.16/8.24 * consists of a list of key-value mappings in the order returned by the 26.16/8.24 * map's entrySet view's iterator, enclosed in braces 26.16/8.24 * ("{}"). Adjacent mappings are separated by the characters 26.16/8.24 * ", " (comma and space). Each key-value mapping is rendered as 26.16/8.24 * the key followed by an equals sign ("=") followed by the 26.16/8.24 * associated value. Keys and values are converted to strings as by 26.16/8.24 * {@link String#valueOf(Object)}. 26.16/8.24 * 26.16/8.24 * @return a string representation of this map 26.16/8.24 */ 26.16/8.24 public String toString() { 26.16/8.24 Iterator> i = entrySet().iterator(); 26.16/8.24 if (! i.hasNext()) 26.16/8.24 return "{}"; 26.16/8.24 26.16/8.24 StringBuilder sb = new StringBuilder(); 26.16/8.24 sb.append('{'); 26.16/8.24 for (;;) { 26.16/8.24 Entry e = i.next(); 26.16/8.24 K key = e.getKey(); 26.16/8.24 V value = e.getValue(); 26.16/8.24 sb.append(key == this ? "(this Map)" : key); 26.16/8.24 sb.append('='); 26.16/8.24 sb.append(value == this ? "(this Map)" : value); 26.16/8.24 if (! i.hasNext()) 26.16/8.24 return sb.append('}').toString(); 26.16/8.24 sb.append(", "); 26.16/8.24 } 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns a shallow copy of this AbstractMap instance: the keys 26.16/8.24 * and values themselves are not cloned. 26.16/8.24 * 26.16/8.24 * @return a shallow copy of this map 26.16/8.24 */ 26.16/8.24 protected Object clone() throws CloneNotSupportedException { 26.16/8.24 AbstractMap result = (AbstractMap)super.clone(); 26.16/8.24 result.keySet = null; 26.16/8.24 result.values = null; 26.16/8.24 return result; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Utility method for SimpleEntry and SimpleImmutableEntry. 26.16/8.24 * Test for equality, checking for nulls. 26.16/8.24 */ 26.16/8.24 private static boolean eq(Object o1, Object o2) { 26.16/8.24 return o1 == null ? o2 == null : o1.equals(o2); 26.16/8.24 } 26.16/8.24 26.16/8.24 // Implementation Note: SimpleEntry and SimpleImmutableEntry 26.16/8.24 // are distinct unrelated classes, even though they share 26.16/8.24 // some code. Since you can't add or subtract final-ness 26.16/8.24 // of a field in a subclass, they can't share representations, 26.16/8.24 // and the amount of duplicated code is too small to warrant 26.16/8.24 // exposing a common abstract class. 26.16/8.24 26.16/8.24 26.16/8.24 /** 26.16/8.24 * An Entry maintaining a key and a value. The value may be 26.16/8.24 * changed using the setValue method. This class 26.16/8.24 * facilitates the process of building custom map 26.16/8.24 * implementations. For example, it may be convenient to return 26.16/8.24 * arrays of SimpleEntry instances in method 26.16/8.24 * Map.entrySet().toArray. 26.16/8.24 * 26.16/8.24 * @since 1.6 26.16/8.24 */ 26.16/8.24 public static class SimpleEntry 26.16/8.24 implements Entry, java.io.Serializable 26.16/8.24 { 26.16/8.24 private static final long serialVersionUID = -8499721149061103585L; 26.16/8.24 26.16/8.24 private final K key; 26.16/8.24 private V value; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Creates an entry representing a mapping from the specified 26.16/8.24 * key to the specified value. 26.16/8.24 * 26.16/8.24 * @param key the key represented by this entry 26.16/8.24 * @param value the value represented by this entry 26.16/8.24 */ 26.16/8.24 public SimpleEntry(K key, V value) { 26.16/8.24 this.key = key; 26.16/8.24 this.value = value; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Creates an entry representing the same mapping as the 26.16/8.24 * specified entry. 26.16/8.24 * 26.16/8.24 * @param entry the entry to copy 26.16/8.24 */ 26.16/8.24 public SimpleEntry(Entry entry) { 26.16/8.24 this.key = entry.getKey(); 26.16/8.24 this.value = entry.getValue(); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the key corresponding to this entry. 26.16/8.24 * 26.16/8.24 * @return the key corresponding to this entry 26.16/8.24 */ 26.16/8.24 public K getKey() { 26.16/8.24 return key; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the value corresponding to this entry. 26.16/8.24 * 26.16/8.24 * @return the value corresponding to this entry 26.16/8.24 */ 26.16/8.24 public V getValue() { 26.16/8.24 return value; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Replaces the value corresponding to this entry with the specified 26.16/8.24 * value. 26.16/8.24 * 26.16/8.24 * @param value new value to be stored in this entry 26.16/8.24 * @return the old value corresponding to the entry 26.16/8.24 */ 26.16/8.24 public V setValue(V value) { 26.16/8.24 V oldValue = this.value; 26.16/8.24 this.value = value; 26.16/8.24 return oldValue; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Compares the specified object with this entry for equality. 26.16/8.24 * Returns {@code true} if the given object is also a map entry and 26.16/8.24 * the two entries represent the same mapping. More formally, two 26.16/8.24 * entries {@code e1} and {@code e2} represent the same mapping 26.16/8.24 * if

26.16/8.24	         *   (e1.getKey()==null ?
26.16/8.24	         *    e2.getKey()==null :
26.16/8.24	         *    e1.getKey().equals(e2.getKey()))
26.16/8.24	         *   &&
26.16/8.24	         *   (e1.getValue()==null ?
26.16/8.24	         *    e2.getValue()==null :
26.16/8.24	         *    e1.getValue().equals(e2.getValue()))
26.16/8.24 * This ensures that the {@code equals} method works properly across 26.16/8.24 * different implementations of the {@code Map.Entry} interface. 26.16/8.24 * 26.16/8.24 * @param o object to be compared for equality with this map entry 26.16/8.24 * @return {@code true} if the specified object is equal to this map 26.16/8.24 * entry 26.16/8.24 * @see #hashCode 26.16/8.24 */ 26.16/8.24 public boolean equals(Object o) { 26.16/8.24 if (!(o instanceof Map.Entry)) 26.16/8.24 return false; 26.16/8.24 Map.Entry e = (Map.Entry)o; 26.16/8.24 return eq(key, e.getKey()) && eq(value, e.getValue()); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the hash code value for this map entry. The hash code 26.16/8.24 * of a map entry {@code e} is defined to be:
26.16/8.24	         *   (e.getKey()==null   ? 0 : e.getKey().hashCode()) ^
26.16/8.24	         *   (e.getValue()==null ? 0 : e.getValue().hashCode())
26.16/8.24 * This ensures that {@code e1.equals(e2)} implies that 26.16/8.24 * {@code e1.hashCode()==e2.hashCode()} for any two Entries 26.16/8.24 * {@code e1} and {@code e2}, as required by the general 26.16/8.24 * contract of {@link Object#hashCode}. 26.16/8.24 * 26.16/8.24 * @return the hash code value for this map entry 26.16/8.24 * @see #equals 26.16/8.24 */ 26.16/8.24 public int hashCode() { 26.16/8.24 return (key == null ? 0 : key.hashCode()) ^ 26.16/8.24 (value == null ? 0 : value.hashCode()); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns a String representation of this map entry. This 26.16/8.24 * implementation returns the string representation of this 26.16/8.24 * entry's key followed by the equals character ("=") 26.16/8.24 * followed by the string representation of this entry's value. 26.16/8.24 * 26.16/8.24 * @return a String representation of this map entry 26.16/8.24 */ 26.16/8.24 public String toString() { 26.16/8.24 return key + "=" + value; 26.16/8.24 } 26.16/8.24 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * An Entry maintaining an immutable key and value. This class 26.16/8.24 * does not support method setValue. This class may be 26.16/8.24 * convenient in methods that return thread-safe snapshots of 26.16/8.24 * key-value mappings. 26.16/8.24 * 26.16/8.24 * @since 1.6 26.16/8.24 */ 26.16/8.24 public static class SimpleImmutableEntry 26.16/8.24 implements Entry, java.io.Serializable 26.16/8.24 { 26.16/8.24 private static final long serialVersionUID = 7138329143949025153L; 26.16/8.24 26.16/8.24 private final K key; 26.16/8.24 private final V value; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Creates an entry representing a mapping from the specified 26.16/8.24 * key to the specified value. 26.16/8.24 * 26.16/8.24 * @param key the key represented by this entry 26.16/8.24 * @param value the value represented by this entry 26.16/8.24 */ 26.16/8.24 public SimpleImmutableEntry(K key, V value) { 26.16/8.24 this.key = key; 26.16/8.24 this.value = value; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Creates an entry representing the same mapping as the 26.16/8.24 * specified entry. 26.16/8.24 * 26.16/8.24 * @param entry the entry to copy 26.16/8.24 */ 26.16/8.24 public SimpleImmutableEntry(Entry entry) { 26.16/8.24 this.key = entry.getKey(); 26.16/8.24 this.value = entry.getValue(); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the key corresponding to this entry. 26.16/8.24 * 26.16/8.24 * @return the key corresponding to this entry 26.16/8.24 */ 26.16/8.24 public K getKey() { 26.16/8.24 return key; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the value corresponding to this entry. 26.16/8.24 * 26.16/8.24 * @return the value corresponding to this entry 26.16/8.24 */ 26.16/8.24 public V getValue() { 26.16/8.24 return value; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Replaces the value corresponding to this entry with the specified 26.16/8.24 * value (optional operation). This implementation simply throws 26.16/8.24 * UnsupportedOperationException, as this class implements 26.16/8.24 * an immutable map entry. 26.16/8.24 * 26.16/8.24 * @param value new value to be stored in this entry 26.16/8.24 * @return (Does not return) 26.16/8.24 * @throws UnsupportedOperationException always 26.16/8.24 */ 26.16/8.24 public V setValue(V value) { 26.16/8.24 throw new UnsupportedOperationException(); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Compares the specified object with this entry for equality. 26.16/8.24 * Returns {@code true} if the given object is also a map entry and 26.16/8.24 * the two entries represent the same mapping. More formally, two 26.16/8.24 * entries {@code e1} and {@code e2} represent the same mapping 26.16/8.24 * if
26.16/8.24	         *   (e1.getKey()==null ?
26.16/8.24	         *    e2.getKey()==null :
26.16/8.24	         *    e1.getKey().equals(e2.getKey()))
26.16/8.24	         *   &&
26.16/8.24	         *   (e1.getValue()==null ?
26.16/8.24	         *    e2.getValue()==null :
26.16/8.24	         *    e1.getValue().equals(e2.getValue()))
26.16/8.24 * This ensures that the {@code equals} method works properly across 26.16/8.24 * different implementations of the {@code Map.Entry} interface. 26.16/8.24 * 26.16/8.24 * @param o object to be compared for equality with this map entry 26.16/8.24 * @return {@code true} if the specified object is equal to this map 26.16/8.24 * entry 26.16/8.24 * @see #hashCode 26.16/8.24 */ 26.16/8.24 public boolean equals(Object o) { 26.16/8.24 if (!(o instanceof Map.Entry)) 26.16/8.24 return false; 26.16/8.24 Map.Entry e = (Map.Entry)o; 26.16/8.24 return eq(key, e.getKey()) && eq(value, e.getValue()); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the hash code value for this map entry. The hash code 26.16/8.24 * of a map entry {@code e} is defined to be:
26.16/8.24	         *   (e.getKey()==null   ? 0 : e.getKey().hashCode()) ^
26.16/8.24	         *   (e.getValue()==null ? 0 : e.getValue().hashCode())
26.16/8.24 * This ensures that {@code e1.equals(e2)} implies that 26.16/8.24 * {@code e1.hashCode()==e2.hashCode()} for any two Entries 26.16/8.24 * {@code e1} and {@code e2}, as required by the general 26.16/8.24 * contract of {@link Object#hashCode}. 26.16/8.24 * 26.16/8.24 * @return the hash code value for this map entry 26.16/8.24 * @see #equals 26.16/8.24 */ 26.16/8.24 public int hashCode() { 26.16/8.24 return (key == null ? 0 : key.hashCode()) ^ 26.16/8.24 (value == null ? 0 : value.hashCode()); 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns a String representation of this map entry. This 26.16/8.24 * implementation returns the string representation of this 26.16/8.24 * entry's key followed by the equals character ("=") 26.16/8.24 * followed by the string representation of this entry's value. 26.16/8.24 * 26.16/8.24 * @return a String representation of this map entry 26.16/8.24 */ 26.16/8.24 public String toString() { 26.16/8.24 return key + "=" + value; 26.16/8.24 } 26.16/8.24 26.16/8.24 } 26.16/8.24 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 /* 26.16/8.24 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.24 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.24 * 26.16/8.24 * This code is free software; you can redistribute it and/or modify it 26.16/8.24 * under the terms of the GNU General Public License version 2 only, as 26.16/8.24 * published by the Free Software Foundation. Sun designates this 26.16/8.24 * particular file as subject to the "Classpath" exception as provided 26.16/8.24 * by Sun in the LICENSE file that accompanied this code. 26.16/8.24 * 26.16/8.24 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.24 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.24 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.24 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.24 * accompanied this code). 26.16/8.24 * 26.16/8.24 * You should have received a copy of the GNU General Public License version 26.16/8.24 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.24 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.24 * 26.16/8.24 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.24 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.24 * have any questions. 26.16/8.24 */ 26.16/8.24 26.16/8.24 package javaUtilEx; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * This class provides a skeletal implementation of the Set 26.16/8.24 * interface to minimize the effort required to implement this 26.16/8.24 * interface.

26.16/8.24 * 26.16/8.24 * The process of implementing a set by extending this class is identical 26.16/8.24 * to that of implementing a Collection by extending AbstractCollection, 26.16/8.24 * except that all of the methods and constructors in subclasses of this 26.16/8.24 * class must obey the additional constraints imposed by the Set 26.16/8.24 * interface (for instance, the add method must not permit addition of 26.16/8.24 * multiple instances of an object to a set).

26.16/8.24 * 26.16/8.24 * Note that this class does not override any of the implementations from 26.16/8.24 * the AbstractCollection class. It merely adds implementations 26.16/8.24 * for equals and hashCode.

26.16/8.24 * 26.16/8.24 * This class is a member of the 26.16/8.24 * 26.16/8.24 * Java Collections Framework. 26.16/8.24 * 26.16/8.24 * @param the type of elements maintained by this set 26.16/8.24 * 26.16/8.24 * @author Josh Bloch 26.16/8.24 * @author Neal Gafter 26.16/8.24 * @see Collection 26.16/8.24 * @see AbstractCollection 26.16/8.24 * @see Set 26.16/8.24 * @since 1.2 26.16/8.24 */ 26.16/8.24 26.16/8.24 public abstract class AbstractSet extends AbstractCollection implements Set { 26.16/8.24 /** 26.16/8.24 * Sole constructor. (For invocation by subclass constructors, typically 26.16/8.24 * implicit.) 26.16/8.24 */ 26.16/8.24 protected AbstractSet() { 26.16/8.24 } 26.16/8.24 26.16/8.24 // Comparison and hashing 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Compares the specified object with this set for equality. Returns 26.16/8.24 * true if the given object is also a set, the two sets have 26.16/8.24 * the same size, and every member of the given set is contained in 26.16/8.24 * this set. This ensures that the equals method works 26.16/8.24 * properly across different implementations of the Set 26.16/8.24 * interface.

26.16/8.24 * 26.16/8.24 * This implementation first checks if the specified object is this 26.16/8.24 * set; if so it returns true. Then, it checks if the 26.16/8.24 * specified object is a set whose size is identical to the size of 26.16/8.24 * this set; if not, it returns false. If so, it returns 26.16/8.24 * containsAll((Collection) o). 26.16/8.24 * 26.16/8.24 * @param o object to be compared for equality with this set 26.16/8.24 * @return true if the specified object is equal to this set 26.16/8.24 */ 26.16/8.24 public boolean equals(Object o) { 26.16/8.24 if (o == this) 26.16/8.24 return true; 26.16/8.24 26.16/8.24 if (!(o instanceof Set)) 26.16/8.24 return false; 26.16/8.24 Collection c = (Collection) o; 26.16/8.24 if (c.size() != size()) 26.16/8.24 return false; 26.16/8.24 try { 26.16/8.24 return containsAll(c); 26.16/8.24 } catch (ClassCastException unused) { 26.16/8.24 return false; 26.16/8.24 } catch (NullPointerException unused) { 26.16/8.24 return false; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the hash code value for this set. The hash code of a set is 26.16/8.24 * defined to be the sum of the hash codes of the elements in the set, 26.16/8.24 * where the hash code of a null element is defined to be zero. 26.16/8.24 * This ensures that s1.equals(s2) implies that 26.16/8.24 * s1.hashCode()==s2.hashCode() for any two sets s1 26.16/8.24 * and s2, as required by the general contract of 26.16/8.24 * {@link Object#hashCode}. 26.16/8.24 * 26.16/8.24 *

This implementation iterates over the set, calling the 26.16/8.24 * hashCode method on each element in the set, and adding up 26.16/8.24 * the results. 26.16/8.24 * 26.16/8.24 * @return the hash code value for this set 26.16/8.24 * @see Object#equals(Object) 26.16/8.24 * @see Set#equals(Object) 26.16/8.24 */ 26.16/8.24 public int hashCode() { 26.16/8.24 int h = 0; 26.16/8.24 Iterator i = iterator(); 26.16/8.24 while (i.hasNext()) { 26.16/8.24 E obj = i.next(); 26.16/8.24 if (obj != null) 26.16/8.24 h += obj.hashCode(); 26.16/8.24 } 26.16/8.24 return h; 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Removes from this set all of its elements that are contained in the 26.16/8.24 * specified collection (optional operation). If the specified 26.16/8.24 * collection is also a set, this operation effectively modifies this 26.16/8.24 * set so that its value is the asymmetric set difference of 26.16/8.24 * the two sets. 26.16/8.24 * 26.16/8.24 *

This implementation determines which is the smaller of this set 26.16/8.24 * and the specified collection, by invoking the size 26.16/8.24 * method on each. If this set has fewer elements, then the 26.16/8.24 * implementation iterates over this set, checking each element 26.16/8.24 * returned by the iterator in turn to see if it is contained in 26.16/8.24 * the specified collection. If it is so contained, it is removed 26.16/8.24 * from this set with the iterator's remove method. If 26.16/8.24 * the specified collection has fewer elements, then the 26.16/8.24 * implementation iterates over the specified collection, removing 26.16/8.24 * from this set each element returned by the iterator, using this 26.16/8.24 * set's remove method. 26.16/8.24 * 26.16/8.24 *

Note that this implementation will throw an 26.16/8.24 * UnsupportedOperationException if the iterator returned by the 26.16/8.24 * iterator method does not implement the remove method. 26.16/8.24 * 26.16/8.24 * @param c collection containing elements to be removed from this set 26.16/8.24 * @return true if this set changed as a result of the call 26.16/8.24 * @throws UnsupportedOperationException if the removeAll operation 26.16/8.24 * is not supported by this set 26.16/8.24 * @throws ClassCastException if the class of an element of this set 26.16/8.24 * is incompatible with the specified collection (optional) 26.16/8.24 * @throws NullPointerException if this set contains a null element and the 26.16/8.24 * specified collection does not permit null elements (optional), 26.16/8.24 * or if the specified collection is null 26.16/8.24 * @see #remove(Object) 26.16/8.24 * @see #contains(Object) 26.16/8.24 */ 26.16/8.24 public boolean removeAll(Collection c) { 26.16/8.24 boolean modified = false; 26.16/8.24 26.16/8.24 if (size() > c.size()) { 26.16/8.24 for (Iterator i = c.iterator(); i.hasNext(); ) 26.16/8.24 modified |= remove(i.next()); 26.16/8.24 } else { 26.16/8.24 for (Iterator i = iterator(); i.hasNext(); ) { 26.16/8.24 if (c.contains(i.next())) { 26.16/8.24 i.remove(); 26.16/8.24 modified = true; 26.16/8.24 } 26.16/8.24 } 26.16/8.24 } 26.16/8.24 return modified; 26.16/8.24 } 26.16/8.24 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 /* 26.16/8.24 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.24 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.24 * 26.16/8.24 * This code is free software; you can redistribute it and/or modify it 26.16/8.24 * under the terms of the GNU General Public License version 2 only, as 26.16/8.24 * published by the Free Software Foundation. Sun designates this 26.16/8.24 * particular file as subject to the "Classpath" exception as provided 26.16/8.24 * by Sun in the LICENSE file that accompanied this code. 26.16/8.24 * 26.16/8.24 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.24 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.24 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.24 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.24 * accompanied this code). 26.16/8.24 * 26.16/8.24 * You should have received a copy of the GNU General Public License version 26.16/8.24 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.24 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.24 * 26.16/8.24 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.24 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.24 * have any questions. 26.16/8.24 */ 26.16/8.24 26.16/8.24 package javaUtilEx; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * The root interface in the collection hierarchy. A collection 26.16/8.24 * represents a group of objects, known as its elements. Some 26.16/8.24 * collections allow duplicate elements and others do not. Some are ordered 26.16/8.24 * and others unordered. The JDK does not provide any direct 26.16/8.24 * implementations of this interface: it provides implementations of more 26.16/8.24 * specific subinterfaces like Set and List. This interface 26.16/8.24 * is typically used to pass collections around and manipulate them where 26.16/8.24 * maximum generality is desired. 26.16/8.24 * 26.16/8.24 *

Bags or multisets (unordered collections that may contain 26.16/8.24 * duplicate elements) should implement this interface directly. 26.16/8.24 * 26.16/8.24 *

All general-purpose Collection implementation classes (which 26.16/8.24 * typically implement Collection indirectly through one of its 26.16/8.24 * subinterfaces) should provide two "standard" constructors: a void (no 26.16/8.24 * arguments) constructor, which creates an empty collection, and a 26.16/8.24 * constructor with a single argument of type Collection, which 26.16/8.24 * creates a new collection with the same elements as its argument. In 26.16/8.24 * effect, the latter constructor allows the user to copy any collection, 26.16/8.24 * producing an equivalent collection of the desired implementation type. 26.16/8.24 * There is no way to enforce this convention (as interfaces cannot contain 26.16/8.24 * constructors) but all of the general-purpose Collection 26.16/8.24 * implementations in the Java platform libraries comply. 26.16/8.24 * 26.16/8.24 *

The "destructive" methods contained in this interface, that is, the 26.16/8.24 * methods that modify the collection on which they operate, are specified to 26.16/8.24 * throw UnsupportedOperationException if this collection does not 26.16/8.24 * support the operation. If this is the case, these methods may, but are not 26.16/8.24 * required to, throw an UnsupportedOperationException if the 26.16/8.24 * invocation would have no effect on the collection. For example, invoking 26.16/8.24 * the {@link #addAll(Collection)} method on an unmodifiable collection may, 26.16/8.24 * but is not required to, throw the exception if the collection to be added 26.16/8.24 * is empty. 26.16/8.24 * 26.16/8.24 *

Some collection implementations have restrictions on the elements that 26.16/8.24 * they may contain. For example, some implementations prohibit null elements, 26.16/8.24 * and some have restrictions on the types of their elements. Attempting to 26.16/8.24 * add an ineligible element throws an unchecked exception, typically 26.16/8.24 * NullPointerException or ClassCastException. Attempting 26.16/8.24 * to query the presence of an ineligible element may throw an exception, 26.16/8.24 * or it may simply return false; some implementations will exhibit the former 26.16/8.24 * behavior and some will exhibit the latter. More generally, attempting an 26.16/8.24 * operation on an ineligible element whose completion would not result in 26.16/8.24 * the insertion of an ineligible element into the collection may throw an 26.16/8.24 * exception or it may succeed, at the option of the implementation. 26.16/8.24 * Such exceptions are marked as "optional" in the specification for this 26.16/8.24 * interface. 26.16/8.24 * 26.16/8.24 *

It is up to each collection to determine its own synchronization 26.16/8.24 * policy. In the absence of a stronger guarantee by the 26.16/8.24 * implementation, undefined behavior may result from the invocation 26.16/8.24 * of any method on a collection that is being mutated by another 26.16/8.24 * thread; this includes direct invocations, passing the collection to 26.16/8.24 * a method that might perform invocations, and using an existing 26.16/8.24 * iterator to examine the collection. 26.16/8.24 * 26.16/8.24 *

Many methods in Collections Framework interfaces are defined in 26.16/8.24 * terms of the {@link Object#equals(Object) equals} method. For example, 26.16/8.24 * the specification for the {@link #contains(Object) contains(Object o)} 26.16/8.24 * method says: "returns true if and only if this collection 26.16/8.24 * contains at least one element e such that 26.16/8.24 * (o==null ? e==null : o.equals(e))." This specification should 26.16/8.24 * not be construed to imply that invoking Collection.contains 26.16/8.24 * with a non-null argument o will cause o.equals(e) to be 26.16/8.24 * invoked for any element e. Implementations are free to implement 26.16/8.24 * optimizations whereby the equals invocation is avoided, for 26.16/8.24 * example, by first comparing the hash codes of the two elements. (The 26.16/8.24 * {@link Object#hashCode()} specification guarantees that two objects with 26.16/8.24 * unequal hash codes cannot be equal.) More generally, implementations of 26.16/8.24 * the various Collections Framework interfaces are free to take advantage of 26.16/8.24 * the specified behavior of underlying {@link Object} methods wherever the 26.16/8.24 * implementor deems it appropriate. 26.16/8.24 * 26.16/8.24 *

This interface is a member of the 26.16/8.24 * 26.16/8.24 * Java Collections Framework. 26.16/8.24 * 26.16/8.24 * @author Josh Bloch 26.16/8.24 * @author Neal Gafter 26.16/8.24 * @see Set 26.16/8.24 * @see List 26.16/8.24 * @see Map 26.16/8.24 * @see SortedSet 26.16/8.24 * @see SortedMap 26.16/8.24 * @see HashSet 26.16/8.24 * @see TreeSet 26.16/8.24 * @see ArrayList 26.16/8.24 * @see LinkedList 26.16/8.24 * @see Vector 26.16/8.24 * @see Collections 26.16/8.24 * @see Arrays 26.16/8.24 * @see AbstractCollection 26.16/8.24 * @since 1.2 26.16/8.24 */ 26.16/8.24 26.16/8.24 public interface Collection { 26.16/8.24 // Query Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the number of elements in this collection. If this collection 26.16/8.24 * contains more than Integer.MAX_VALUE elements, returns 26.16/8.24 * Integer.MAX_VALUE. 26.16/8.24 * 26.16/8.24 * @return the number of elements in this collection 26.16/8.24 */ 26.16/8.24 int size(); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns true if this collection contains no elements. 26.16/8.24 * 26.16/8.24 * @return true if this collection contains no elements 26.16/8.24 */ 26.16/8.24 boolean isEmpty(); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns true if this collection contains the specified element. 26.16/8.24 * More formally, returns true if and only if this collection 26.16/8.24 * contains at least one element e such that 26.16/8.24 * (o==null ? e==null : o.equals(e)). 26.16/8.24 * 26.16/8.24 * @param o element whose presence in this collection is to be tested 26.16/8.24 * @return true if this collection contains the specified 26.16/8.24 * element 26.16/8.24 * @throws ClassCastException if the type of the specified element 26.16/8.24 * is incompatible with this collection (optional) 26.16/8.24 * @throws NullPointerException if the specified element is null and this 26.16/8.24 * collection does not permit null elements (optional) 26.16/8.24 */ 26.16/8.24 boolean contains(Object o); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns an iterator over the elements in this collection. There are no 26.16/8.24 * guarantees concerning the order in which the elements are returned 26.16/8.24 * (unless this collection is an instance of some class that provides a 26.16/8.24 * guarantee). 26.16/8.24 * 26.16/8.24 * @return an Iterator over the elements in this collection 26.16/8.24 */ 26.16/8.24 Iterator iterator(); 26.16/8.24 26.16/8.24 // Modification Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Ensures that this collection contains the specified element (optional 26.16/8.24 * operation). Returns true if this collection changed as a 26.16/8.24 * result of the call. (Returns false if this collection does 26.16/8.24 * not permit duplicates and already contains the specified element.)

26.16/8.24 * 26.16/8.24 * Collections that support this operation may place limitations on what 26.16/8.24 * elements may be added to this collection. In particular, some 26.16/8.24 * collections will refuse to add null elements, and others will 26.16/8.24 * impose restrictions on the type of elements that may be added. 26.16/8.24 * Collection classes should clearly specify in their documentation any 26.16/8.24 * restrictions on what elements may be added.

26.16/8.24 * 26.16/8.24 * If a collection refuses to add a particular element for any reason 26.16/8.24 * other than that it already contains the element, it must throw 26.16/8.24 * an exception (rather than returning false). This preserves 26.16/8.24 * the invariant that a collection always contains the specified element 26.16/8.24 * after this call returns. 26.16/8.24 * 26.16/8.24 * @param e element whose presence in this collection is to be ensured 26.16/8.24 * @return true if this collection changed as a result of the 26.16/8.24 * call 26.16/8.24 * @throws UnsupportedOperationException if the add operation 26.16/8.24 * is not supported by this collection 26.16/8.24 * @throws ClassCastException if the class of the specified element 26.16/8.24 * prevents it from being added to this collection 26.16/8.24 * @throws NullPointerException if the specified element is null and this 26.16/8.24 * collection does not permit null elements 26.16/8.24 * @throws IllegalArgumentException if some property of the element 26.16/8.24 * prevents it from being added to this collection 26.16/8.24 * @throws IllegalStateException if the element cannot be added at this 26.16/8.24 * time due to insertion restrictions 26.16/8.24 */ 26.16/8.24 boolean add(E e); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Removes a single instance of the specified element from this 26.16/8.24 * collection, if it is present (optional operation). More formally, 26.16/8.24 * removes an element e such that 26.16/8.24 * (o==null ? e==null : o.equals(e)), if 26.16/8.24 * this collection contains one or more such elements. Returns 26.16/8.24 * true if this collection contained the specified element (or 26.16/8.24 * equivalently, if this collection changed as a result of the call). 26.16/8.24 * 26.16/8.24 * @param o element to be removed from this collection, if present 26.16/8.24 * @return true if an element was removed as a result of this call 26.16/8.24 * @throws ClassCastException if the type of the specified element 26.16/8.24 * is incompatible with this collection (optional) 26.16/8.24 * @throws NullPointerException if the specified element is null and this 26.16/8.24 * collection does not permit null elements (optional) 26.16/8.24 * @throws UnsupportedOperationException if the remove operation 26.16/8.24 * is not supported by this collection 26.16/8.24 */ 26.16/8.24 boolean remove(Object o); 26.16/8.24 26.16/8.24 26.16/8.24 // Bulk Operations 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns true if this collection contains all of the elements 26.16/8.24 * in the specified collection. 26.16/8.24 * 26.16/8.24 * @param c collection to be checked for containment in this collection 26.16/8.24 * @return true if this collection contains all of the elements 26.16/8.24 * in the specified collection 26.16/8.24 * @throws ClassCastException if the types of one or more elements 26.16/8.24 * in the specified collection are incompatible with this 26.16/8.24 * collection (optional) 26.16/8.24 * @throws NullPointerException if the specified collection contains one 26.16/8.24 * or more null elements and this collection does not permit null 26.16/8.24 * elements (optional), or if the specified collection is null 26.16/8.24 * @see #contains(Object) 26.16/8.24 */ 26.16/8.24 boolean containsAll(Collection c); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Adds all of the elements in the specified collection to this collection 26.16/8.24 * (optional operation). The behavior of this operation is undefined if 26.16/8.24 * the specified collection is modified while the operation is in progress. 26.16/8.24 * (This implies that the behavior of this call is undefined if the 26.16/8.24 * specified collection is this collection, and this collection is 26.16/8.24 * nonempty.) 26.16/8.24 * 26.16/8.24 * @param c collection containing elements to be added to this collection 26.16/8.24 * @return true if this collection changed as a result of the call 26.16/8.24 * @throws UnsupportedOperationException if the addAll operation 26.16/8.24 * is not supported by this collection 26.16/8.24 * @throws ClassCastException if the class of an element of the specified 26.16/8.24 * collection prevents it from being added to this collection 26.16/8.24 * @throws NullPointerException if the specified collection contains a 26.16/8.24 * null element and this collection does not permit null elements, 26.16/8.24 * or if the specified collection is null 26.16/8.24 * @throws IllegalArgumentException if some property of an element of the 26.16/8.24 * specified collection prevents it from being added to this 26.16/8.24 * collection 26.16/8.24 * @throws IllegalStateException if not all the elements can be added at 26.16/8.24 * this time due to insertion restrictions 26.16/8.24 * @see #add(Object) 26.16/8.24 */ 26.16/8.24 boolean addAll(Collection c); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Removes all of this collection's elements that are also contained in the 26.16/8.24 * specified collection (optional operation). After this call returns, 26.16/8.24 * this collection will contain no elements in common with the specified 26.16/8.24 * collection. 26.16/8.24 * 26.16/8.24 * @param c collection containing elements to be removed from this collection 26.16/8.24 * @return true if this collection changed as a result of the 26.16/8.24 * call 26.16/8.24 * @throws UnsupportedOperationException if the removeAll method 26.16/8.24 * is not supported by this collection 26.16/8.24 * @throws ClassCastException if the types of one or more elements 26.16/8.24 * in this collection are incompatible with the specified 26.16/8.24 * collection (optional) 26.16/8.24 * @throws NullPointerException if this collection contains one or more 26.16/8.24 * null elements and the specified collection does not support 26.16/8.24 * null elements (optional), or if the specified collection is null 26.16/8.24 * @see #remove(Object) 26.16/8.24 * @see #contains(Object) 26.16/8.24 */ 26.16/8.24 boolean removeAll(Collection c); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Retains only the elements in this collection that are contained in the 26.16/8.24 * specified collection (optional operation). In other words, removes from 26.16/8.24 * this collection all of its elements that are not contained in the 26.16/8.24 * specified collection. 26.16/8.24 * 26.16/8.24 * @param c collection containing elements to be retained in this collection 26.16/8.24 * @return true if this collection changed as a result of the call 26.16/8.24 * @throws UnsupportedOperationException if the retainAll operation 26.16/8.24 * is not supported by this collection 26.16/8.24 * @throws ClassCastException if the types of one or more elements 26.16/8.24 * in this collection are incompatible with the specified 26.16/8.24 * collection (optional) 26.16/8.24 * @throws NullPointerException if this collection contains one or more 26.16/8.24 * null elements and the specified collection does not permit null 26.16/8.24 * elements (optional), or if the specified collection is null 26.16/8.24 * @see #remove(Object) 26.16/8.24 * @see #contains(Object) 26.16/8.24 */ 26.16/8.24 boolean retainAll(Collection c); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Removes all of the elements from this collection (optional operation). 26.16/8.24 * The collection will be empty after this method returns. 26.16/8.24 * 26.16/8.24 * @throws UnsupportedOperationException if the clear operation 26.16/8.24 * is not supported by this collection 26.16/8.24 */ 26.16/8.24 void clear(); 26.16/8.24 26.16/8.24 26.16/8.24 // Comparison and hashing 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Compares the specified object with this collection for equality.

26.16/8.24 * 26.16/8.24 * While the Collection interface adds no stipulations to the 26.16/8.24 * general contract for the Object.equals, programmers who 26.16/8.24 * implement the Collection interface "directly" (in other words, 26.16/8.24 * create a class that is a Collection but is not a Set 26.16/8.24 * or a List) must exercise care if they choose to override the 26.16/8.24 * Object.equals. It is not necessary to do so, and the simplest 26.16/8.24 * course of action is to rely on Object's implementation, but 26.16/8.24 * the implementor may wish to implement a "value comparison" in place of 26.16/8.24 * the default "reference comparison." (The List and 26.16/8.24 * Set interfaces mandate such value comparisons.)

26.16/8.24 * 26.16/8.24 * The general contract for the Object.equals method states that 26.16/8.24 * equals must be symmetric (in other words, a.equals(b) if and 26.16/8.24 * only if b.equals(a)). The contracts for List.equals 26.16/8.24 * and Set.equals state that lists are only equal to other lists, 26.16/8.24 * and sets to other sets. Thus, a custom equals method for a 26.16/8.24 * collection class that implements neither the List nor 26.16/8.24 * Set interface must return false when this collection 26.16/8.24 * is compared to any list or set. (By the same logic, it is not possible 26.16/8.24 * to write a class that correctly implements both the Set and 26.16/8.24 * List interfaces.) 26.16/8.24 * 26.16/8.24 * @param o object to be compared for equality with this collection 26.16/8.24 * @return true if the specified object is equal to this 26.16/8.24 * collection 26.16/8.24 * 26.16/8.24 * @see Object#equals(Object) 26.16/8.24 * @see Set#equals(Object) 26.16/8.24 * @see List#equals(Object) 26.16/8.24 */ 26.16/8.24 boolean equals(Object o); 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Returns the hash code value for this collection. While the 26.16/8.24 * Collection interface adds no stipulations to the general 26.16/8.24 * contract for the Object.hashCode method, programmers should 26.16/8.24 * take note that any class that overrides the Object.equals 26.16/8.24 * method must also override the Object.hashCode method in order 26.16/8.24 * to satisfy the general contract for the Object.hashCodemethod. 26.16/8.24 * In particular, c1.equals(c2) implies that 26.16/8.24 * c1.hashCode()==c2.hashCode(). 26.16/8.24 * 26.16/8.24 * @return the hash code value for this collection 26.16/8.24 * 26.16/8.24 * @see Object#hashCode() 26.16/8.24 * @see Object#equals(Object) 26.16/8.24 */ 26.16/8.24 int hashCode(); 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 /* 26.16/8.24 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.24 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.24 * 26.16/8.24 * This code is free software; you can redistribute it and/or modify it 26.16/8.24 * under the terms of the GNU General Public License version 2 only, as 26.16/8.24 * published by the Free Software Foundation. Sun designates this 26.16/8.24 * particular file as subject to the "Classpath" exception as provided 26.16/8.24 * by Sun in the LICENSE file that accompanied this code. 26.16/8.24 * 26.16/8.24 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.24 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.24 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.24 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.24 * accompanied this code). 26.16/8.24 * 26.16/8.24 * You should have received a copy of the GNU General Public License version 26.16/8.24 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.24 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.24 * 26.16/8.24 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.24 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.24 * have any questions. 26.16/8.24 */ 26.16/8.24 26.16/8.24 package javaUtilEx; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * This exception may be thrown by methods that have detected concurrent 26.16/8.24 * modification of an object when such modification is not permissible. 26.16/8.24 *

26.16/8.24 * For example, it is not generally permissible for one thread to modify a Collection 26.16/8.24 * while another thread is iterating over it. In general, the results of the 26.16/8.24 * iteration are undefined under these circumstances. Some Iterator 26.16/8.24 * implementations (including those of all the general purpose collection implementations 26.16/8.24 * provided by the JRE) may choose to throw this exception if this behavior is 26.16/8.24 * detected. Iterators that do this are known as fail-fast iterators, 26.16/8.24 * as they fail quickly and cleanly, rather that risking arbitrary, 26.16/8.24 * non-deterministic behavior at an undetermined time in the future. 26.16/8.24 *

26.16/8.24 * Note that this exception does not always indicate that an object has 26.16/8.24 * been concurrently modified by a different thread. If a single 26.16/8.24 * thread issues a sequence of method invocations that violates the 26.16/8.24 * contract of an object, the object may throw this exception. For 26.16/8.24 * example, if a thread modifies a collection directly while it is 26.16/8.24 * iterating over the collection with a fail-fast iterator, the iterator 26.16/8.24 * will throw this exception. 26.16/8.24 * 26.16/8.24 *

Note that fail-fast behavior cannot be guaranteed as it is, generally 26.16/8.24 * speaking, impossible to make any hard guarantees in the presence of 26.16/8.24 * unsynchronized concurrent modification. Fail-fast operations 26.16/8.24 * throw ConcurrentModificationException on a best-effort basis. 26.16/8.24 * Therefore, it would be wrong to write a program that depended on this 26.16/8.24 * exception for its correctness: ConcurrentModificationException 26.16/8.24 * should be used only to detect bugs. 26.16/8.24 * 26.16/8.24 * @author Josh Bloch 26.16/8.24 * @see Collection 26.16/8.24 * @see Iterator 26.16/8.24 * @see ListIterator 26.16/8.24 * @see Vector 26.16/8.24 * @see LinkedList 26.16/8.24 * @see HashSet 26.16/8.24 * @see Hashtable 26.16/8.24 * @see TreeMap 26.16/8.24 * @see AbstractList 26.16/8.24 * @since 1.2 26.16/8.24 */ 26.16/8.24 public class ConcurrentModificationException extends RuntimeException { 26.16/8.24 /** 26.16/8.24 * Constructs a ConcurrentModificationException with no 26.16/8.24 * detail message. 26.16/8.24 */ 26.16/8.24 public ConcurrentModificationException() { 26.16/8.24 } 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Constructs a ConcurrentModificationException with the 26.16/8.24 * specified detail message. 26.16/8.24 * 26.16/8.24 * @param message the detail message pertaining to this exception. 26.16/8.24 */ 26.16/8.24 public ConcurrentModificationException(String message) { 26.16/8.24 super(message); 26.16/8.24 } 26.16/8.24 } 26.16/8.24 26.16/8.24 26.16/8.24 /* 26.16/8.24 * Copyright 1997-2007 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.24 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.24 * 26.16/8.24 * This code is free software; you can redistribute it and/or modify it 26.16/8.24 * under the terms of the GNU General Public License version 2 only, as 26.16/8.24 * published by the Free Software Foundation. Sun designates this 26.16/8.24 * particular file as subject to the "Classpath" exception as provided 26.16/8.24 * by Sun in the LICENSE file that accompanied this code. 26.16/8.24 * 26.16/8.24 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.24 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.24 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.24 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.24 * accompanied this code). 26.16/8.24 * 26.16/8.24 * You should have received a copy of the GNU General Public License version 26.16/8.24 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.24 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.24 * 26.16/8.24 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.24 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.24 * have any questions. 26.16/8.24 */ 26.16/8.24 26.16/8.24 package javaUtilEx; 26.16/8.24 26.16/8.24 /** 26.16/8.24 * Hash table based implementation of the Map interface. This 26.16/8.24 * implementation provides all of the optional map operations, and permits 26.16/8.24 * null values and the null key. (The HashMap 26.16/8.24 * class is roughly equivalent to Hashtable, except that it is 26.16/8.24 * unsynchronized and permits nulls.) This class makes no guarantees as to 26.16/8.24 * the order of the map; in particular, it does not guarantee that the order 26.16/8.24 * will remain constant over time. 26.16/8.24 * 26.16/8.24 *

This implementation provides constant-time performance for the basic 26.16/8.24 * operations (get and put), assuming the hash function 26.16/8.24 * disperses the elements properly among the buckets. Iteration over 26.16/8.24 * collection views requires time proportional to the "capacity" of the 26.16/8.24 * HashMap instance (the number of buckets) plus its size (the number 26.16/8.24 * of key-value mappings). Thus, it's very important not to set the initial 26.16/8.24 * capacity too high (or the load factor too low) if iteration performance is 26.16/8.24 * important. 26.16/8.24 * 26.16/8.24 *

An instance of HashMap has two parameters that affect its 26.16/8.24 * performance: initial capacity and load factor. The 26.16/8.24 * capacity is the number of buckets in the hash table, and the initial 26.16/8.24 * capacity is simply the capacity at the time the hash table is created. The 26.16/8.24 * load factor is a measure of how full the hash table is allowed to 26.16/8.25 * get before its capacity is automatically increased. When the number of 26.16/8.25 * entries in the hash table exceeds the product of the load factor and the 26.16/8.25 * current capacity, the hash table is rehashed (that is, internal data 26.16/8.25 * structures are rebuilt) so that the hash table has approximately twice the 26.16/8.25 * number of buckets. 26.16/8.25 * 26.16/8.25 *

As a general rule, the default load factor (.75) offers a good tradeoff 26.16/8.25 * between time and space costs. Higher values decrease the space overhead 26.16/8.25 * but increase the lookup cost (reflected in most of the operations of the 26.16/8.25 * HashMap class, including get and put). The 26.16/8.25 * expected number of entries in the map and its load factor should be taken 26.16/8.25 * into account when setting its initial capacity, so as to minimize the 26.16/8.25 * number of rehash operations. If the initial capacity is greater 26.16/8.25 * than the maximum number of entries divided by the load factor, no 26.16/8.25 * rehash operations will ever occur. 26.16/8.25 * 26.16/8.25 *

If many mappings are to be stored in a HashMap instance, 26.16/8.25 * creating it with a sufficiently large capacity will allow the mappings to 26.16/8.25 * be stored more efficiently than letting it perform automatic rehashing as 26.16/8.25 * needed to grow the table. 26.16/8.25 * 26.16/8.25 *

Note that this implementation is not synchronized. 26.16/8.25 * If multiple threads access a hash map concurrently, and at least one of 26.16/8.25 * the threads modifies the map structurally, it must be 26.16/8.25 * synchronized externally. (A structural modification is any operation 26.16/8.25 * that adds or deletes one or more mappings; merely changing the value 26.16/8.25 * associated with a key that an instance already contains is not a 26.16/8.25 * structural modification.) This is typically accomplished by 26.16/8.25 * synchronizing on some object that naturally encapsulates the map. 26.16/8.25 * 26.16/8.25 * If no such object exists, the map should be "wrapped" using the 26.16/8.25 * {@link Collections#synchronizedMap Collections.synchronizedMap} 26.16/8.25 * method. This is best done at creation time, to prevent accidental 26.16/8.25 * unsynchronized access to the map:

26.16/8.25	 *   Map m = Collections.synchronizedMap(new HashMap(...));
26.16/8.25 * 26.16/8.25 *

The iterators returned by all of this class's "collection view methods" 26.16/8.25 * are fail-fast: if the map is structurally modified at any time after 26.16/8.25 * the iterator is created, in any way except through the iterator's own 26.16/8.25 * remove method, the iterator will throw a 26.16/8.25 * {@link ConcurrentModificationException}. Thus, in the face of concurrent 26.16/8.25 * modification, the iterator fails quickly and cleanly, rather than risking 26.16/8.25 * arbitrary, non-deterministic behavior at an undetermined time in the 26.16/8.25 * future. 26.16/8.25 * 26.16/8.25 *

Note that the fail-fast behavior of an iterator cannot be guaranteed 26.16/8.25 * as it is, generally speaking, impossible to make any hard guarantees in the 26.16/8.25 * presence of unsynchronized concurrent modification. Fail-fast iterators 26.16/8.25 * throw ConcurrentModificationException on a best-effort basis. 26.16/8.25 * Therefore, it would be wrong to write a program that depended on this 26.16/8.25 * exception for its correctness: the fail-fast behavior of iterators 26.16/8.25 * should be used only to detect bugs. 26.16/8.25 * 26.16/8.25 *

This class is a member of the 26.16/8.25 * 26.16/8.25 * Java Collections Framework. 26.16/8.25 * 26.16/8.25 * @param the type of keys maintained by this map 26.16/8.25 * @param the type of mapped values 26.16/8.25 * 26.16/8.25 * @author Doug Lea 26.16/8.25 * @author Josh Bloch 26.16/8.25 * @author Arthur van Hoff 26.16/8.25 * @author Neal Gafter 26.16/8.25 * @see Object#hashCode() 26.16/8.25 * @see Collection 26.16/8.25 * @see Map 26.16/8.25 * @see TreeMap 26.16/8.25 * @see Hashtable 26.16/8.25 * @since 1.2 26.16/8.25 */ 26.16/8.25 26.16/8.25 public class HashMap 26.16/8.25 extends AbstractMap 26.16/8.25 implements Map, Cloneable 26.16/8.25 { 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The default initial capacity - MUST be a power of two. 26.16/8.25 */ 26.16/8.25 static final int DEFAULT_INITIAL_CAPACITY = 16; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The maximum capacity, used if a higher value is implicitly specified 26.16/8.25 * by either of the constructors with arguments. 26.16/8.25 * MUST be a power of two <= 1<<30. 26.16/8.25 */ 26.16/8.25 static final int MAXIMUM_CAPACITY = 1 << 30; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The load factor used when none specified in constructor. 26.16/8.25 */ 26.16/8.25 static final float DEFAULT_LOAD_FACTOR = 0.75f; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The table, resized as necessary. Length MUST Always be a power of two. 26.16/8.25 */ 26.16/8.25 transient Entry[] table; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The number of key-value mappings contained in this map. 26.16/8.25 */ 26.16/8.25 transient int size; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The next size value at which to resize (capacity * load factor). 26.16/8.25 * @serial 26.16/8.25 */ 26.16/8.25 int threshold; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The load factor for the hash table. 26.16/8.25 * 26.16/8.25 * @serial 26.16/8.25 */ 26.16/8.25 final float loadFactor; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * The number of times this HashMap has been structurally modified 26.16/8.25 * Structural modifications are those that change the number of mappings in 26.16/8.25 * the HashMap or otherwise modify its internal structure (e.g., 26.16/8.25 * rehash). This field is used to make iterators on Collection-views of 26.16/8.25 * the HashMap fail-fast. (See ConcurrentModificationException). 26.16/8.25 */ 26.16/8.25 transient volatile int modCount; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs an empty HashMap with the specified initial 26.16/8.25 * capacity and load factor. 26.16/8.25 * 26.16/8.25 * @param initialCapacity the initial capacity 26.16/8.25 * @param loadFactor the load factor 26.16/8.25 * @throws IllegalArgumentException if the initial capacity is negative 26.16/8.25 * or the load factor is nonpositive 26.16/8.25 */ 26.16/8.25 public HashMap(int initialCapacity, float loadFactor) { 26.16/8.25 if (initialCapacity < 0) 26.16/8.25 throw new IllegalArgumentException("Illegal initial capacity: " + 26.16/8.25 initialCapacity); 26.16/8.25 if (initialCapacity > MAXIMUM_CAPACITY) 26.16/8.25 initialCapacity = MAXIMUM_CAPACITY; 26.16/8.25 if (loadFactor <= 0 || Float.isNaN(loadFactor)) 26.16/8.25 throw new IllegalArgumentException("Illegal load factor: " + 26.16/8.25 loadFactor); 26.16/8.25 26.16/8.25 // Find a power of 2 >= initialCapacity 26.16/8.25 int capacity = 1; 26.16/8.25 while (capacity < initialCapacity) 26.16/8.25 capacity <<= 1; 26.16/8.25 26.16/8.25 this.loadFactor = loadFactor; 26.16/8.25 threshold = (int)(capacity * loadFactor); 26.16/8.25 table = new Entry[capacity]; 26.16/8.25 init(); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs an empty HashMap with the specified initial 26.16/8.25 * capacity and the default load factor (0.75). 26.16/8.25 * 26.16/8.25 * @param initialCapacity the initial capacity. 26.16/8.25 * @throws IllegalArgumentException if the initial capacity is negative. 26.16/8.25 */ 26.16/8.25 public HashMap(int initialCapacity) { 26.16/8.25 this(initialCapacity, DEFAULT_LOAD_FACTOR); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs an empty HashMap with the default initial capacity 26.16/8.25 * (16) and the default load factor (0.75). 26.16/8.25 */ 26.16/8.25 public HashMap() { 26.16/8.25 this.loadFactor = DEFAULT_LOAD_FACTOR; 26.16/8.25 threshold = (int)(DEFAULT_INITIAL_CAPACITY * DEFAULT_LOAD_FACTOR); 26.16/8.25 table = new Entry[DEFAULT_INITIAL_CAPACITY]; 26.16/8.25 init(); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs a new HashMap with the same mappings as the 26.16/8.25 * specified Map. The HashMap is created with 26.16/8.25 * default load factor (0.75) and an initial capacity sufficient to 26.16/8.25 * hold the mappings in the specified Map. 26.16/8.25 * 26.16/8.25 * @param m the map whose mappings are to be placed in this map 26.16/8.25 * @throws NullPointerException if the specified map is null 26.16/8.25 */ 26.16/8.25 public HashMap(Map m) { 26.16/8.25 this(Math.max((int) (m.size() / DEFAULT_LOAD_FACTOR) + 1, 26.16/8.25 DEFAULT_INITIAL_CAPACITY), DEFAULT_LOAD_FACTOR); 26.16/8.25 putAllForCreate(m); 26.16/8.25 } 26.16/8.25 26.16/8.25 // internal utilities 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Initialization hook for subclasses. This method is called 26.16/8.25 * in all constructors and pseudo-constructors (clone, readObject) 26.16/8.25 * after HashMap has been initialized but before any entries have 26.16/8.25 * been inserted. (In the absence of this method, readObject would 26.16/8.25 * require explicit knowledge of subclasses.) 26.16/8.25 */ 26.16/8.25 void init() { 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Applies a supplemental hash function to a given hashCode, which 26.16/8.25 * defends against poor quality hash functions. This is critical 26.16/8.25 * because HashMap uses power-of-two length hash tables, that 26.16/8.25 * otherwise encounter collisions for hashCodes that do not differ 26.16/8.25 * in lower bits. Note: Null keys always map to hash 0, thus index 0. 26.16/8.25 */ 26.16/8.25 static int hash(int h) { 26.16/8.25 // This function ensures that hashCodes that differ only by 26.16/8.25 // constant multiples at each bit position have a bounded 26.16/8.25 // number of collisions (approximately 8 at default load factor). 26.16/8.25 h ^= (h >>> 20) ^ (h >>> 12); 26.16/8.25 return h ^ (h >>> 7) ^ (h >>> 4); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns index for hash code h. 26.16/8.25 */ 26.16/8.25 static int indexFor(int h, int length) { 26.16/8.25 return h & (length-1); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the number of key-value mappings in this map. 26.16/8.25 * 26.16/8.25 * @return the number of key-value mappings in this map 26.16/8.25 */ 26.16/8.25 public int size() { 26.16/8.25 return size; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this map contains no key-value mappings. 26.16/8.25 * 26.16/8.25 * @return true if this map contains no key-value mappings 26.16/8.25 */ 26.16/8.25 public boolean isEmpty() { 26.16/8.25 return size == 0; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the value to which the specified key is mapped, 26.16/8.25 * or {@code null} if this map contains no mapping for the key. 26.16/8.25 * 26.16/8.25 *

More formally, if this map contains a mapping from a key 26.16/8.25 * {@code k} to a value {@code v} such that {@code (key==null ? k==null : 26.16/8.25 * key.equals(k))}, then this method returns {@code v}; otherwise 26.16/8.25 * it returns {@code null}. (There can be at most one such mapping.) 26.16/8.25 * 26.16/8.25 *

A return value of {@code null} does not necessarily 26.16/8.25 * indicate that the map contains no mapping for the key; it's also 26.16/8.25 * possible that the map explicitly maps the key to {@code null}. 26.16/8.25 * The {@link #containsKey containsKey} operation may be used to 26.16/8.25 * distinguish these two cases. 26.16/8.25 * 26.16/8.25 * @see #put(Object, Object) 26.16/8.25 */ 26.16/8.25 public V get(Object key) { 26.16/8.25 if (key == null) 26.16/8.25 return getForNullKey(); 26.16/8.25 int hash = hash(key.hashCode()); 26.16/8.25 for (Entry e = table[indexFor(hash, table.length)]; 26.16/8.25 e != null; 26.16/8.25 e = e.next) { 26.16/8.25 Object k; 26.16/8.25 if (e.hash == hash && ((k = e.key) == key || key.equals(k))) 26.16/8.25 return e.value; 26.16/8.25 } 26.16/8.25 return null; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Offloaded version of get() to look up null keys. Null keys map 26.16/8.25 * to index 0. This null case is split out into separate methods 26.16/8.25 * for the sake of performance in the two most commonly used 26.16/8.25 * operations (get and put), but incorporated with conditionals in 26.16/8.25 * others. 26.16/8.25 */ 26.16/8.25 private V getForNullKey() { 26.16/8.25 for (Entry e = table[0]; e != null; e = e.next) { 26.16/8.25 if (e.key == null) 26.16/8.25 return e.value; 26.16/8.25 } 26.16/8.25 return null; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this map contains a mapping for the 26.16/8.25 * specified key. 26.16/8.25 * 26.16/8.25 * @param key The key whose presence in this map is to be tested 26.16/8.25 * @return true if this map contains a mapping for the specified 26.16/8.25 * key. 26.16/8.25 */ 26.16/8.25 public boolean containsKey(Object key) { 26.16/8.25 return getEntry(key) != null; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the entry associated with the specified key in the 26.16/8.25 * HashMap. Returns null if the HashMap contains no mapping 26.16/8.25 * for the key. 26.16/8.25 */ 26.16/8.25 final Entry getEntry(Object key) { 26.16/8.25 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.25 for (Entry e = table[indexFor(hash, table.length)]; 26.16/8.25 e != null; 26.16/8.25 e = e.next) { 26.16/8.25 Object k; 26.16/8.25 if (e.hash == hash && 26.16/8.25 ((k = e.key) == key || (key != null && key.equals(k)))) 26.16/8.25 return e; 26.16/8.25 } 26.16/8.25 return null; 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Associates the specified value with the specified key in this map. 26.16/8.25 * If the map previously contained a mapping for the key, the old 26.16/8.25 * value is replaced. 26.16/8.25 * 26.16/8.25 * @param key key with which the specified value is to be associated 26.16/8.25 * @param value value to be associated with the specified key 26.16/8.25 * @return the previous value associated with key, or 26.16/8.25 * null if there was no mapping for key. 26.16/8.25 * (A null return can also indicate that the map 26.16/8.25 * previously associated null with key.) 26.16/8.25 */ 26.16/8.25 public V put(K key, V value) { 26.16/8.25 if (key == null) 26.16/8.25 return putForNullKey(value); 26.16/8.25 int hash = hash(key.hashCode()); 26.16/8.25 int i = indexFor(hash, table.length); 26.16/8.25 for (Entry e = table[i]; e != null; e = e.next) { 26.16/8.25 Object k; 26.16/8.25 if (e.hash == hash && ((k = e.key) == key || key.equals(k))) { 26.16/8.25 V oldValue = e.value; 26.16/8.25 e.value = value; 26.16/8.25 e.recordAccess(this); 26.16/8.25 return oldValue; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 modCount++; 26.16/8.25 addEntry(hash, key, value, i); 26.16/8.25 return null; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Offloaded version of put for null keys 26.16/8.25 */ 26.16/8.25 private V putForNullKey(V value) { 26.16/8.25 for (Entry e = table[0]; e != null; e = e.next) { 26.16/8.25 if (e.key == null) { 26.16/8.25 V oldValue = e.value; 26.16/8.25 e.value = value; 26.16/8.25 e.recordAccess(this); 26.16/8.25 return oldValue; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 modCount++; 26.16/8.25 addEntry(0, null, value, 0); 26.16/8.25 return null; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * This method is used instead of put by constructors and 26.16/8.25 * pseudoconstructors (clone, readObject). It does not resize the table, 26.16/8.25 * check for comodification, etc. It calls createEntry rather than 26.16/8.25 * addEntry. 26.16/8.25 */ 26.16/8.25 private void putForCreate(K key, V value) { 26.16/8.25 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.25 int i = indexFor(hash, table.length); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Look for preexisting entry for key. This will never happen for 26.16/8.25 * clone or deserialize. It will only happen for construction if the 26.16/8.25 * input Map is a sorted map whose ordering is inconsistent w/ equals. 26.16/8.25 */ 26.16/8.25 for (Entry e = table[i]; e != null; e = e.next) { 26.16/8.25 Object k; 26.16/8.25 if (e.hash == hash && 26.16/8.25 ((k = e.key) == key || (key != null && key.equals(k)))) { 26.16/8.25 e.value = value; 26.16/8.25 return; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 createEntry(hash, key, value, i); 26.16/8.25 } 26.16/8.25 26.16/8.25 private void putAllForCreate(Map m) { 26.16/8.25 for (Iterator> i = m.entrySet().iterator(); i.hasNext(); ) { 26.16/8.25 Map.Entry e = i.next(); 26.16/8.25 putForCreate(e.getKey(), e.getValue()); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Rehashes the contents of this map into a new array with a 26.16/8.25 * larger capacity. This method is called automatically when the 26.16/8.25 * number of keys in this map reaches its threshold. 26.16/8.25 * 26.16/8.25 * If current capacity is MAXIMUM_CAPACITY, this method does not 26.16/8.25 * resize the map, but sets threshold to Integer.MAX_VALUE. 26.16/8.25 * This has the effect of preventing future calls. 26.16/8.25 * 26.16/8.25 * @param newCapacity the new capacity, MUST be a power of two; 26.16/8.25 * must be greater than current capacity unless current 26.16/8.25 * capacity is MAXIMUM_CAPACITY (in which case value 26.16/8.25 * is irrelevant). 26.16/8.25 */ 26.16/8.25 void resize(int newCapacity) { 26.16/8.25 Entry[] oldTable = table; 26.16/8.25 int oldCapacity = oldTable.length; 26.16/8.25 if (oldCapacity == MAXIMUM_CAPACITY) { 26.16/8.25 threshold = Integer.MAX_VALUE; 26.16/8.25 return; 26.16/8.25 } 26.16/8.25 26.16/8.25 Entry[] newTable = new Entry[newCapacity]; 26.16/8.25 transfer(newTable); 26.16/8.25 table = newTable; 26.16/8.25 threshold = (int)(newCapacity * loadFactor); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Transfers all entries from current table to newTable. 26.16/8.25 */ 26.16/8.25 void transfer(Entry[] newTable) { 26.16/8.25 Entry[] src = table; 26.16/8.25 int newCapacity = newTable.length; 26.16/8.25 for (int j = 0; j < src.length; j++) { 26.16/8.25 Entry e = src[j]; 26.16/8.25 if (e != null) { 26.16/8.25 src[j] = null; 26.16/8.25 do { 26.16/8.25 Entry next = e.next; 26.16/8.25 int i = indexFor(e.hash, newCapacity); 26.16/8.25 e.next = newTable[i]; 26.16/8.25 newTable[i] = e; 26.16/8.25 e = next; 26.16/8.25 } while (e != null); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Copies all of the mappings from the specified map to this map. 26.16/8.25 * These mappings will replace any mappings that this map had for 26.16/8.25 * any of the keys currently in the specified map. 26.16/8.25 * 26.16/8.25 * @param m mappings to be stored in this map 26.16/8.25 * @throws NullPointerException if the specified map is null 26.16/8.25 */ 26.16/8.25 public void putAll(Map m) { 26.16/8.25 int numKeysToBeAdded = m.size(); 26.16/8.25 if (numKeysToBeAdded == 0) 26.16/8.25 return; 26.16/8.25 26.16/8.25 /* 26.16/8.25 * Expand the map if the map if the number of mappings to be added 26.16/8.25 * is greater than or equal to threshold. This is conservative; the 26.16/8.25 * obvious condition is (m.size() + size) >= threshold, but this 26.16/8.25 * condition could result in a map with twice the appropriate capacity, 26.16/8.25 * if the keys to be added overlap with the keys already in this map. 26.16/8.25 * By using the conservative calculation, we subject ourself 26.16/8.25 * to at most one extra resize. 26.16/8.25 */ 26.16/8.25 if (numKeysToBeAdded > threshold) { 26.16/8.25 int targetCapacity = (int)(numKeysToBeAdded / loadFactor + 1); 26.16/8.25 if (targetCapacity > MAXIMUM_CAPACITY) 26.16/8.25 targetCapacity = MAXIMUM_CAPACITY; 26.16/8.25 int newCapacity = table.length; 26.16/8.25 while (newCapacity < targetCapacity) 26.16/8.25 newCapacity <<= 1; 26.16/8.25 if (newCapacity > table.length) 26.16/8.25 resize(newCapacity); 26.16/8.25 } 26.16/8.25 26.16/8.25 for (Iterator> i = m.entrySet().iterator(); i.hasNext(); ) { 26.16/8.25 Map.Entry e = i.next(); 26.16/8.25 put(e.getKey(), e.getValue()); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Removes the mapping for the specified key from this map if present. 26.16/8.25 * 26.16/8.25 * @param key key whose mapping is to be removed from the map 26.16/8.25 * @return the previous value associated with key, or 26.16/8.25 * null if there was no mapping for key. 26.16/8.25 * (A null return can also indicate that the map 26.16/8.25 * previously associated null with key.) 26.16/8.25 */ 26.16/8.25 public V remove(Object key) { 26.16/8.25 Entry e = removeEntryForKey(key); 26.16/8.25 return (e == null ? null : e.value); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Removes and returns the entry associated with the specified key 26.16/8.25 * in the HashMap. Returns null if the HashMap contains no mapping 26.16/8.25 * for this key. 26.16/8.25 */ 26.16/8.25 final Entry removeEntryForKey(Object key) { 26.16/8.25 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.25 int i = indexFor(hash, table.length); 26.16/8.25 Entry prev = table[i]; 26.16/8.25 Entry e = prev; 26.16/8.25 26.16/8.25 while (e != null) { 26.16/8.25 Entry next = e.next; 26.16/8.25 Object k; 26.16/8.25 if (e.hash == hash && 26.16/8.25 ((k = e.key) == key || (key != null && key.equals(k)))) { 26.16/8.25 modCount++; 26.16/8.25 size--; 26.16/8.25 if (prev == e) 26.16/8.25 table[i] = next; 26.16/8.25 else 26.16/8.25 prev.next = next; 26.16/8.25 e.recordRemoval(this); 26.16/8.25 return e; 26.16/8.25 } 26.16/8.25 prev = e; 26.16/8.25 e = next; 26.16/8.25 } 26.16/8.25 26.16/8.25 return e; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Special version of remove for EntrySet. 26.16/8.25 */ 26.16/8.25 final Entry removeMapping(Object o) { 26.16/8.25 if (!(o instanceof Map.Entry)) 26.16/8.25 return null; 26.16/8.25 26.16/8.25 Map.Entry entry = (Map.Entry) o; 26.16/8.25 Object key = entry.getKey(); 26.16/8.25 int hash = (key == null) ? 0 : hash(key.hashCode()); 26.16/8.25 int i = indexFor(hash, table.length); 26.16/8.25 Entry prev = table[i]; 26.16/8.25 Entry e = prev; 26.16/8.25 26.16/8.25 while (e != null) { 26.16/8.25 Entry next = e.next; 26.16/8.25 if (e.hash == hash && e.equals(entry)) { 26.16/8.25 modCount++; 26.16/8.25 size--; 26.16/8.25 if (prev == e) 26.16/8.25 table[i] = next; 26.16/8.25 else 26.16/8.25 prev.next = next; 26.16/8.25 e.recordRemoval(this); 26.16/8.25 return e; 26.16/8.25 } 26.16/8.25 prev = e; 26.16/8.25 e = next; 26.16/8.25 } 26.16/8.25 26.16/8.25 return e; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Removes all of the mappings from this map. 26.16/8.25 * The map will be empty after this call returns. 26.16/8.25 */ 26.16/8.25 public void clear() { 26.16/8.25 modCount++; 26.16/8.25 Entry[] tab = table; 26.16/8.25 for (int i = 0; i < tab.length; i++) 26.16/8.25 tab[i] = null; 26.16/8.25 size = 0; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this map maps one or more keys to the 26.16/8.25 * specified value. 26.16/8.25 * 26.16/8.25 * @param value value whose presence in this map is to be tested 26.16/8.25 * @return true if this map maps one or more keys to the 26.16/8.25 * specified value 26.16/8.25 */ 26.16/8.25 public boolean containsValue(Object value) { 26.16/8.25 if (value == null) 26.16/8.25 return containsNullValue(); 26.16/8.25 26.16/8.25 Entry[] tab = table; 26.16/8.25 for (int i = 0; i < tab.length ; i++) 26.16/8.25 for (Entry e = tab[i] ; e != null ; e = e.next) 26.16/8.25 if (value.equals(e.value)) 26.16/8.25 return true; 26.16/8.25 return false; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Special-case code for containsValue with null argument 26.16/8.25 */ 26.16/8.25 private boolean containsNullValue() { 26.16/8.25 Entry[] tab = table; 26.16/8.25 for (int i = 0; i < tab.length ; i++) 26.16/8.25 for (Entry e = tab[i] ; e != null ; e = e.next) 26.16/8.25 if (e.value == null) 26.16/8.25 return true; 26.16/8.25 return false; 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns a shallow copy of this HashMap instance: the keys and 26.16/8.25 * values themselves are not cloned. 26.16/8.25 * 26.16/8.25 * @return a shallow copy of this map 26.16/8.25 */ 26.16/8.25 public Object clone() { 26.16/8.25 HashMap result = null; 26.16/8.25 try { 26.16/8.25 result = (HashMap)super.clone(); 26.16/8.25 } catch (CloneNotSupportedException e) { 26.16/8.25 // assert false; 26.16/8.25 } 26.16/8.25 result.table = new Entry[table.length]; 26.16/8.25 result.entrySet = null; 26.16/8.25 result.modCount = 0; 26.16/8.25 result.size = 0; 26.16/8.25 result.init(); 26.16/8.25 result.putAllForCreate(this); 26.16/8.25 26.16/8.25 return result; 26.16/8.25 } 26.16/8.25 26.16/8.25 static class Entry implements Map.Entry { 26.16/8.25 final K key; 26.16/8.25 V value; 26.16/8.25 Entry next; 26.16/8.25 final int hash; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Creates new entry. 26.16/8.25 */ 26.16/8.25 Entry(int h, K k, V v, Entry n) { 26.16/8.25 value = v; 26.16/8.25 next = n; 26.16/8.25 key = k; 26.16/8.25 hash = h; 26.16/8.25 } 26.16/8.25 26.16/8.25 public final K getKey() { 26.16/8.25 return key; 26.16/8.25 } 26.16/8.25 26.16/8.25 public final V getValue() { 26.16/8.25 return value; 26.16/8.25 } 26.16/8.25 26.16/8.25 public final V setValue(V newValue) { 26.16/8.25 V oldValue = value; 26.16/8.25 value = newValue; 26.16/8.25 return oldValue; 26.16/8.25 } 26.16/8.25 26.16/8.25 public final boolean equals(Object o) { 26.16/8.25 if (!(o instanceof Map.Entry)) 26.16/8.25 return false; 26.16/8.25 Map.Entry e = (Map.Entry)o; 26.16/8.25 Object k1 = getKey(); 26.16/8.25 Object k2 = e.getKey(); 26.16/8.25 if (k1 == k2 || (k1 != null && k1.equals(k2))) { 26.16/8.25 Object v1 = getValue(); 26.16/8.25 Object v2 = e.getValue(); 26.16/8.25 if (v1 == v2 || (v1 != null && v1.equals(v2))) 26.16/8.25 return true; 26.16/8.25 } 26.16/8.25 return false; 26.16/8.25 } 26.16/8.25 26.16/8.25 public final int hashCode() { 26.16/8.25 return (key==null ? 0 : key.hashCode()) ^ 26.16/8.25 (value==null ? 0 : value.hashCode()); 26.16/8.25 } 26.16/8.25 26.16/8.25 public final String toString() { 26.16/8.25 return getKey() + "=" + getValue(); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * This method is invoked whenever the value in an entry is 26.16/8.25 * overwritten by an invocation of put(k,v) for a key k that's already 26.16/8.25 * in the HashMap. 26.16/8.25 */ 26.16/8.25 void recordAccess(HashMap m) { 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * This method is invoked whenever the entry is 26.16/8.25 * removed from the table. 26.16/8.25 */ 26.16/8.25 void recordRemoval(HashMap m) { 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Adds a new entry with the specified key, value and hash code to 26.16/8.25 * the specified bucket. It is the responsibility of this 26.16/8.25 * method to resize the table if appropriate. 26.16/8.25 * 26.16/8.25 * Subclass overrides this to alter the behavior of put method. 26.16/8.25 */ 26.16/8.25 void addEntry(int hash, K key, V value, int bucketIndex) { 26.16/8.25 Entry e = table[bucketIndex]; 26.16/8.25 table[bucketIndex] = new Entry(hash, key, value, e); 26.16/8.25 if (size++ >= threshold) 26.16/8.25 resize(2 * table.length); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Like addEntry except that this version is used when creating entries 26.16/8.25 * as part of Map construction or "pseudo-construction" (cloning, 26.16/8.25 * deserialization). This version needn't worry about resizing the table. 26.16/8.25 * 26.16/8.25 * Subclass overrides this to alter the behavior of HashMap(Map), 26.16/8.25 * clone, and readObject. 26.16/8.25 */ 26.16/8.25 void createEntry(int hash, K key, V value, int bucketIndex) { 26.16/8.25 Entry e = table[bucketIndex]; 26.16/8.25 table[bucketIndex] = new Entry(hash, key, value, e); 26.16/8.25 size++; 26.16/8.25 } 26.16/8.25 26.16/8.25 private abstract class HashIterator implements Iterator { 26.16/8.25 Entry next; // next entry to return 26.16/8.25 int expectedModCount; // For fast-fail 26.16/8.25 int index; // current slot 26.16/8.25 Entry current; // current entry 26.16/8.25 26.16/8.25 HashIterator() { 26.16/8.25 expectedModCount = modCount; 26.16/8.25 if (size > 0) { // advance to first entry 26.16/8.25 Entry[] t = table; 26.16/8.25 while (index < t.length && (next = t[index++]) == null) 26.16/8.25 ; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 public final boolean hasNext() { 26.16/8.25 return next != null; 26.16/8.25 } 26.16/8.25 26.16/8.25 final Entry nextEntry() { 26.16/8.25 if (modCount != expectedModCount) 26.16/8.25 throw new ConcurrentModificationException(); 26.16/8.25 Entry e = next; 26.16/8.25 if (e == null) 26.16/8.25 throw new NoSuchElementException(); 26.16/8.25 26.16/8.25 if ((next = e.next) == null) { 26.16/8.25 Entry[] t = table; 26.16/8.25 while (index < t.length && (next = t[index++]) == null) 26.16/8.25 ; 26.16/8.25 } 26.16/8.25 current = e; 26.16/8.25 return e; 26.16/8.25 } 26.16/8.25 26.16/8.25 public void remove() { 26.16/8.25 if (current == null) 26.16/8.25 throw new IllegalStateException(); 26.16/8.25 if (modCount != expectedModCount) 26.16/8.25 throw new ConcurrentModificationException(); 26.16/8.25 Object k = current.key; 26.16/8.25 current = null; 26.16/8.25 HashMap.this.removeEntryForKey(k); 26.16/8.25 expectedModCount = modCount; 26.16/8.25 } 26.16/8.25 26.16/8.25 } 26.16/8.25 26.16/8.25 private final class ValueIterator extends HashIterator { 26.16/8.25 public V next() { 26.16/8.25 return nextEntry().value; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 private final class KeyIterator extends HashIterator { 26.16/8.25 public K next() { 26.16/8.25 return nextEntry().getKey(); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 private final class EntryIterator extends HashIterator> { 26.16/8.25 public Map.Entry next() { 26.16/8.25 return nextEntry(); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 // Subclass overrides these to alter behavior of views' iterator() method 26.16/8.25 Iterator newKeyIterator() { 26.16/8.25 return new KeyIterator(); 26.16/8.25 } 26.16/8.25 Iterator newValueIterator() { 26.16/8.25 return new ValueIterator(); 26.16/8.25 } 26.16/8.25 Iterator> newEntryIterator() { 26.16/8.25 return new EntryIterator(); 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 // Views 26.16/8.25 26.16/8.25 private transient Set> entrySet = null; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns a {@link Set} view of the keys contained in this map. 26.16/8.25 * The set is backed by the map, so changes to the map are 26.16/8.25 * reflected in the set, and vice-versa. If the map is modified 26.16/8.25 * while an iteration over the set is in progress (except through 26.16/8.25 * the iterator's own remove operation), the results of 26.16/8.25 * the iteration are undefined. The set supports element removal, 26.16/8.25 * which removes the corresponding mapping from the map, via the 26.16/8.25 * Iterator.remove, Set.remove, 26.16/8.25 * removeAll, retainAll, and clear 26.16/8.25 * operations. It does not support the add or addAll 26.16/8.25 * operations. 26.16/8.25 */ 26.16/8.25 public Set keySet() { 26.16/8.25 Set ks = keySet; 26.16/8.25 return (ks != null ? ks : (keySet = new KeySet())); 26.16/8.25 } 26.16/8.25 26.16/8.25 private final class KeySet extends AbstractSet { 26.16/8.25 public Iterator iterator() { 26.16/8.25 return newKeyIterator(); 26.16/8.25 } 26.16/8.25 public int size() { 26.16/8.25 return size; 26.16/8.25 } 26.16/8.25 public boolean contains(Object o) { 26.16/8.25 return containsKey(o); 26.16/8.25 } 26.16/8.25 public boolean remove(Object o) { 26.16/8.25 return HashMap.this.removeEntryForKey(o) != null; 26.16/8.25 } 26.16/8.25 public void clear() { 26.16/8.25 HashMap.this.clear(); 26.16/8.25 } 26.16/8.25 public Object[] toArray() { 26.16/8.25 Object[] res = new Object[size]; 26.16/8.25 Iterator it = iterator(); 26.16/8.25 int i = 0; 26.16/8.25 while (it.hasNext()) 26.16/8.25 res[i++] = it.next(); 26.16/8.25 return res; 26.16/8.25 } 26.16/8.25 public T[] toArray(T[] a) { 26.16/8.25 a = (T[])java.lang.reflect.Array.newInstance( 26.16/8.25 a.getClass().getComponentType(), size); 26.16/8.25 Object[] res = a; 26.16/8.25 Iterator it = iterator(); 26.16/8.25 int i = 0; 26.16/8.25 while (it.hasNext()) 26.16/8.25 res[i++] = it.next(); 26.16/8.25 return a; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns a {@link Collection} view of the values contained in this map. 26.16/8.25 * The collection is backed by the map, so changes to the map are 26.16/8.25 * reflected in the collection, and vice-versa. If the map is 26.16/8.25 * modified while an iteration over the collection is in progress 26.16/8.25 * (except through the iterator's own remove operation), 26.16/8.25 * the results of the iteration are undefined. The collection 26.16/8.25 * supports element removal, which removes the corresponding 26.16/8.25 * mapping from the map, via the Iterator.remove, 26.16/8.25 * Collection.remove, removeAll, 26.16/8.25 * retainAll and clear operations. It does not 26.16/8.25 * support the add or addAll operations. 26.16/8.25 */ 26.16/8.25 public Collection values() { 26.16/8.25 Collection vs = values; 26.16/8.25 return (vs != null ? vs : (values = new Values())); 26.16/8.25 } 26.16/8.25 26.16/8.25 private final class Values extends AbstractCollection { 26.16/8.25 public Iterator iterator() { 26.16/8.25 return newValueIterator(); 26.16/8.25 } 26.16/8.25 public int size() { 26.16/8.25 return size; 26.16/8.25 } 26.16/8.25 public boolean contains(Object o) { 26.16/8.25 return containsValue(o); 26.16/8.25 } 26.16/8.25 public void clear() { 26.16/8.25 HashMap.this.clear(); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns a {@link Set} view of the mappings contained in this map. 26.16/8.25 * The set is backed by the map, so changes to the map are 26.16/8.25 * reflected in the set, and vice-versa. If the map is modified 26.16/8.25 * while an iteration over the set is in progress (except through 26.16/8.25 * the iterator's own remove operation, or through the 26.16/8.25 * setValue operation on a map entry returned by the 26.16/8.25 * iterator) the results of the iteration are undefined. The set 26.16/8.25 * supports element removal, which removes the corresponding 26.16/8.25 * mapping from the map, via the Iterator.remove, 26.16/8.25 * Set.remove, removeAll, retainAll and 26.16/8.25 * clear operations. It does not support the 26.16/8.25 * add or addAll operations. 26.16/8.25 * 26.16/8.25 * @return a set view of the mappings contained in this map 26.16/8.25 */ 26.16/8.25 public Set> entrySet() { 26.16/8.25 return entrySet0(); 26.16/8.25 } 26.16/8.25 26.16/8.25 private Set> entrySet0() { 26.16/8.25 Set> es = entrySet; 26.16/8.25 return es != null ? es : (entrySet = new EntrySet()); 26.16/8.25 } 26.16/8.25 26.16/8.25 private final class EntrySet extends AbstractSet> { 26.16/8.25 public Iterator> iterator() { 26.16/8.25 return newEntryIterator(); 26.16/8.25 } 26.16/8.25 public boolean contains(Object o) { 26.16/8.25 if (!(o instanceof Map.Entry)) 26.16/8.25 return false; 26.16/8.25 Map.Entry e = (Map.Entry) o; 26.16/8.25 Entry candidate = getEntry(e.getKey()); 26.16/8.25 return candidate != null && candidate.equals(e); 26.16/8.25 } 26.16/8.25 public boolean remove(Object o) { 26.16/8.25 return removeMapping(o) != null; 26.16/8.25 } 26.16/8.25 public int size() { 26.16/8.25 return size; 26.16/8.25 } 26.16/8.25 public void clear() { 26.16/8.25 HashMap.this.clear(); 26.16/8.25 } 26.16/8.25 public Object[] toArray() { 26.16/8.25 Object[] res = new Object[size]; 26.16/8.25 Iterator> it = iterator(); 26.16/8.25 int i = 0; 26.16/8.25 while (it.hasNext()) 26.16/8.25 res[i++] = it.next(); 26.16/8.25 return res; 26.16/8.25 } 26.16/8.25 public T[] toArray(T[] a) { 26.16/8.25 a = (T[])java.lang.reflect.Array.newInstance( 26.16/8.25 a.getClass().getComponentType(), size); 26.16/8.25 Object[] res = a; 26.16/8.25 Iterator> it = iterator(); 26.16/8.25 int i = 0; 26.16/8.25 while (it.hasNext()) 26.16/8.25 res[i++] = it.next(); 26.16/8.25 return a; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 private static final long serialVersionUID = 362498820763181265L; 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 /* 26.16/8.25 * Copyright 1994-2003 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.25 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.25 * 26.16/8.25 * This code is free software; you can redistribute it and/or modify it 26.16/8.25 * under the terms of the GNU General Public License version 2 only, as 26.16/8.25 * published by the Free Software Foundation. Sun designates this 26.16/8.25 * particular file as subject to the "Classpath" exception as provided 26.16/8.25 * by Sun in the LICENSE file that accompanied this code. 26.16/8.25 * 26.16/8.25 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.25 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.25 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.25 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.25 * accompanied this code). 26.16/8.25 * 26.16/8.25 * You should have received a copy of the GNU General Public License version 26.16/8.25 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.25 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.25 * 26.16/8.25 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.25 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.25 * have any questions. 26.16/8.25 */ 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Thrown to indicate that a method has been passed an illegal or 26.16/8.25 * inappropriate argument. 26.16/8.25 * 26.16/8.25 * @author unascribed 26.16/8.25 * @see java.lang.Thread#setPriority(int) 26.16/8.25 * @since JDK1.0 26.16/8.25 */ 26.16/8.25 public 26.16/8.25 class IllegalArgumentException extends RuntimeException { 26.16/8.25 /** 26.16/8.25 * Constructs an IllegalArgumentException with no 26.16/8.25 * detail message. 26.16/8.25 */ 26.16/8.25 public IllegalArgumentException() { 26.16/8.25 super(); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs an IllegalArgumentException with the 26.16/8.25 * specified detail message. 26.16/8.25 * 26.16/8.25 * @param s the detail message. 26.16/8.25 */ 26.16/8.25 public IllegalArgumentException(String s) { 26.16/8.25 super(s); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs a new exception with the specified detail message and 26.16/8.25 * cause. 26.16/8.25 * 26.16/8.25 *

Note that the detail message associated with cause is 26.16/8.25 * not automatically incorporated in this exception's detail 26.16/8.25 * message. 26.16/8.25 * 26.16/8.25 * @param message the detail message (which is saved for later retrieval 26.16/8.25 * by the {@link Throwable#getMessage()} method). 26.16/8.25 * @param cause the cause (which is saved for later retrieval by the 26.16/8.25 * {@link Throwable#getCause()} method). (A null value 26.16/8.25 * is permitted, and indicates that the cause is nonexistent or 26.16/8.25 * unknown.) 26.16/8.25 * @since 1.5 26.16/8.25 */ 26.16/8.25 public IllegalArgumentException(String message, Throwable cause) { 26.16/8.25 super(message, cause); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs a new exception with the specified cause and a detail 26.16/8.25 * message of (cause==null ? null : cause.toString()) (which 26.16/8.25 * typically contains the class and detail message of cause). 26.16/8.25 * This constructor is useful for exceptions that are little more than 26.16/8.25 * wrappers for other throwables (for example, {@link 26.16/8.25 * java.security.PrivilegedActionException}). 26.16/8.25 * 26.16/8.25 * @param cause the cause (which is saved for later retrieval by the 26.16/8.25 * {@link Throwable#getCause()} method). (A null value is 26.16/8.25 * permitted, and indicates that the cause is nonexistent or 26.16/8.25 * unknown.) 26.16/8.25 * @since 1.5 26.16/8.25 */ 26.16/8.25 public IllegalArgumentException(Throwable cause) { 26.16/8.25 super(cause); 26.16/8.25 } 26.16/8.25 26.16/8.25 private static final long serialVersionUID = -5365630128856068164L; 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 /* 26.16/8.25 * Copyright 1996-2003 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.25 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.25 * 26.16/8.25 * This code is free software; you can redistribute it and/or modify it 26.16/8.25 * under the terms of the GNU General Public License version 2 only, as 26.16/8.25 * published by the Free Software Foundation. Sun designates this 26.16/8.25 * particular file as subject to the "Classpath" exception as provided 26.16/8.25 * by Sun in the LICENSE file that accompanied this code. 26.16/8.25 * 26.16/8.25 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.25 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.25 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.25 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.25 * accompanied this code). 26.16/8.25 * 26.16/8.25 * You should have received a copy of the GNU General Public License version 26.16/8.25 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.25 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.25 * 26.16/8.25 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.25 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.25 * have any questions. 26.16/8.25 */ 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Signals that a method has been invoked at an illegal or 26.16/8.25 * inappropriate time. In other words, the Java environment or 26.16/8.25 * Java application is not in an appropriate state for the requested 26.16/8.25 * operation. 26.16/8.25 * 26.16/8.25 * @author Jonni Kanerva 26.16/8.25 * @since JDK1.1 26.16/8.25 */ 26.16/8.25 public 26.16/8.25 class IllegalStateException extends RuntimeException { 26.16/8.25 /** 26.16/8.25 * Constructs an IllegalStateException with no detail message. 26.16/8.25 * A detail message is a String that describes this particular exception. 26.16/8.25 */ 26.16/8.25 public IllegalStateException() { 26.16/8.25 super(); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs an IllegalStateException with the specified detail 26.16/8.25 * message. A detail message is a String that describes this particular 26.16/8.25 * exception. 26.16/8.25 * 26.16/8.25 * @param s the String that contains a detailed message 26.16/8.25 */ 26.16/8.25 public IllegalStateException(String s) { 26.16/8.25 super(s); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs a new exception with the specified detail message and 26.16/8.25 * cause. 26.16/8.25 * 26.16/8.25 *

Note that the detail message associated with cause is 26.16/8.25 * not automatically incorporated in this exception's detail 26.16/8.25 * message. 26.16/8.25 * 26.16/8.25 * @param message the detail message (which is saved for later retrieval 26.16/8.25 * by the {@link Throwable#getMessage()} method). 26.16/8.25 * @param cause the cause (which is saved for later retrieval by the 26.16/8.25 * {@link Throwable#getCause()} method). (A null value 26.16/8.25 * is permitted, and indicates that the cause is nonexistent or 26.16/8.25 * unknown.) 26.16/8.25 * @since 1.5 26.16/8.25 */ 26.16/8.25 public IllegalStateException(String message, Throwable cause) { 26.16/8.25 super(message, cause); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs a new exception with the specified cause and a detail 26.16/8.25 * message of (cause==null ? null : cause.toString()) (which 26.16/8.25 * typically contains the class and detail message of cause). 26.16/8.25 * This constructor is useful for exceptions that are little more than 26.16/8.25 * wrappers for other throwables (for example, {@link 26.16/8.25 * java.security.PrivilegedActionException}). 26.16/8.25 * 26.16/8.25 * @param cause the cause (which is saved for later retrieval by the 26.16/8.25 * {@link Throwable#getCause()} method). (A null value is 26.16/8.25 * permitted, and indicates that the cause is nonexistent or 26.16/8.25 * unknown.) 26.16/8.25 * @since 1.5 26.16/8.25 */ 26.16/8.25 public IllegalStateException(Throwable cause) { 26.16/8.25 super(cause); 26.16/8.25 } 26.16/8.25 26.16/8.25 static final long serialVersionUID = -1848914673093119416L; 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 /* 26.16/8.25 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.25 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.25 * 26.16/8.25 * This code is free software; you can redistribute it and/or modify it 26.16/8.25 * under the terms of the GNU General Public License version 2 only, as 26.16/8.25 * published by the Free Software Foundation. Sun designates this 26.16/8.25 * particular file as subject to the "Classpath" exception as provided 26.16/8.25 * by Sun in the LICENSE file that accompanied this code. 26.16/8.25 * 26.16/8.25 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.25 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.25 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.25 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.25 * accompanied this code). 26.16/8.25 * 26.16/8.25 * You should have received a copy of the GNU General Public License version 26.16/8.25 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.25 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.25 * 26.16/8.25 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.25 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.25 * have any questions. 26.16/8.25 */ 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * An iterator over a collection. {@code Iterator} takes the place of 26.16/8.25 * {@link Enumeration} in the Java Collections Framework. Iterators 26.16/8.25 * differ from enumerations in two ways: 26.16/8.25 * 26.16/8.25 *

    26.16/8.25 *
  • Iterators allow the caller to remove elements from the 26.16/8.25 * underlying collection during the iteration with well-defined 26.16/8.25 * semantics. 26.16/8.25 *
  • Method names have been improved. 26.16/8.25 *
26.16/8.25 * 26.16/8.25 *

This interface is a member of the 26.16/8.25 * 26.16/8.25 * Java Collections Framework. 26.16/8.25 * 26.16/8.25 * @author Josh Bloch 26.16/8.25 * @see Collection 26.16/8.25 * @see ListIterator 26.16/8.25 * @see Iterable 26.16/8.25 * @since 1.2 26.16/8.25 */ 26.16/8.25 public interface Iterator { 26.16/8.25 /** 26.16/8.25 * Returns {@code true} if the iteration has more elements. 26.16/8.25 * (In other words, returns {@code true} if {@link #next} would 26.16/8.25 * return an element rather than throwing an exception.) 26.16/8.25 * 26.16/8.25 * @return {@code true} if the iteration has more elements 26.16/8.25 */ 26.16/8.25 boolean hasNext(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the next element in the iteration. 26.16/8.25 * 26.16/8.25 * @return the next element in the iteration 26.16/8.25 * @throws NoSuchElementException if the iteration has no more elements 26.16/8.25 */ 26.16/8.25 E next(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Removes from the underlying collection the last element returned 26.16/8.25 * by this iterator (optional operation). This method can be called 26.16/8.25 * only once per call to {@link #next}. The behavior of an iterator 26.16/8.25 * is unspecified if the underlying collection is modified while the 26.16/8.25 * iteration is in progress in any way other than by calling this 26.16/8.25 * method. 26.16/8.25 * 26.16/8.25 * @throws UnsupportedOperationException if the {@code remove} 26.16/8.25 * operation is not supported by this iterator 26.16/8.25 * 26.16/8.25 * @throws IllegalStateException if the {@code next} method has not 26.16/8.25 * yet been called, or the {@code remove} method has already 26.16/8.25 * been called after the last call to the {@code next} 26.16/8.25 * method 26.16/8.25 */ 26.16/8.25 void remove(); 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 public class juHashMapCreateContainsKey { 26.16/8.25 public static void main(String[] args) { 26.16/8.25 Random.args = args; 26.16/8.25 26.16/8.25 HashMap m = createMap(Random.random()); 26.16/8.25 m.containsKey(new Content(Random.random())); 26.16/8.25 } 26.16/8.25 26.16/8.25 public static HashMap createMap(int n) { 26.16/8.25 HashMap m = new HashMap(); 26.16/8.25 while (n > 0) { 26.16/8.25 Content key = new Content(Random.random()); 26.16/8.25 Content val = new Content(Random.random()); 26.16/8.25 m.put(key, val); 26.16/8.25 n--; 26.16/8.25 } 26.16/8.25 return m; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 final class Content { 26.16/8.25 int val; 26.16/8.25 26.16/8.25 public Content(int v) { 26.16/8.25 this.val = v; 26.16/8.25 } 26.16/8.25 26.16/8.25 public int hashCode() { 26.16/8.25 return val^31; 26.16/8.25 } 26.16/8.25 26.16/8.25 public boolean equals(Object o) { 26.16/8.25 if (o instanceof Content) { 26.16/8.25 return this.val == ((Content) o).val; 26.16/8.25 } 26.16/8.25 return false; 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 /* 26.16/8.25 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.25 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.25 * 26.16/8.25 * This code is free software; you can redistribute it and/or modify it 26.16/8.25 * under the terms of the GNU General Public License version 2 only, as 26.16/8.25 * published by the Free Software Foundation. Sun designates this 26.16/8.25 * particular file as subject to the "Classpath" exception as provided 26.16/8.25 * by Sun in the LICENSE file that accompanied this code. 26.16/8.25 * 26.16/8.25 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.25 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.25 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.25 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.25 * accompanied this code). 26.16/8.25 * 26.16/8.25 * You should have received a copy of the GNU General Public License version 26.16/8.25 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.25 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.25 * 26.16/8.25 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.25 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.25 * have any questions. 26.16/8.25 */ 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * An object that maps keys to values. A map cannot contain duplicate keys; 26.16/8.25 * each key can map to at most one value. 26.16/8.25 * 26.16/8.25 *

This interface takes the place of the Dictionary class, which 26.16/8.25 * was a totally abstract class rather than an interface. 26.16/8.25 * 26.16/8.25 *

The Map interface provides three collection views, which 26.16/8.25 * allow a map's contents to be viewed as a set of keys, collection of values, 26.16/8.25 * or set of key-value mappings. The order of a map is defined as 26.16/8.25 * the order in which the iterators on the map's collection views return their 26.16/8.25 * elements. Some map implementations, like the TreeMap class, make 26.16/8.25 * specific guarantees as to their order; others, like the HashMap 26.16/8.25 * class, do not. 26.16/8.25 * 26.16/8.25 *

Note: great care must be exercised if mutable objects are used as map 26.16/8.25 * keys. The behavior of a map is not specified if the value of an object is 26.16/8.25 * changed in a manner that affects equals comparisons while the 26.16/8.25 * object is a key in the map. A special case of this prohibition is that it 26.16/8.25 * is not permissible for a map to contain itself as a key. While it is 26.16/8.25 * permissible for a map to contain itself as a value, extreme caution is 26.16/8.25 * advised: the equals and hashCode methods are no longer 26.16/8.25 * well defined on such a map. 26.16/8.25 * 26.16/8.25 *

All general-purpose map implementation classes should provide two 26.16/8.25 * "standard" constructors: a void (no arguments) constructor which creates an 26.16/8.25 * empty map, and a constructor with a single argument of type Map, 26.16/8.25 * which creates a new map with the same key-value mappings as its argument. 26.16/8.25 * In effect, the latter constructor allows the user to copy any map, 26.16/8.25 * producing an equivalent map of the desired class. There is no way to 26.16/8.25 * enforce this recommendation (as interfaces cannot contain constructors) but 26.16/8.25 * all of the general-purpose map implementations in the JDK comply. 26.16/8.25 * 26.16/8.25 *

The "destructive" methods contained in this interface, that is, the 26.16/8.25 * methods that modify the map on which they operate, are specified to throw 26.16/8.25 * UnsupportedOperationException if this map does not support the 26.16/8.25 * operation. If this is the case, these methods may, but are not required 26.16/8.25 * to, throw an UnsupportedOperationException if the invocation would 26.16/8.25 * have no effect on the map. For example, invoking the {@link #putAll(Map)} 26.16/8.25 * method on an unmodifiable map may, but is not required to, throw the 26.16/8.25 * exception if the map whose mappings are to be "superimposed" is empty. 26.16/8.25 * 26.16/8.25 *

Some map implementations have restrictions on the keys and values they 26.16/8.25 * may contain. For example, some implementations prohibit null keys and 26.16/8.25 * values, and some have restrictions on the types of their keys. Attempting 26.16/8.25 * to insert an ineligible key or value throws an unchecked exception, 26.16/8.25 * typically NullPointerException or ClassCastException. 26.16/8.25 * Attempting to query the presence of an ineligible key or value may throw an 26.16/8.25 * exception, or it may simply return false; some implementations will exhibit 26.16/8.25 * the former behavior and some will exhibit the latter. More generally, 26.16/8.25 * attempting an operation on an ineligible key or value whose completion 26.16/8.25 * would not result in the insertion of an ineligible element into the map may 26.16/8.25 * throw an exception or it may succeed, at the option of the implementation. 26.16/8.25 * Such exceptions are marked as "optional" in the specification for this 26.16/8.25 * interface. 26.16/8.25 * 26.16/8.25 *

This interface is a member of the 26.16/8.25 * 26.16/8.25 * Java Collections Framework. 26.16/8.25 * 26.16/8.25 *

Many methods in Collections Framework interfaces are defined 26.16/8.25 * in terms of the {@link Object#equals(Object) equals} method. For 26.16/8.25 * example, the specification for the {@link #containsKey(Object) 26.16/8.25 * containsKey(Object key)} method says: "returns true if and 26.16/8.25 * only if this map contains a mapping for a key k such that 26.16/8.25 * (key==null ? k==null : key.equals(k))." This specification should 26.16/8.25 * not be construed to imply that invoking Map.containsKey 26.16/8.25 * with a non-null argument key will cause key.equals(k) to 26.16/8.25 * be invoked for any key k. Implementations are free to 26.16/8.25 * implement optimizations whereby the equals invocation is avoided, 26.16/8.25 * for example, by first comparing the hash codes of the two keys. (The 26.16/8.25 * {@link Object#hashCode()} specification guarantees that two objects with 26.16/8.25 * unequal hash codes cannot be equal.) More generally, implementations of 26.16/8.25 * the various Collections Framework interfaces are free to take advantage of 26.16/8.25 * the specified behavior of underlying {@link Object} methods wherever the 26.16/8.25 * implementor deems it appropriate. 26.16/8.25 * 26.16/8.25 * @param the type of keys maintained by this map 26.16/8.25 * @param the type of mapped values 26.16/8.25 * 26.16/8.25 * @author Josh Bloch 26.16/8.25 * @see HashMap 26.16/8.25 * @see TreeMap 26.16/8.25 * @see Hashtable 26.16/8.25 * @see SortedMap 26.16/8.25 * @see Collection 26.16/8.25 * @see Set 26.16/8.25 * @since 1.2 26.16/8.25 */ 26.16/8.25 public interface Map { 26.16/8.25 // Query Operations 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the number of key-value mappings in this map. If the 26.16/8.25 * map contains more than Integer.MAX_VALUE elements, returns 26.16/8.25 * Integer.MAX_VALUE. 26.16/8.25 * 26.16/8.25 * @return the number of key-value mappings in this map 26.16/8.25 */ 26.16/8.25 int size(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this map contains no key-value mappings. 26.16/8.25 * 26.16/8.25 * @return true if this map contains no key-value mappings 26.16/8.25 */ 26.16/8.25 boolean isEmpty(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this map contains a mapping for the specified 26.16/8.25 * key. More formally, returns true if and only if 26.16/8.25 * this map contains a mapping for a key k such that 26.16/8.25 * (key==null ? k==null : key.equals(k)). (There can be 26.16/8.25 * at most one such mapping.) 26.16/8.25 * 26.16/8.25 * @param key key whose presence in this map is to be tested 26.16/8.25 * @return true if this map contains a mapping for the specified 26.16/8.25 * key 26.16/8.25 * @throws ClassCastException if the key is of an inappropriate type for 26.16/8.25 * this map (optional) 26.16/8.25 * @throws NullPointerException if the specified key is null and this map 26.16/8.25 * does not permit null keys (optional) 26.16/8.25 */ 26.16/8.25 boolean containsKey(Object key); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this map maps one or more keys to the 26.16/8.25 * specified value. More formally, returns true if and only if 26.16/8.25 * this map contains at least one mapping to a value v such that 26.16/8.25 * (value==null ? v==null : value.equals(v)). This operation 26.16/8.25 * will probably require time linear in the map size for most 26.16/8.25 * implementations of the Map interface. 26.16/8.25 * 26.16/8.25 * @param value value whose presence in this map is to be tested 26.16/8.25 * @return true if this map maps one or more keys to the 26.16/8.25 * specified value 26.16/8.25 * @throws ClassCastException if the value is of an inappropriate type for 26.16/8.25 * this map (optional) 26.16/8.25 * @throws NullPointerException if the specified value is null and this 26.16/8.25 * map does not permit null values (optional) 26.16/8.25 */ 26.16/8.25 boolean containsValue(Object value); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the value to which the specified key is mapped, 26.16/8.25 * or {@code null} if this map contains no mapping for the key. 26.16/8.25 * 26.16/8.25 *

More formally, if this map contains a mapping from a key 26.16/8.25 * {@code k} to a value {@code v} such that {@code (key==null ? k==null : 26.16/8.25 * key.equals(k))}, then this method returns {@code v}; otherwise 26.16/8.25 * it returns {@code null}. (There can be at most one such mapping.) 26.16/8.25 * 26.16/8.25 *

If this map permits null values, then a return value of 26.16/8.25 * {@code null} does not necessarily indicate that the map 26.16/8.25 * contains no mapping for the key; it's also possible that the map 26.16/8.25 * explicitly maps the key to {@code null}. The {@link #containsKey 26.16/8.25 * containsKey} operation may be used to distinguish these two cases. 26.16/8.25 * 26.16/8.25 * @param key the key whose associated value is to be returned 26.16/8.25 * @return the value to which the specified key is mapped, or 26.16/8.25 * {@code null} if this map contains no mapping for the key 26.16/8.25 * @throws ClassCastException if the key is of an inappropriate type for 26.16/8.25 * this map (optional) 26.16/8.25 * @throws NullPointerException if the specified key is null and this map 26.16/8.25 * does not permit null keys (optional) 26.16/8.25 */ 26.16/8.25 V get(Object key); 26.16/8.25 26.16/8.25 // Modification Operations 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Associates the specified value with the specified key in this map 26.16/8.25 * (optional operation). If the map previously contained a mapping for 26.16/8.25 * the key, the old value is replaced by the specified value. (A map 26.16/8.25 * m is said to contain a mapping for a key k if and only 26.16/8.25 * if {@link #containsKey(Object) m.containsKey(k)} would return 26.16/8.25 * true.) 26.16/8.25 * 26.16/8.25 * @param key key with which the specified value is to be associated 26.16/8.25 * @param value value to be associated with the specified key 26.16/8.25 * @return the previous value associated with key, or 26.16/8.25 * null if there was no mapping for key. 26.16/8.25 * (A null return can also indicate that the map 26.16/8.25 * previously associated null with key, 26.16/8.25 * if the implementation supports null values.) 26.16/8.25 * @throws UnsupportedOperationException if the put operation 26.16/8.25 * is not supported by this map 26.16/8.25 * @throws ClassCastException if the class of the specified key or value 26.16/8.25 * prevents it from being stored in this map 26.16/8.25 * @throws NullPointerException if the specified key or value is null 26.16/8.25 * and this map does not permit null keys or values 26.16/8.25 * @throws IllegalArgumentException if some property of the specified key 26.16/8.25 * or value prevents it from being stored in this map 26.16/8.25 */ 26.16/8.25 V put(K key, V value); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Removes the mapping for a key from this map if it is present 26.16/8.25 * (optional operation). More formally, if this map contains a mapping 26.16/8.25 * from key k to value v such that 26.16/8.25 * (key==null ? k==null : key.equals(k)), that mapping 26.16/8.25 * is removed. (The map can contain at most one such mapping.) 26.16/8.25 * 26.16/8.25 *

Returns the value to which this map previously associated the key, 26.16/8.25 * or null if the map contained no mapping for the key. 26.16/8.25 * 26.16/8.25 *

If this map permits null values, then a return value of 26.16/8.25 * null does not necessarily indicate that the map 26.16/8.25 * contained no mapping for the key; it's also possible that the map 26.16/8.25 * explicitly mapped the key to null. 26.16/8.25 * 26.16/8.25 *

The map will not contain a mapping for the specified key once the 26.16/8.25 * call returns. 26.16/8.25 * 26.16/8.25 * @param key key whose mapping is to be removed from the map 26.16/8.25 * @return the previous value associated with key, or 26.16/8.25 * null if there was no mapping for key. 26.16/8.25 * @throws UnsupportedOperationException if the remove operation 26.16/8.25 * is not supported by this map 26.16/8.25 * @throws ClassCastException if the key is of an inappropriate type for 26.16/8.25 * this map (optional) 26.16/8.25 * @throws NullPointerException if the specified key is null and this 26.16/8.25 * map does not permit null keys (optional) 26.16/8.25 */ 26.16/8.25 V remove(Object key); 26.16/8.25 26.16/8.25 26.16/8.25 // Bulk Operations 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Copies all of the mappings from the specified map to this map 26.16/8.25 * (optional operation). The effect of this call is equivalent to that 26.16/8.25 * of calling {@link #put(Object,Object) put(k, v)} on this map once 26.16/8.25 * for each mapping from key k to value v in the 26.16/8.25 * specified map. The behavior of this operation is undefined if the 26.16/8.25 * specified map is modified while the operation is in progress. 26.16/8.25 * 26.16/8.25 * @param m mappings to be stored in this map 26.16/8.25 * @throws UnsupportedOperationException if the putAll operation 26.16/8.25 * is not supported by this map 26.16/8.25 * @throws ClassCastException if the class of a key or value in the 26.16/8.25 * specified map prevents it from being stored in this map 26.16/8.25 * @throws NullPointerException if the specified map is null, or if 26.16/8.25 * this map does not permit null keys or values, and the 26.16/8.25 * specified map contains null keys or values 26.16/8.25 * @throws IllegalArgumentException if some property of a key or value in 26.16/8.25 * the specified map prevents it from being stored in this map 26.16/8.25 */ 26.16/8.25 void putAll(Map m); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Removes all of the mappings from this map (optional operation). 26.16/8.25 * The map will be empty after this call returns. 26.16/8.25 * 26.16/8.25 * @throws UnsupportedOperationException if the clear operation 26.16/8.25 * is not supported by this map 26.16/8.25 */ 26.16/8.25 void clear(); 26.16/8.25 26.16/8.25 26.16/8.25 // Views 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns a {@link Set} view of the keys contained in this map. 26.16/8.25 * The set is backed by the map, so changes to the map are 26.16/8.25 * reflected in the set, and vice-versa. If the map is modified 26.16/8.25 * while an iteration over the set is in progress (except through 26.16/8.25 * the iterator's own remove operation), the results of 26.16/8.25 * the iteration are undefined. The set supports element removal, 26.16/8.25 * which removes the corresponding mapping from the map, via the 26.16/8.25 * Iterator.remove, Set.remove, 26.16/8.25 * removeAll, retainAll, and clear 26.16/8.25 * operations. It does not support the add or addAll 26.16/8.25 * operations. 26.16/8.25 * 26.16/8.25 * @return a set view of the keys contained in this map 26.16/8.25 */ 26.16/8.25 Set keySet(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns a {@link Collection} view of the values contained in this map. 26.16/8.25 * The collection is backed by the map, so changes to the map are 26.16/8.25 * reflected in the collection, and vice-versa. If the map is 26.16/8.25 * modified while an iteration over the collection is in progress 26.16/8.25 * (except through the iterator's own remove operation), 26.16/8.25 * the results of the iteration are undefined. The collection 26.16/8.25 * supports element removal, which removes the corresponding 26.16/8.25 * mapping from the map, via the Iterator.remove, 26.16/8.25 * Collection.remove, removeAll, 26.16/8.25 * retainAll and clear operations. It does not 26.16/8.25 * support the add or addAll operations. 26.16/8.25 * 26.16/8.25 * @return a collection view of the values contained in this map 26.16/8.25 */ 26.16/8.25 Collection values(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns a {@link Set} view of the mappings contained in this map. 26.16/8.25 * The set is backed by the map, so changes to the map are 26.16/8.25 * reflected in the set, and vice-versa. If the map is modified 26.16/8.25 * while an iteration over the set is in progress (except through 26.16/8.25 * the iterator's own remove operation, or through the 26.16/8.25 * setValue operation on a map entry returned by the 26.16/8.25 * iterator) the results of the iteration are undefined. The set 26.16/8.25 * supports element removal, which removes the corresponding 26.16/8.25 * mapping from the map, via the Iterator.remove, 26.16/8.25 * Set.remove, removeAll, retainAll and 26.16/8.25 * clear operations. It does not support the 26.16/8.25 * add or addAll operations. 26.16/8.25 * 26.16/8.25 * @return a set view of the mappings contained in this map 26.16/8.25 */ 26.16/8.25 Set> entrySet(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * A map entry (key-value pair). The Map.entrySet method returns 26.16/8.25 * a collection-view of the map, whose elements are of this class. The 26.16/8.25 * only way to obtain a reference to a map entry is from the 26.16/8.25 * iterator of this collection-view. These Map.Entry objects are 26.16/8.25 * valid only for the duration of the iteration; more formally, 26.16/8.25 * the behavior of a map entry is undefined if the backing map has been 26.16/8.25 * modified after the entry was returned by the iterator, except through 26.16/8.25 * the setValue operation on the map entry. 26.16/8.25 * 26.16/8.25 * @see Map#entrySet() 26.16/8.25 * @since 1.2 26.16/8.25 */ 26.16/8.25 interface Entry { 26.16/8.25 /** 26.16/8.25 * Returns the key corresponding to this entry. 26.16/8.25 * 26.16/8.25 * @return the key corresponding to this entry 26.16/8.25 * @throws IllegalStateException implementations may, but are not 26.16/8.25 * required to, throw this exception if the entry has been 26.16/8.25 * removed from the backing map. 26.16/8.25 */ 26.16/8.25 K getKey(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the value corresponding to this entry. If the mapping 26.16/8.25 * has been removed from the backing map (by the iterator's 26.16/8.25 * remove operation), the results of this call are undefined. 26.16/8.25 * 26.16/8.25 * @return the value corresponding to this entry 26.16/8.25 * @throws IllegalStateException implementations may, but are not 26.16/8.25 * required to, throw this exception if the entry has been 26.16/8.25 * removed from the backing map. 26.16/8.25 */ 26.16/8.25 V getValue(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Replaces the value corresponding to this entry with the specified 26.16/8.25 * value (optional operation). (Writes through to the map.) The 26.16/8.25 * behavior of this call is undefined if the mapping has already been 26.16/8.25 * removed from the map (by the iterator's remove operation). 26.16/8.25 * 26.16/8.25 * @param value new value to be stored in this entry 26.16/8.25 * @return old value corresponding to the entry 26.16/8.25 * @throws UnsupportedOperationException if the put operation 26.16/8.25 * is not supported by the backing map 26.16/8.25 * @throws ClassCastException if the class of the specified value 26.16/8.25 * prevents it from being stored in the backing map 26.16/8.25 * @throws NullPointerException if the backing map does not permit 26.16/8.25 * null values, and the specified value is null 26.16/8.25 * @throws IllegalArgumentException if some property of this value 26.16/8.25 * prevents it from being stored in the backing map 26.16/8.25 * @throws IllegalStateException implementations may, but are not 26.16/8.25 * required to, throw this exception if the entry has been 26.16/8.25 * removed from the backing map. 26.16/8.25 */ 26.16/8.25 V setValue(V value); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Compares the specified object with this entry for equality. 26.16/8.25 * Returns true if the given object is also a map entry and 26.16/8.25 * the two entries represent the same mapping. More formally, two 26.16/8.25 * entries e1 and e2 represent the same mapping 26.16/8.25 * if

26.16/8.25	         *     (e1.getKey()==null ?
26.16/8.25	         *      e2.getKey()==null : e1.getKey().equals(e2.getKey()))  &&
26.16/8.25	         *     (e1.getValue()==null ?
26.16/8.25	         *      e2.getValue()==null : e1.getValue().equals(e2.getValue()))
26.16/8.25	         * 
26.16/8.25 * This ensures that the equals method works properly across 26.16/8.25 * different implementations of the Map.Entry interface. 26.16/8.25 * 26.16/8.25 * @param o object to be compared for equality with this map entry 26.16/8.25 * @return true if the specified object is equal to this map 26.16/8.25 * entry 26.16/8.25 */ 26.16/8.25 boolean equals(Object o); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the hash code value for this map entry. The hash code 26.16/8.25 * of a map entry e is defined to be:
26.16/8.25	         *     (e.getKey()==null   ? 0 : e.getKey().hashCode()) ^
26.16/8.25	         *     (e.getValue()==null ? 0 : e.getValue().hashCode())
26.16/8.25	         * 
26.16/8.25 * This ensures that e1.equals(e2) implies that 26.16/8.25 * e1.hashCode()==e2.hashCode() for any two Entries 26.16/8.25 * e1 and e2, as required by the general 26.16/8.25 * contract of Object.hashCode. 26.16/8.25 * 26.16/8.25 * @return the hash code value for this map entry 26.16/8.25 * @see Object#hashCode() 26.16/8.25 * @see Object#equals(Object) 26.16/8.25 * @see #equals(Object) 26.16/8.25 */ 26.16/8.25 int hashCode(); 26.16/8.25 } 26.16/8.25 26.16/8.25 // Comparison and hashing 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Compares the specified object with this map for equality. Returns 26.16/8.25 * true if the given object is also a map and the two maps 26.16/8.25 * represent the same mappings. More formally, two maps m1 and 26.16/8.25 * m2 represent the same mappings if 26.16/8.25 * m1.entrySet().equals(m2.entrySet()). This ensures that the 26.16/8.25 * equals method works properly across different implementations 26.16/8.25 * of the Map interface. 26.16/8.25 * 26.16/8.25 * @param o object to be compared for equality with this map 26.16/8.25 * @return true if the specified object is equal to this map 26.16/8.25 */ 26.16/8.25 boolean equals(Object o); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the hash code value for this map. The hash code of a map is 26.16/8.25 * defined to be the sum of the hash codes of each entry in the map's 26.16/8.25 * entrySet() view. This ensures that m1.equals(m2) 26.16/8.25 * implies that m1.hashCode()==m2.hashCode() for any two maps 26.16/8.25 * m1 and m2, as required by the general contract of 26.16/8.25 * {@link Object#hashCode}. 26.16/8.25 * 26.16/8.25 * @return the hash code value for this map 26.16/8.25 * @see Map.Entry#hashCode() 26.16/8.25 * @see Object#equals(Object) 26.16/8.25 * @see #equals(Object) 26.16/8.25 */ 26.16/8.25 int hashCode(); 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 /* 26.16/8.25 * Copyright 1994-1998 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.25 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.25 * 26.16/8.25 * This code is free software; you can redistribute it and/or modify it 26.16/8.25 * under the terms of the GNU General Public License version 2 only, as 26.16/8.25 * published by the Free Software Foundation. Sun designates this 26.16/8.25 * particular file as subject to the "Classpath" exception as provided 26.16/8.25 * by Sun in the LICENSE file that accompanied this code. 26.16/8.25 * 26.16/8.25 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.25 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.25 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.25 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.25 * accompanied this code). 26.16/8.25 * 26.16/8.25 * You should have received a copy of the GNU General Public License version 26.16/8.25 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.25 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.25 * 26.16/8.25 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.25 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.25 * have any questions. 26.16/8.25 */ 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Thrown by the nextElement method of an 26.16/8.25 * Enumeration to indicate that there are no more 26.16/8.25 * elements in the enumeration. 26.16/8.25 * 26.16/8.25 * @author unascribed 26.16/8.25 * @see java.util.Enumeration 26.16/8.25 * @see java.util.Enumeration#nextElement() 26.16/8.25 * @since JDK1.0 26.16/8.25 */ 26.16/8.25 public 26.16/8.25 class NoSuchElementException extends RuntimeException { 26.16/8.25 /** 26.16/8.25 * Constructs a NoSuchElementException with null 26.16/8.25 * as its error message string. 26.16/8.25 */ 26.16/8.25 public NoSuchElementException() { 26.16/8.25 super(); 26.16/8.25 } 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Constructs a NoSuchElementException, saving a reference 26.16/8.25 * to the error message string s for later retrieval by the 26.16/8.25 * getMessage method. 26.16/8.25 * 26.16/8.25 * @param s the detail message. 26.16/8.25 */ 26.16/8.25 public NoSuchElementException(String s) { 26.16/8.25 super(s); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 public class Random { 26.16/8.25 static String[] args; 26.16/8.25 static int index = 0; 26.16/8.25 26.16/8.25 public static int random() { 26.16/8.25 String string = args[index]; 26.16/8.25 index++; 26.16/8.25 return string.length(); 26.16/8.25 } 26.16/8.25 } 26.16/8.25 26.16/8.25 26.16/8.25 /* 26.16/8.25 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.25 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.25 * 26.16/8.25 * This code is free software; you can redistribute it and/or modify it 26.16/8.25 * under the terms of the GNU General Public License version 2 only, as 26.16/8.25 * published by the Free Software Foundation. Sun designates this 26.16/8.25 * particular file as subject to the "Classpath" exception as provided 26.16/8.25 * by Sun in the LICENSE file that accompanied this code. 26.16/8.25 * 26.16/8.25 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.25 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.25 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.25 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.25 * accompanied this code). 26.16/8.25 * 26.16/8.25 * You should have received a copy of the GNU General Public License version 26.16/8.25 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.25 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.25 * 26.16/8.25 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.25 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.25 * have any questions. 26.16/8.25 */ 26.16/8.25 26.16/8.25 package javaUtilEx; 26.16/8.25 26.16/8.25 /** 26.16/8.25 * A collection that contains no duplicate elements. More formally, sets 26.16/8.25 * contain no pair of elements e1 and e2 such that 26.16/8.25 * e1.equals(e2), and at most one null element. As implied by 26.16/8.25 * its name, this interface models the mathematical set abstraction. 26.16/8.25 * 26.16/8.25 *

The Set interface places additional stipulations, beyond those 26.16/8.25 * inherited from the Collection interface, on the contracts of all 26.16/8.25 * constructors and on the contracts of the add, equals and 26.16/8.25 * hashCode methods. Declarations for other inherited methods are 26.16/8.25 * also included here for convenience. (The specifications accompanying these 26.16/8.25 * declarations have been tailored to the Set interface, but they do 26.16/8.25 * not contain any additional stipulations.) 26.16/8.25 * 26.16/8.25 *

The additional stipulation on constructors is, not surprisingly, 26.16/8.25 * that all constructors must create a set that contains no duplicate elements 26.16/8.25 * (as defined above). 26.16/8.25 * 26.16/8.25 *

Note: Great care must be exercised if mutable objects are used as set 26.16/8.25 * elements. The behavior of a set is not specified if the value of an object 26.16/8.25 * is changed in a manner that affects equals comparisons while the 26.16/8.25 * object is an element in the set. A special case of this prohibition is 26.16/8.25 * that it is not permissible for a set to contain itself as an element. 26.16/8.25 * 26.16/8.25 *

Some set implementations have restrictions on the elements that 26.16/8.25 * they may contain. For example, some implementations prohibit null elements, 26.16/8.25 * and some have restrictions on the types of their elements. Attempting to 26.16/8.25 * add an ineligible element throws an unchecked exception, typically 26.16/8.25 * NullPointerException or ClassCastException. Attempting 26.16/8.25 * to query the presence of an ineligible element may throw an exception, 26.16/8.25 * or it may simply return false; some implementations will exhibit the former 26.16/8.25 * behavior and some will exhibit the latter. More generally, attempting an 26.16/8.25 * operation on an ineligible element whose completion would not result in 26.16/8.25 * the insertion of an ineligible element into the set may throw an 26.16/8.25 * exception or it may succeed, at the option of the implementation. 26.16/8.25 * Such exceptions are marked as "optional" in the specification for this 26.16/8.25 * interface. 26.16/8.25 * 26.16/8.25 *

This interface is a member of the 26.16/8.25 * 26.16/8.25 * Java Collections Framework. 26.16/8.25 * 26.16/8.25 * @param the type of elements maintained by this set 26.16/8.25 * 26.16/8.25 * @author Josh Bloch 26.16/8.25 * @author Neal Gafter 26.16/8.25 * @see Collection 26.16/8.25 * @see List 26.16/8.25 * @see SortedSet 26.16/8.25 * @see HashSet 26.16/8.25 * @see TreeSet 26.16/8.25 * @see AbstractSet 26.16/8.25 * @see Collections#singleton(java.lang.Object) 26.16/8.25 * @see Collections#EMPTY_SET 26.16/8.25 * @since 1.2 26.16/8.25 */ 26.16/8.25 26.16/8.25 public interface Set extends Collection { 26.16/8.25 // Query Operations 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns the number of elements in this set (its cardinality). If this 26.16/8.25 * set contains more than Integer.MAX_VALUE elements, returns 26.16/8.25 * Integer.MAX_VALUE. 26.16/8.25 * 26.16/8.25 * @return the number of elements in this set (its cardinality) 26.16/8.25 */ 26.16/8.25 int size(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this set contains no elements. 26.16/8.25 * 26.16/8.25 * @return true if this set contains no elements 26.16/8.25 */ 26.16/8.25 boolean isEmpty(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns true if this set contains the specified element. 26.16/8.25 * More formally, returns true if and only if this set 26.16/8.25 * contains an element e such that 26.16/8.25 * (o==null ? e==null : o.equals(e)). 26.16/8.25 * 26.16/8.25 * @param o element whose presence in this set is to be tested 26.16/8.25 * @return true if this set contains the specified element 26.16/8.25 * @throws ClassCastException if the type of the specified element 26.16/8.25 * is incompatible with this set (optional) 26.16/8.25 * @throws NullPointerException if the specified element is null and this 26.16/8.25 * set does not permit null elements (optional) 26.16/8.25 */ 26.16/8.25 boolean contains(Object o); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns an iterator over the elements in this set. The elements are 26.16/8.25 * returned in no particular order (unless this set is an instance of some 26.16/8.25 * class that provides a guarantee). 26.16/8.25 * 26.16/8.25 * @return an iterator over the elements in this set 26.16/8.25 */ 26.16/8.25 Iterator iterator(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns an array containing all of the elements in this set. 26.16/8.25 * If this set makes any guarantees as to what order its elements 26.16/8.25 * are returned by its iterator, this method must return the 26.16/8.25 * elements in the same order. 26.16/8.25 * 26.16/8.25 *

The returned array will be "safe" in that no references to it 26.16/8.25 * are maintained by this set. (In other words, this method must 26.16/8.25 * allocate a new array even if this set is backed by an array). 26.16/8.25 * The caller is thus free to modify the returned array. 26.16/8.25 * 26.16/8.25 *

This method acts as bridge between array-based and collection-based 26.16/8.25 * APIs. 26.16/8.25 * 26.16/8.25 * @return an array containing all the elements in this set 26.16/8.25 */ 26.16/8.25 Object[] toArray(); 26.16/8.25 26.16/8.25 /** 26.16/8.25 * Returns an array containing all of the elements in this set; the 26.16/8.25 * runtime type of the returned array is that of the specified array. 26.16/8.25 * If the set fits in the specified array, it is returned therein. 26.16/8.25 * Otherwise, a new array is allocated with the runtime type of the 26.16/8.25 * specified array and the size of this set. 26.16/8.25 * 26.16/8.25 *

If this set fits in the specified array with room to spare 26.16/8.25 * (i.e., the array has more elements than this set), the element in 26.16/8.25 * the array immediately following the end of the set is set to 26.16/8.25 * null. (This is useful in determining the length of this 26.16/8.25 * set only if the caller knows that this set does not contain 26.16/8.25 * any null elements.) 26.16/8.26 * 26.16/8.26 *

If this set makes any guarantees as to what order its elements 26.16/8.26 * are returned by its iterator, this method must return the elements 26.16/8.26 * in the same order. 26.16/8.26 * 26.16/8.26 *

Like the {@link #toArray()} method, this method acts as bridge between 26.16/8.26 * array-based and collection-based APIs. Further, this method allows 26.16/8.26 * precise control over the runtime type of the output array, and may, 26.16/8.26 * under certain circumstances, be used to save allocation costs. 26.16/8.26 * 26.16/8.26 *

Suppose x is a set known to contain only strings. 26.16/8.26 * The following code can be used to dump the set into a newly allocated 26.16/8.26 * array of String: 26.16/8.26 * 26.16/8.26 *

26.16/8.26	     *     String[] y = x.toArray(new String[0]);
26.16/8.26 * 26.16/8.26 * Note that toArray(new Object[0]) is identical in function to 26.16/8.26 * toArray(). 26.16/8.26 * 26.16/8.26 * @param a the array into which the elements of this set are to be 26.16/8.26 * stored, if it is big enough; otherwise, a new array of the same 26.16/8.26 * runtime type is allocated for this purpose. 26.16/8.26 * @return an array containing all the elements in this set 26.16/8.26 * @throws ArrayStoreException if the runtime type of the specified array 26.16/8.26 * is not a supertype of the runtime type of every element in this 26.16/8.26 * set 26.16/8.26 * @throws NullPointerException if the specified array is null 26.16/8.26 */ 26.16/8.26 T[] toArray(T[] a); 26.16/8.26 26.16/8.26 26.16/8.26 // Modification Operations 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Adds the specified element to this set if it is not already present 26.16/8.26 * (optional operation). More formally, adds the specified element 26.16/8.26 * e to this set if the set contains no element e2 26.16/8.26 * such that 26.16/8.26 * (e==null ? e2==null : e.equals(e2)). 26.16/8.26 * If this set already contains the element, the call leaves the set 26.16/8.26 * unchanged and returns false. In combination with the 26.16/8.26 * restriction on constructors, this ensures that sets never contain 26.16/8.26 * duplicate elements. 26.16/8.26 * 26.16/8.26 *

The stipulation above does not imply that sets must accept all 26.16/8.26 * elements; sets may refuse to add any particular element, including 26.16/8.26 * null, and throw an exception, as described in the 26.16/8.26 * specification for {@link Collection#add Collection.add}. 26.16/8.26 * Individual set implementations should clearly document any 26.16/8.26 * restrictions on the elements that they may contain. 26.16/8.26 * 26.16/8.26 * @param e element to be added to this set 26.16/8.26 * @return true if this set did not already contain the specified 26.16/8.26 * element 26.16/8.26 * @throws UnsupportedOperationException if the add operation 26.16/8.26 * is not supported by this set 26.16/8.26 * @throws ClassCastException if the class of the specified element 26.16/8.26 * prevents it from being added to this set 26.16/8.26 * @throws NullPointerException if the specified element is null and this 26.16/8.26 * set does not permit null elements 26.16/8.26 * @throws IllegalArgumentException if some property of the specified element 26.16/8.26 * prevents it from being added to this set 26.16/8.26 */ 26.16/8.26 boolean add(E e); 26.16/8.26 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Removes the specified element from this set if it is present 26.16/8.26 * (optional operation). More formally, removes an element e 26.16/8.26 * such that 26.16/8.26 * (o==null ? e==null : o.equals(e)), if 26.16/8.26 * this set contains such an element. Returns true if this set 26.16/8.26 * contained the element (or equivalently, if this set changed as a 26.16/8.26 * result of the call). (This set will not contain the element once the 26.16/8.26 * call returns.) 26.16/8.26 * 26.16/8.26 * @param o object to be removed from this set, if present 26.16/8.26 * @return true if this set contained the specified element 26.16/8.26 * @throws ClassCastException if the type of the specified element 26.16/8.26 * is incompatible with this set (optional) 26.16/8.26 * @throws NullPointerException if the specified element is null and this 26.16/8.26 * set does not permit null elements (optional) 26.16/8.26 * @throws UnsupportedOperationException if the remove operation 26.16/8.26 * is not supported by this set 26.16/8.26 */ 26.16/8.26 boolean remove(Object o); 26.16/8.26 26.16/8.26 26.16/8.26 // Bulk Operations 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Returns true if this set contains all of the elements of the 26.16/8.26 * specified collection. If the specified collection is also a set, this 26.16/8.26 * method returns true if it is a subset of this set. 26.16/8.26 * 26.16/8.26 * @param c collection to be checked for containment in this set 26.16/8.26 * @return true if this set contains all of the elements of the 26.16/8.26 * specified collection 26.16/8.26 * @throws ClassCastException if the types of one or more elements 26.16/8.26 * in the specified collection are incompatible with this 26.16/8.26 * set (optional) 26.16/8.26 * @throws NullPointerException if the specified collection contains one 26.16/8.26 * or more null elements and this set does not permit null 26.16/8.26 * elements (optional), or if the specified collection is null 26.16/8.26 * @see #contains(Object) 26.16/8.26 */ 26.16/8.26 boolean containsAll(Collection c); 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Adds all of the elements in the specified collection to this set if 26.16/8.26 * they're not already present (optional operation). If the specified 26.16/8.26 * collection is also a set, the addAll operation effectively 26.16/8.26 * modifies this set so that its value is the union of the two 26.16/8.26 * sets. The behavior of this operation is undefined if the specified 26.16/8.26 * collection is modified while the operation is in progress. 26.16/8.26 * 26.16/8.26 * @param c collection containing elements to be added to this set 26.16/8.26 * @return true if this set changed as a result of the call 26.16/8.26 * 26.16/8.26 * @throws UnsupportedOperationException if the addAll operation 26.16/8.26 * is not supported by this set 26.16/8.26 * @throws ClassCastException if the class of an element of the 26.16/8.26 * specified collection prevents it from being added to this set 26.16/8.26 * @throws NullPointerException if the specified collection contains one 26.16/8.26 * or more null elements and this set does not permit null 26.16/8.26 * elements, or if the specified collection is null 26.16/8.26 * @throws IllegalArgumentException if some property of an element of the 26.16/8.26 * specified collection prevents it from being added to this set 26.16/8.26 * @see #add(Object) 26.16/8.26 */ 26.16/8.26 boolean addAll(Collection c); 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Retains only the elements in this set that are contained in the 26.16/8.26 * specified collection (optional operation). In other words, removes 26.16/8.26 * from this set all of its elements that are not contained in the 26.16/8.26 * specified collection. If the specified collection is also a set, this 26.16/8.26 * operation effectively modifies this set so that its value is the 26.16/8.26 * intersection of the two sets. 26.16/8.26 * 26.16/8.26 * @param c collection containing elements to be retained in this set 26.16/8.26 * @return true if this set changed as a result of the call 26.16/8.26 * @throws UnsupportedOperationException if the retainAll operation 26.16/8.26 * is not supported by this set 26.16/8.26 * @throws ClassCastException if the class of an element of this set 26.16/8.26 * is incompatible with the specified collection (optional) 26.16/8.26 * @throws NullPointerException if this set contains a null element and the 26.16/8.26 * specified collection does not permit null elements (optional), 26.16/8.26 * or if the specified collection is null 26.16/8.26 * @see #remove(Object) 26.16/8.26 */ 26.16/8.26 boolean retainAll(Collection c); 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Removes from this set all of its elements that are contained in the 26.16/8.26 * specified collection (optional operation). If the specified 26.16/8.26 * collection is also a set, this operation effectively modifies this 26.16/8.26 * set so that its value is the asymmetric set difference of 26.16/8.26 * the two sets. 26.16/8.26 * 26.16/8.26 * @param c collection containing elements to be removed from this set 26.16/8.26 * @return true if this set changed as a result of the call 26.16/8.26 * @throws UnsupportedOperationException if the removeAll operation 26.16/8.26 * is not supported by this set 26.16/8.26 * @throws ClassCastException if the class of an element of this set 26.16/8.26 * is incompatible with the specified collection (optional) 26.16/8.26 * @throws NullPointerException if this set contains a null element and the 26.16/8.26 * specified collection does not permit null elements (optional), 26.16/8.26 * or if the specified collection is null 26.16/8.26 * @see #remove(Object) 26.16/8.26 * @see #contains(Object) 26.16/8.26 */ 26.16/8.26 boolean removeAll(Collection c); 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Removes all of the elements from this set (optional operation). 26.16/8.26 * The set will be empty after this call returns. 26.16/8.26 * 26.16/8.26 * @throws UnsupportedOperationException if the clear method 26.16/8.26 * is not supported by this set 26.16/8.26 */ 26.16/8.26 void clear(); 26.16/8.26 26.16/8.26 26.16/8.26 // Comparison and hashing 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Compares the specified object with this set for equality. Returns 26.16/8.26 * true if the specified object is also a set, the two sets 26.16/8.26 * have the same size, and every member of the specified set is 26.16/8.26 * contained in this set (or equivalently, every member of this set is 26.16/8.26 * contained in the specified set). This definition ensures that the 26.16/8.26 * equals method works properly across different implementations of the 26.16/8.26 * set interface. 26.16/8.26 * 26.16/8.26 * @param o object to be compared for equality with this set 26.16/8.26 * @return true if the specified object is equal to this set 26.16/8.26 */ 26.16/8.26 boolean equals(Object o); 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Returns the hash code value for this set. The hash code of a set is 26.16/8.26 * defined to be the sum of the hash codes of the elements in the set, 26.16/8.26 * where the hash code of a null element is defined to be zero. 26.16/8.26 * This ensures that s1.equals(s2) implies that 26.16/8.26 * s1.hashCode()==s2.hashCode() for any two sets s1 26.16/8.26 * and s2, as required by the general contract of 26.16/8.26 * {@link Object#hashCode}. 26.16/8.26 * 26.16/8.26 * @return the hash code value for this set 26.16/8.26 * @see Object#equals(Object) 26.16/8.26 * @see Set#equals(Object) 26.16/8.26 */ 26.16/8.26 int hashCode(); 26.16/8.26 } 26.16/8.26 26.16/8.26 26.16/8.26 /* 26.16/8.26 * Copyright 1997-2006 Sun Microsystems, Inc. All Rights Reserved. 26.16/8.26 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 26.16/8.26 * 26.16/8.26 * This code is free software; you can redistribute it and/or modify it 26.16/8.26 * under the terms of the GNU General Public License version 2 only, as 26.16/8.26 * published by the Free Software Foundation. Sun designates this 26.16/8.26 * particular file as subject to the "Classpath" exception as provided 26.16/8.26 * by Sun in the LICENSE file that accompanied this code. 26.16/8.26 * 26.16/8.26 * This code is distributed in the hope that it will be useful, but WITHOUT 26.16/8.26 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 26.16/8.26 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 26.16/8.26 * version 2 for more details (a copy is included in the LICENSE file that 26.16/8.26 * accompanied this code). 26.16/8.26 * 26.16/8.26 * You should have received a copy of the GNU General Public License version 26.16/8.26 * 2 along with this work; if not, write to the Free Software Foundation, 26.16/8.26 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 26.16/8.26 * 26.16/8.26 * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 26.16/8.26 * CA 95054 USA or visit www.sun.com if you need additional information or 26.16/8.26 * have any questions. 26.16/8.26 */ 26.16/8.26 26.16/8.26 package javaUtilEx; 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Thrown to indicate that the requested operation is not supported.

26.16/8.26 * 26.16/8.26 * This class is a member of the 26.16/8.26 * 26.16/8.26 * Java Collections Framework. 26.16/8.26 * 26.16/8.26 * @author Josh Bloch 26.16/8.26 * @since 1.2 26.16/8.26 */ 26.16/8.26 public class UnsupportedOperationException extends RuntimeException { 26.16/8.26 /** 26.16/8.26 * Constructs an UnsupportedOperationException with no detail message. 26.16/8.26 */ 26.16/8.26 public UnsupportedOperationException() { 26.16/8.26 } 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Constructs an UnsupportedOperationException with the specified 26.16/8.26 * detail message. 26.16/8.26 * 26.16/8.26 * @param message the detail message 26.16/8.26 */ 26.16/8.26 public UnsupportedOperationException(String message) { 26.16/8.26 super(message); 26.16/8.26 } 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Constructs a new exception with the specified detail message and 26.16/8.26 * cause. 26.16/8.26 * 26.16/8.26 *

Note that the detail message associated with cause is 26.16/8.26 * not automatically incorporated in this exception's detail 26.16/8.26 * message. 26.16/8.26 * 26.16/8.26 * @param message the detail message (which is saved for later retrieval 26.16/8.26 * by the {@link Throwable#getMessage()} method). 26.16/8.26 * @param cause the cause (which is saved for later retrieval by the 26.16/8.26 * {@link Throwable#getCause()} method). (A null value 26.16/8.26 * is permitted, and indicates that the cause is nonexistent or 26.16/8.26 * unknown.) 26.16/8.26 * @since 1.5 26.16/8.26 */ 26.16/8.26 public UnsupportedOperationException(String message, Throwable cause) { 26.16/8.26 super(message, cause); 26.16/8.26 } 26.16/8.26 26.16/8.26 /** 26.16/8.26 * Constructs a new exception with the specified cause and a detail 26.16/8.26 * message of (cause==null ? null : cause.toString()) (which 26.16/8.26 * typically contains the class and detail message of cause). 26.16/8.26 * This constructor is useful for exceptions that are little more than 26.16/8.26 * wrappers for other throwables (for example, {@link 26.16/8.26 * java.security.PrivilegedActionException}). 26.16/8.26 * 26.16/8.26 * @param cause the cause (which is saved for later retrieval by the 26.16/8.26 * {@link Throwable#getCause()} method). (A null value is 26.16/8.26 * permitted, and indicates that the cause is nonexistent or 26.16/8.26 * unknown.) 26.16/8.26 * @since 1.5 26.16/8.26 */ 26.16/8.26 public UnsupportedOperationException(Throwable cause) { 26.16/8.26 super(cause); 26.16/8.26 } 26.16/8.26 26.16/8.26 static final long serialVersionUID = -1242599979055084673L; 26.16/8.26 } 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (3) JBCToGraph (EQUIVALENT) 26.16/8.26 Constructed TerminationGraph. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (4) 26.16/8.26 Obligation: 26.16/8.26 Termination Graph based on JBC Program: 26.16/8.26 javaUtilEx.juHashMapCreateContainsKey.main([Ljava/lang/String;)V: Graph of 238 nodes with 0 SCCs. 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 javaUtilEx.juHashMapCreateContainsKey.createMap(I)LjavaUtilEx/HashMap;: Graph of 248 nodes with 1 SCC. 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 javaUtilEx.HashMap.containsKey(Ljava/lang/Object;)Z: Graph of 19 nodes with 0 SCCs. 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 javaUtilEx.HashMap.getEntry(Ljava/lang/Object;)LjavaUtilEx/HashMap$Entry;: Graph of 135 nodes with 1 SCC. 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 javaUtilEx.Content.hashCode()I: Graph of 6 nodes with 0 SCCs. 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 javaUtilEx.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;: Graph of 494 nodes with 2 SCCs. 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 javaUtilEx.Content.equals(Ljava/lang/Object;)Z: Graph of 31 nodes with 0 SCCs. 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (5) TerminationGraphToSCCProof (SOUND) 26.16/8.26 Splitted TerminationGraph to 4 SCCss. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (6) 26.16/8.26 Complex Obligation (AND) 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (7) 26.16/8.26 Obligation: 26.16/8.26 SCC of termination graph based on JBC Program. 26.16/8.26 SCC contains nodes from the following methods: javaUtilEx.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 26.16/8.26 SCC calls the following helper methods: 26.16/8.26 Performed SCC analyses: 26.16/8.26 *Used field analysis yielded the following read fields: 26.16/8.26 *javaUtilEx.HashMap$Entry: [next, hash] 26.16/8.26 *Marker field analysis yielded the following relations that could be markers: 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (8) SCCToIRSProof (SOUND) 26.16/8.26 Transformed FIGraph SCCs to intTRSs. Log: 26.16/8.26 Generated rules. Obtained 58 IRulesP rules: 26.16/8.26 f11336_0_transfer_Load(EOS(STATIC_11336), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146) -> f11337_0_transfer_ArrayLength(EOS(STATIC_11337), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146, java.lang.Object(ARRAY(i5145))) :|: TRUE 26.16/8.26 f11337_0_transfer_ArrayLength(EOS(STATIC_11337), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146, java.lang.Object(ARRAY(i5145))) -> f11338_0_transfer_GE(EOS(STATIC_11338), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146, i5145) :|: i5145 >= 0 26.16/8.26 f11338_0_transfer_GE(EOS(STATIC_11338), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146, i5145) -> f11340_0_transfer_GE(EOS(STATIC_11340), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146, i5145) :|: i5146 < i5145 26.16/8.26 f11340_0_transfer_GE(EOS(STATIC_11340), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146, i5145) -> f11342_0_transfer_Load(EOS(STATIC_11342), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) :|: i5146 < i5145 26.16/8.26 f11342_0_transfer_Load(EOS(STATIC_11342), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) -> f11344_0_transfer_Load(EOS(STATIC_11344), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(ARRAY(i5145))) :|: TRUE 26.16/8.26 f11344_0_transfer_Load(EOS(STATIC_11344), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(ARRAY(i5145))) -> f11346_0_transfer_ArrayAccess(EOS(STATIC_11346), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(ARRAY(i5145)), i5146) :|: TRUE 26.16/8.26 f11346_0_transfer_ArrayAccess(EOS(STATIC_11346), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(ARRAY(i5145)), i5146) -> f11348_0_transfer_ArrayAccess(EOS(STATIC_11348), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(ARRAY(i5145)), i5146) :|: TRUE 26.16/8.26 f11348_0_transfer_ArrayAccess(EOS(STATIC_11348), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(ARRAY(i5145)), i5146) -> f11351_0_transfer_Store(EOS(STATIC_11351), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6876) :|: i5146 < i5145 26.16/8.26 f11351_0_transfer_Store(EOS(STATIC_11351), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6876) -> f11354_0_transfer_Load(EOS(STATIC_11354), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6876) :|: TRUE 26.16/8.26 f11354_0_transfer_Load(EOS(STATIC_11354), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6876) -> f11356_0_transfer_NULL(EOS(STATIC_11356), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6876, o6876) :|: TRUE 26.16/8.26 f11356_0_transfer_NULL(EOS(STATIC_11356), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(o6878sub)) -> f11359_0_transfer_NULL(EOS(STATIC_11359), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(o6878sub)) :|: TRUE 26.16/8.26 f11356_0_transfer_NULL(EOS(STATIC_11356), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, NULL, NULL) -> f11360_0_transfer_NULL(EOS(STATIC_11360), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, NULL, NULL) :|: TRUE 26.16/8.26 f11359_0_transfer_NULL(EOS(STATIC_11359), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(o6878sub)) -> f11363_0_transfer_Load(EOS(STATIC_11363), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub)) :|: TRUE 26.16/8.26 f11363_0_transfer_Load(EOS(STATIC_11363), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub)) -> f11366_0_transfer_Load(EOS(STATIC_11366), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145))) :|: TRUE 26.16/8.26 f11366_0_transfer_Load(EOS(STATIC_11366), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145))) -> f11370_0_transfer_ConstantStackPush(EOS(STATIC_11370), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145)), i5146) :|: TRUE 26.16/8.26 f11370_0_transfer_ConstantStackPush(EOS(STATIC_11370), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145)), i5146) -> f11374_0_transfer_ArrayAccess(EOS(STATIC_11374), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145)), i5146, NULL) :|: TRUE 26.16/8.26 f11374_0_transfer_ArrayAccess(EOS(STATIC_11374), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145)), i5146, NULL) -> f11376_0_transfer_ArrayAccess(EOS(STATIC_11376), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145)), i5146, NULL) :|: TRUE 26.16/8.26 f11376_0_transfer_ArrayAccess(EOS(STATIC_11376), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(ARRAY(i5145)), i5146, NULL) -> f11380_0_transfer_Load(EOS(STATIC_11380), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878put)) :|: i5146 < i5145 26.16/8.26 f11380_0_transfer_Load(EOS(STATIC_11380), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub)) -> f11384_0_transfer_FieldAccess(EOS(STATIC_11384), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6878sub), java.lang.Object(o6878sub)) :|: TRUE 26.16/8.26 f11384_0_transfer_FieldAccess(EOS(STATIC_11384), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157))) -> f11386_0_transfer_FieldAccess(EOS(STATIC_11386), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157))) :|: TRUE 26.16/8.26 f11386_0_transfer_FieldAccess(EOS(STATIC_11386), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157))) -> f11390_0_transfer_Store(EOS(STATIC_11390), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890) :|: TRUE 26.16/8.26 f11390_0_transfer_Store(EOS(STATIC_11390), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890) -> f11393_0_transfer_Load(EOS(STATIC_11393), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890) :|: TRUE 26.16/8.26 f11393_0_transfer_Load(EOS(STATIC_11393), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890) -> f11395_0_transfer_FieldAccess(EOS(STATIC_11395), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157))) :|: TRUE 26.16/8.26 f11395_0_transfer_FieldAccess(EOS(STATIC_11395), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157))) -> f11398_0_transfer_Load(EOS(STATIC_11398), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157) :|: TRUE 26.16/8.26 f11398_0_transfer_Load(EOS(STATIC_11398), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157) -> f11401_0_transfer_InvokeMethod(EOS(STATIC_11401), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987) :|: TRUE 26.16/8.26 f11401_0_transfer_InvokeMethod(EOS(STATIC_11401), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987) -> f11403_0_indexFor_Load(EOS(STATIC_11403), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987) :|: TRUE 26.16/8.26 f11403_0_indexFor_Load(EOS(STATIC_11403), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987) -> f11408_0_indexFor_Load(EOS(STATIC_11408), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i4987, i5157) :|: TRUE 26.16/8.26 f11408_0_indexFor_Load(EOS(STATIC_11408), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i4987, i5157) -> f11410_0_indexFor_ConstantStackPush(EOS(STATIC_11410), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987) :|: TRUE 26.16/8.26 f11410_0_indexFor_ConstantStackPush(EOS(STATIC_11410), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987) -> f11413_0_indexFor_IntArithmetic(EOS(STATIC_11413), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987, 1) :|: TRUE 26.16/8.26 f11413_0_indexFor_IntArithmetic(EOS(STATIC_11413), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987, matching1) -> f11416_0_indexFor_IntArithmetic(EOS(STATIC_11416), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i4987 - 1) :|: i4987 >= 0 && matching1 = 1 26.16/8.26 f11416_0_indexFor_IntArithmetic(EOS(STATIC_11416), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5157, i5174) -> f11418_0_indexFor_Return(EOS(STATIC_11418), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175) :|: TRUE 26.16/8.26 f11418_0_indexFor_Return(EOS(STATIC_11418), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175) -> f11421_0_transfer_Store(EOS(STATIC_11421), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175) :|: TRUE 26.16/8.26 f11421_0_transfer_Store(EOS(STATIC_11421), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175) -> f11424_0_transfer_Load(EOS(STATIC_11424), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175) :|: TRUE 26.16/8.26 f11424_0_transfer_Load(EOS(STATIC_11424), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175) -> f11427_0_transfer_Load(EOS(STATIC_11427), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157))) :|: TRUE 26.16/8.26 f11427_0_transfer_Load(EOS(STATIC_11427), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157))) -> f11430_0_transfer_Load(EOS(STATIC_11430), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(ARRAY(i4987))) :|: TRUE 26.16/8.26 f11430_0_transfer_Load(EOS(STATIC_11430), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(ARRAY(i4987))) -> f11433_0_transfer_ArrayAccess(EOS(STATIC_11433), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(ARRAY(i4987)), i5175) :|: TRUE 26.16/8.26 f11433_0_transfer_ArrayAccess(EOS(STATIC_11433), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(ARRAY(i4987)), i5175) -> f11436_0_transfer_ArrayAccess(EOS(STATIC_11436), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(ARRAY(i4987)), i5175) :|: TRUE 26.16/8.26 f11436_0_transfer_ArrayAccess(EOS(STATIC_11436), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), java.lang.Object(ARRAY(i4987)), i5175) -> f11440_0_transfer_FieldAccess(EOS(STATIC_11440), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6910) :|: i5175 < i4987 26.16/8.26 f11440_0_transfer_FieldAccess(EOS(STATIC_11440), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6890, i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890, i5157)), o6910) -> f11444_0_transfer_Load(EOS(STATIC_11444), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157)), o6890, i5175) :|: TRUE 26.16/8.26 f11444_0_transfer_Load(EOS(STATIC_11444), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157)), o6890, i5175) -> f11446_0_transfer_Load(EOS(STATIC_11446), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157)), o6890, i5175, java.lang.Object(ARRAY(i4987))) :|: TRUE 26.16/8.26 f11446_0_transfer_Load(EOS(STATIC_11446), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157)), o6890, i5175, java.lang.Object(ARRAY(i4987))) -> f11450_0_transfer_Load(EOS(STATIC_11450), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157)), o6890, java.lang.Object(ARRAY(i4987)), i5175) :|: TRUE 26.16/8.26 f11450_0_transfer_Load(EOS(STATIC_11450), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157)), o6890, java.lang.Object(ARRAY(i4987)), i5175) -> f11453_0_transfer_ArrayAccess(EOS(STATIC_11453), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890, java.lang.Object(ARRAY(i4987)), i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157))) :|: TRUE 26.16/8.26 f11453_0_transfer_ArrayAccess(EOS(STATIC_11453), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890, java.lang.Object(ARRAY(i4987)), i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157))) -> f11455_0_transfer_ArrayAccess(EOS(STATIC_11455), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890, java.lang.Object(ARRAY(i4987)), i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157))) :|: TRUE 26.16/8.26 f11455_0_transfer_ArrayAccess(EOS(STATIC_11455), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890, java.lang.Object(ARRAY(i4987)), i5175, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6910, i5157))) -> f11459_0_transfer_Load(EOS(STATIC_11459), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890) :|: i5175 < i4987 26.16/8.26 f11459_0_transfer_Load(EOS(STATIC_11459), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890) -> f11463_0_transfer_Store(EOS(STATIC_11463), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890) :|: TRUE 26.16/8.26 f11463_0_transfer_Store(EOS(STATIC_11463), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890) -> f11464_0_transfer_Load(EOS(STATIC_11464), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890) :|: TRUE 26.16/8.26 f11464_0_transfer_Load(EOS(STATIC_11464), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890) -> f11467_0_transfer_NONNULL(EOS(STATIC_11467), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, o6890, o6890) :|: TRUE 26.16/8.26 f11467_0_transfer_NONNULL(EOS(STATIC_11467), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6933sub), java.lang.Object(o6933sub)) -> f11470_0_transfer_NONNULL(EOS(STATIC_11470), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6933sub), java.lang.Object(o6933sub)) :|: TRUE 26.16/8.26 f11467_0_transfer_NONNULL(EOS(STATIC_11467), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, NULL, NULL) -> f11471_0_transfer_NONNULL(EOS(STATIC_11471), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, NULL, NULL) :|: TRUE 26.16/8.26 f11470_0_transfer_NONNULL(EOS(STATIC_11470), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6933sub), java.lang.Object(o6933sub)) -> f11472_0_transfer_Load(EOS(STATIC_11472), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6933sub)) :|: TRUE 26.16/8.26 f11472_0_transfer_Load(EOS(STATIC_11472), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6933sub)) -> f11380_0_transfer_Load(EOS(STATIC_11380), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, java.lang.Object(o6933sub)) :|: TRUE 26.16/8.26 f11471_0_transfer_NONNULL(EOS(STATIC_11471), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, NULL, NULL) -> f11473_0_transfer_Inc(EOS(STATIC_11473), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) :|: TRUE 26.16/8.26 f11473_0_transfer_Inc(EOS(STATIC_11473), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) -> f11476_0_transfer_JMP(EOS(STATIC_11476), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146 + 1) :|: TRUE 26.16/8.26 f11476_0_transfer_JMP(EOS(STATIC_11476), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5193) -> f11479_0_transfer_Load(EOS(STATIC_11479), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5193) :|: TRUE 26.16/8.26 f11479_0_transfer_Load(EOS(STATIC_11479), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5193) -> f11335_0_transfer_Load(EOS(STATIC_11335), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5193) :|: TRUE 26.16/8.26 f11335_0_transfer_Load(EOS(STATIC_11335), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) -> f11336_0_transfer_Load(EOS(STATIC_11336), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, i5146) :|: TRUE 26.16/8.26 f11360_0_transfer_NULL(EOS(STATIC_11360), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146, NULL, NULL) -> f11364_0_transfer_Inc(EOS(STATIC_11364), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) :|: TRUE 26.16/8.26 f11364_0_transfer_Inc(EOS(STATIC_11364), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) -> f11473_0_transfer_Inc(EOS(STATIC_11473), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987, java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i4987)), java.lang.Object(ARRAY(i5145)), i4987, i5146) :|: TRUE 26.16/8.26 Combined rules. Obtained 4 IRulesP rules: 26.16/8.26 f11336_0_transfer_Load(EOS(STATIC_11336), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0, i5146:0) -> f11336_0_transfer_Load(EOS(STATIC_11336), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0 + 1, i5146:0 + 1) :|: i5145:0 > -1 && i5146:0 < i5145:0 26.16/8.26 f11467_0_transfer_NONNULL(EOS(STATIC_11467), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0, NULL, NULL) -> f11336_0_transfer_Load(EOS(STATIC_11336), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0 + 1, i5146:0 + 1) :|: TRUE 26.16/8.26 f11467_0_transfer_NONNULL(EOS(STATIC_11467), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890:0, i5157:0)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, o6890:0, i5157:0))) -> f11467_0_transfer_NONNULL(EOS(STATIC_11467), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0, o6890:0, o6890:0) :|: i4987:0 > -1 && i5175:0 < i4987:0 26.16/8.26 f11336_0_transfer_Load(EOS(STATIC_11336), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0, i5146:0) -> f11467_0_transfer_NONNULL(EOS(STATIC_11467), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4987:0, java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i4987:0, i5146:0, o6890:0, o6890:0) :|: i5145:0 > -1 && i5146:0 < i5145:0 && i4987:0 > -1 && i5175:0 < i4987:0 26.16/8.26 Filtered constant ground arguments: 26.16/8.26 f11336_0_transfer_Load(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10) -> f11336_0_transfer_Load(x4, x5, x6, x7, x8, x9, x10) 26.16/8.26 f11467_0_transfer_NONNULL(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, x11) -> f11467_0_transfer_NONNULL(x4, x5, x6, x7, x8, x9, x10, x11) 26.16/8.26 javaUtilEx.AbstractMap(x1) -> javaUtilEx.AbstractMap 26.16/8.26 javaUtilEx.HashMap$Entry(x1, x2, x3) -> javaUtilEx.HashMap$Entry(x2, x3) 26.16/8.26 javaUtilEx.HashMap(x1) -> javaUtilEx.HashMap 26.16/8.26 Filtered duplicate arguments: 26.16/8.26 f11336_0_transfer_Load(x1, x2, x3, x4, x5, x6, x7) -> f11336_0_transfer_Load(x3, x4, x7) 26.16/8.26 f11467_0_transfer_NONNULL(x1, x2, x3, x4, x5, x6, x7, x8) -> f11467_0_transfer_NONNULL(x3, x4, x6, x8) 26.16/8.26 Filtered unneeded arguments: 26.16/8.26 javaUtilEx.HashMap$Entry(x1, x2) -> javaUtilEx.HashMap$Entry(x1) 26.16/8.26 Finished conversion. Obtained 4 rules.P rules: 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, i4987:0, i5145:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0 + 1, i4987:0, i5145:0) :|: i5145:0 > -1 && i5146:0 < i5145:0 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, NULL, i4987:0, i5145:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0 + 1, i4987:0, i5145:0) :|: TRUE 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, java.lang.Object(javaUtilEx.HashMap$Entry(o6890:0)), i4987:0, i5145:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, o6890:0, i4987:0, i5145:0) :|: i4987:0 > -1 && i5175:0 < i4987:0 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, i4987:0, i5145:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, o6890:0, i4987:0, i5145:0) :|: i5146:0 < i5145:0 && i5145:0 > -1 && i5175:0 < i4987:0 && i4987:0 > -1 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (9) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, i4987:0, i5145:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0 + 1, i4987:0, i5145:0) :|: i5145:0 > -1 && i5146:0 < i5145:0 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x)), java.lang.Object(ARRAY(x1)), x2, NULL, x, x1) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(x)), java.lang.Object(ARRAY(x1)), x2 + 1, x, x1) :|: TRUE 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, java.lang.Object(javaUtilEx.HashMap$Entry(x6)), x3, x4) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, x6, x3, x4) :|: x3 > -1 && x7 < x3 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x8, x9) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x11, x8, x9) :|: x10 < x9 && x9 > -1 && x12 < x8 && x8 > -1 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (10) IRSFormatTransformerProof (EQUIVALENT) 26.16/8.26 Reformatted IRS to match normalized format (transformed away non-linear left-hand sides, !=, / and %). 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (11) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, i4987:0, i5145:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), arith, i4987:0, i5145:0) :|: i5145:0 > -1 && i5146:0 < i5145:0 && arith = i5146:0 + 1 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x13)), java.lang.Object(ARRAY(x14)), x15, NULL, x13, x14) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(x13)), java.lang.Object(ARRAY(x14)), x16, x13, x14) :|: TRUE && x16 = x15 + 1 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, java.lang.Object(javaUtilEx.HashMap$Entry(x6)), x3, x4) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, x6, x3, x4) :|: x3 > -1 && x7 < x3 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x8, x9) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x11, x8, x9) :|: x10 < x9 && x9 > -1 && x12 < x8 && x8 > -1 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (12) IRSwTTerminationDigraphProof (EQUIVALENT) 26.16/8.26 Constructed termination digraph! 26.16/8.26 Nodes: 26.16/8.26 (1) f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, i4987:0, i5145:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), arith, i4987:0, i5145:0) :|: i5145:0 > -1 && i5146:0 < i5145:0 && arith = i5146:0 + 1 26.16/8.26 (2) f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x13)), java.lang.Object(ARRAY(x14)), x15, NULL, x13, x14) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(x13)), java.lang.Object(ARRAY(x14)), x16, x13, x14) :|: TRUE && x16 = x15 + 1 26.16/8.26 (3) f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, java.lang.Object(javaUtilEx.HashMap$Entry(x6)), x3, x4) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, x6, x3, x4) :|: x3 > -1 && x7 < x3 26.16/8.26 (4) f11336_0_transfer_Load(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x8, x9) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x11, x8, x9) :|: x10 < x9 && x9 > -1 && x12 < x8 && x8 > -1 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1), (4) 26.16/8.26 (2) -> (1), (4) 26.16/8.26 (3) -> (2), (3) 26.16/8.26 (4) -> (2), (3) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (13) 26.16/8.26 Obligation: 26.16/8.26 26.16/8.26 Termination digraph: 26.16/8.26 Nodes: 26.16/8.26 (1) f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), i5146:0, i4987:0, i5145:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0)), java.lang.Object(ARRAY(i5145:0)), arith, i4987:0, i5145:0) :|: i5145:0 > -1 && i5146:0 < i5145:0 && arith = i5146:0 + 1 26.16/8.26 (2) f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x13)), java.lang.Object(ARRAY(x14)), x15, NULL, x13, x14) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(x13)), java.lang.Object(ARRAY(x14)), x16, x13, x14) :|: TRUE && x16 = x15 + 1 26.16/8.26 (3) f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, java.lang.Object(javaUtilEx.HashMap$Entry(x6)), x3, x4) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3)), java.lang.Object(ARRAY(x4)), x5, x6, x3, x4) :|: x3 > -1 && x7 < x3 26.16/8.26 (4) f11336_0_transfer_Load(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x8, x9) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x8)), java.lang.Object(ARRAY(x9)), x10, x11, x8, x9) :|: x10 < x9 && x9 > -1 && x12 < x8 && x8 > -1 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1), (4) 26.16/8.26 (2) -> (1), (4) 26.16/8.26 (3) -> (2), (3) 26.16/8.26 (4) -> (2), (3) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (14) IntTRSCompressionProof (EQUIVALENT) 26.16/8.26 Compressed rules. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (15) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x13:0)), java.lang.Object(ARRAY(x14:0)), x15:0, NULL, x13:0, x14:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(x13:0)), java.lang.Object(ARRAY(x14:0)), x15:0 + 1, x13:0, x14:0) :|: TRUE 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(x8:0)), java.lang.Object(ARRAY(x9:0)), x10:0, x8:0, x9:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x8:0)), java.lang.Object(ARRAY(x9:0)), x10:0, x11:0, x8:0, x9:0) :|: x8:0 > x12:0 && x8:0 > -1 && x9:0 > -1 && x9:0 > x10:0 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x3:0, x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, x6:0, x3:0, x4:0) :|: x3:0 > -1 && x7:0 < x3:0 26.16/8.26 f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0:0)), java.lang.Object(ARRAY(i5145:0:0)), i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(java.lang.Object(ARRAY(i4987:0:0)), java.lang.Object(ARRAY(i5145:0:0)), i5146:0:0 + 1, i4987:0:0, i5145:0:0) :|: i5145:0:0 > -1 && i5146:0:0 < i5145:0:0 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (16) TempFilterProof (SOUND) 26.16/8.26 Used the following sort dictionary for filtering: 26.16/8.26 f11467_0_transfer_NONNULL(VARIABLE, VARIABLE, VARIABLE, VARIABLE, VARIABLE, VARIABLE) 26.16/8.26 java.lang.Object(VARIABLE) 26.16/8.26 ARRAY(VARIABLE) 26.16/8.26 NULL() 26.16/8.26 f11336_0_transfer_Load(VARIABLE, VARIABLE, INTEGER, VARIABLE, VARIABLE) 26.16/8.26 javaUtilEx.HashMap$Entry(VARIABLE) 26.16/8.26 Replaced non-predefined constructor symbols by 0.The following proof was generated: 26.16/8.26 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 26.16/8.26 26.16/8.26 26.16/8.26 Termination of the given IntTRS could not be shown: 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 - IntTRS 26.16/8.26 - RankingReductionPairProof 26.16/8.26 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(c, c1, x15:0, c2, x13:0, x14:0) -> f11336_0_transfer_Load(c3, c4, c5, x13:0, x14:0) :|: c5 = x15:0 + 1 && (c4 = 0 && (c3 = 0 && (c2 = 0 && (c1 = 0 && c = 0)))) && TRUE 26.16/8.26 f11336_0_transfer_Load(c6, c7, x10:0, x8:0, x9:0) -> f11467_0_transfer_NONNULL(c8, c9, x10:0, x11:0, x8:0, x9:0) :|: c9 = 0 && (c8 = 0 && (c7 = 0 && c6 = 0)) && (x8:0 > x12:0 && x8:0 > -1 && x9:0 > -1 && x9:0 > x10:0) 26.16/8.26 f11467_0_transfer_NONNULL(c10, c11, x5:0, c12, x3:0, x4:0) -> f11467_0_transfer_NONNULL(c13, c14, x5:0, x6:0, x3:0, x4:0) :|: c14 = 0 && (c13 = 0 && (c12 = 0 && (c11 = 0 && c10 = 0))) && (x3:0 > -1 && x7:0 < x3:0) 26.16/8.26 f11336_0_transfer_Load(c15, c16, i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(c17, c18, c19, i4987:0:0, i5145:0:0) :|: c19 = i5146:0:0 + 1 && (c18 = 0 && (c17 = 0 && (c16 = 0 && c15 = 0))) && (i5145:0:0 > -1 && i5146:0:0 < i5145:0:0) 26.16/8.26 26.16/8.26 Interpretation: 26.16/8.26 [ f11467_0_transfer_NONNULL ] = 2*f11467_0_transfer_NONNULL_5 + 2*f11467_0_transfer_NONNULL_6 + -2*f11467_0_transfer_NONNULL_3 + -1 26.16/8.26 [ f11336_0_transfer_Load ] = 2*f11336_0_transfer_Load_4 + 2*f11336_0_transfer_Load_5 + -2*f11336_0_transfer_Load_3 26.16/8.26 26.16/8.26 The following rules are decreasing: 26.16/8.26 f11467_0_transfer_NONNULL(c, c1, x15:0, c2, x13:0, x14:0) -> f11336_0_transfer_Load(c3, c4, c5, x13:0, x14:0) :|: c5 = x15:0 + 1 && (c4 = 0 && (c3 = 0 && (c2 = 0 && (c1 = 0 && c = 0)))) && TRUE 26.16/8.26 f11336_0_transfer_Load(c6, c7, x10:0, x8:0, x9:0) -> f11467_0_transfer_NONNULL(c8, c9, x10:0, x11:0, x8:0, x9:0) :|: c9 = 0 && (c8 = 0 && (c7 = 0 && c6 = 0)) && (x8:0 > x12:0 && x8:0 > -1 && x9:0 > -1 && x9:0 > x10:0) 26.16/8.26 f11336_0_transfer_Load(c15, c16, i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(c17, c18, c19, i4987:0:0, i5145:0:0) :|: c19 = i5146:0:0 + 1 && (c18 = 0 && (c17 = 0 && (c16 = 0 && c15 = 0))) && (i5145:0:0 > -1 && i5146:0:0 < i5145:0:0) 26.16/8.26 26.16/8.26 The following rules are bounded: 26.16/8.26 f11336_0_transfer_Load(c6, c7, x10:0, x8:0, x9:0) -> f11467_0_transfer_NONNULL(c8, c9, x10:0, x11:0, x8:0, x9:0) :|: c9 = 0 && (c8 = 0 && (c7 = 0 && c6 = 0)) && (x8:0 > x12:0 && x8:0 > -1 && x9:0 > -1 && x9:0 > x10:0) 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 - IntTRS 26.16/8.26 - RankingReductionPairProof 26.16/8.26 - IntTRS 26.16/8.26 - PolynomialOrderProcessor 26.16/8.26 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(c, c1, x15:0, c2, x13:0, x14:0) -> f11336_0_transfer_Load(c3, c4, c5, x13:0, x14:0) :|: c5 = x15:0 + 1 && (c4 = 0 && (c3 = 0 && (c2 = 0 && (c1 = 0 && c = 0)))) && TRUE 26.16/8.26 f11467_0_transfer_NONNULL(c10, c11, x5:0, c12, x3:0, x4:0) -> f11467_0_transfer_NONNULL(c13, c14, x5:0, x6:0, x3:0, x4:0) :|: c14 = 0 && (c13 = 0 && (c12 = 0 && (c11 = 0 && c10 = 0))) && (x3:0 > -1 && x7:0 < x3:0) 26.16/8.26 f11336_0_transfer_Load(c15, c16, i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(c17, c18, c19, i4987:0:0, i5145:0:0) :|: c19 = i5146:0:0 + 1 && (c18 = 0 && (c17 = 0 && (c16 = 0 && c15 = 0))) && (i5145:0:0 > -1 && i5146:0:0 < i5145:0:0) 26.16/8.26 26.16/8.26 Found the following polynomial interpretation: 26.16/8.26 [f11467_0_transfer_NONNULL(x, x1, x2, x3, x4, x5)] = 1 + c*x + c1*x1 26.16/8.26 [f11336_0_transfer_Load(x6, x7, x8, x9, x10)] = c6*x6 + c7*x7 26.16/8.26 26.16/8.26 The following rules are decreasing: 26.16/8.26 f11467_0_transfer_NONNULL(c, c1, x15:0, c2, x13:0, x14:0) -> f11336_0_transfer_Load(c3, c4, c5, x13:0, x14:0) :|: c5 = x15:0 + 1 && (c4 = 0 && (c3 = 0 && (c2 = 0 && (c1 = 0 && c = 0)))) && TRUE 26.16/8.26 The following rules are bounded: 26.16/8.26 f11467_0_transfer_NONNULL(c, c1, x15:0, c2, x13:0, x14:0) -> f11336_0_transfer_Load(c3, c4, c5, x13:0, x14:0) :|: c5 = x15:0 + 1 && (c4 = 0 && (c3 = 0 && (c2 = 0 && (c1 = 0 && c = 0)))) && TRUE 26.16/8.26 f11467_0_transfer_NONNULL(c10, c11, x5:0, c12, x3:0, x4:0) -> f11467_0_transfer_NONNULL(c13, c14, x5:0, x6:0, x3:0, x4:0) :|: c14 = 0 && (c13 = 0 && (c12 = 0 && (c11 = 0 && c10 = 0))) && (x3:0 > -1 && x7:0 < x3:0) 26.16/8.26 f11336_0_transfer_Load(c15, c16, i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(c17, c18, c19, i4987:0:0, i5145:0:0) :|: c19 = i5146:0:0 + 1 && (c18 = 0 && (c17 = 0 && (c16 = 0 && c15 = 0))) && (i5145:0:0 > -1 && i5146:0:0 < i5145:0:0) 26.16/8.26 26.16/8.26 26.16/8.26 - IntTRS 26.16/8.26 - RankingReductionPairProof 26.16/8.26 - IntTRS 26.16/8.26 - PolynomialOrderProcessor 26.16/8.26 - IntTRS 26.16/8.26 - PolynomialOrderProcessor 26.16/8.26 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(c10, c11, x5:0, c12, x3:0, x4:0) -> f11467_0_transfer_NONNULL(c13, c14, x5:0, x6:0, x3:0, x4:0) :|: c14 = 0 && (c13 = 0 && (c12 = 0 && (c11 = 0 && c10 = 0))) && (x3:0 > -1 && x7:0 < x3:0) 26.16/8.26 f11336_0_transfer_Load(c15, c16, i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(c17, c18, c19, i4987:0:0, i5145:0:0) :|: c19 = i5146:0:0 + 1 && (c18 = 0 && (c17 = 0 && (c16 = 0 && c15 = 0))) && (i5145:0:0 > -1 && i5146:0:0 < i5145:0:0) 26.16/8.26 26.16/8.26 Found the following polynomial interpretation: 26.16/8.26 [f11467_0_transfer_NONNULL(x, x1, x2, x3, x4, x5)] = c*x + c1*x1 26.16/8.26 [f11336_0_transfer_Load(x6, x7, x8, x9, x10)] = x10 + c6*x6 + c7*x7 - x8 26.16/8.26 26.16/8.26 The following rules are decreasing: 26.16/8.26 f11336_0_transfer_Load(c15, c16, i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(c17, c18, c19, i4987:0:0, i5145:0:0) :|: c19 = i5146:0:0 + 1 && (c18 = 0 && (c17 = 0 && (c16 = 0 && c15 = 0))) && (i5145:0:0 > -1 && i5146:0:0 < i5145:0:0) 26.16/8.26 The following rules are bounded: 26.16/8.26 f11467_0_transfer_NONNULL(c10, c11, x5:0, c12, x3:0, x4:0) -> f11467_0_transfer_NONNULL(c13, c14, x5:0, x6:0, x3:0, x4:0) :|: c14 = 0 && (c13 = 0 && (c12 = 0 && (c11 = 0 && c10 = 0))) && (x3:0 > -1 && x7:0 < x3:0) 26.16/8.26 f11336_0_transfer_Load(c15, c16, i5146:0:0, i4987:0:0, i5145:0:0) -> f11336_0_transfer_Load(c17, c18, c19, i4987:0:0, i5145:0:0) :|: c19 = i5146:0:0 + 1 && (c18 = 0 && (c17 = 0 && (c16 = 0 && c15 = 0))) && (i5145:0:0 > -1 && i5146:0:0 < i5145:0:0) 26.16/8.26 26.16/8.26 26.16/8.26 - IntTRS 26.16/8.26 - RankingReductionPairProof 26.16/8.26 - IntTRS 26.16/8.26 - PolynomialOrderProcessor 26.16/8.26 - IntTRS 26.16/8.26 - PolynomialOrderProcessor 26.16/8.26 - IntTRS 26.16/8.26 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(c10, c11, x5:0, c12, x3:0, x4:0) -> f11467_0_transfer_NONNULL(c13, c14, x5:0, x6:0, x3:0, x4:0) :|: c14 = 0 && (c13 = 0 && (c12 = 0 && (c11 = 0 && c10 = 0))) && (x3:0 > -1 && x7:0 < x3:0) 26.16/8.26 26.16/8.26 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (17) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x3:0, x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, x6:0, x3:0, x4:0) :|: x3:0 > -1 && x7:0 < x3:0 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (18) IRSwTTerminationDigraphProof (EQUIVALENT) 26.16/8.26 Constructed termination digraph! 26.16/8.26 Nodes: 26.16/8.26 (1) f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x3:0, x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, x6:0, x3:0, x4:0) :|: x3:0 > -1 && x7:0 < x3:0 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (19) 26.16/8.26 Obligation: 26.16/8.26 26.16/8.26 Termination digraph: 26.16/8.26 Nodes: 26.16/8.26 (1) f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x3:0, x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x5:0, x6:0, x3:0, x4:0) :|: x3:0 > -1 && x7:0 < x3:0 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (20) IntTRSUnneededArgumentFilterProof (EQUIVALENT) 26.16/8.26 Some arguments are removed because they cannot influence termination. We removed arguments according to the following replacements: 26.16/8.26 26.16/8.26 f11467_0_transfer_NONNULL(x1, x2, x3, x4, x5, x6) -> f11467_0_transfer_NONNULL(x1, x2, x4, x5, x6) 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (21) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x3:0, x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x6:0, x3:0, x4:0) :|: x3:0 > -1 && x7:0 < x3:0 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (22) TempFilterProof (SOUND) 26.16/8.26 Used the following sort dictionary for filtering: 26.16/8.26 f11467_0_transfer_NONNULL(VARIABLE, VARIABLE, VARIABLE, INTEGER, VARIABLE) 26.16/8.26 java.lang.Object(VARIABLE) 26.16/8.26 ARRAY(VARIABLE) 26.16/8.26 javaUtilEx.HashMap$Entry(VARIABLE) 26.16/8.26 Removed predefined arithmetic. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (23) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x6:0, x4:0) 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (24) IRSwTToQDPProof (SOUND) 26.16/8.26 Removed the integers and created a QDP-Problem. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (25) 26.16/8.26 Obligation: 26.16/8.26 Q DP problem: 26.16/8.26 The TRS P consists of the following rules: 26.16/8.26 26.16/8.26 f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x6:0, x4:0) 26.16/8.26 26.16/8.26 R is empty. 26.16/8.26 Q is empty. 26.16/8.26 We have to consider all (P,Q,R)-chains. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (26) QDPSizeChangeProof (EQUIVALENT) 26.16/8.26 By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. 26.16/8.26 26.16/8.26 From the DPs we obtained the following set of size-change graphs: 26.16/8.26 *f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), java.lang.Object(javaUtilEx.HashMap$Entry(x6:0)), x4:0) -> f11467_0_transfer_NONNULL(java.lang.Object(ARRAY(x3:0)), java.lang.Object(ARRAY(x4:0)), x6:0, x4:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3, 2 > 4, 4 >= 4 26.16/8.26 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (27) 26.16/8.26 YES 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (28) 26.16/8.26 Obligation: 26.16/8.26 SCC of termination graph based on JBC Program. 26.16/8.26 SCC contains nodes from the following methods: javaUtilEx.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; 26.16/8.26 SCC calls the following helper methods: javaUtilEx.Content.equals(Ljava/lang/Object;)Z 26.16/8.26 Performed SCC analyses: 26.16/8.26 *Used field analysis yielded the following read fields: 26.16/8.26 *javaUtilEx.HashMap$Entry: [hash, next, key] 26.16/8.26 *Marker field analysis yielded the following relations that could be markers: 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (29) SCCToIRSProof (SOUND) 26.16/8.26 Transformed FIGraph SCCs to intTRSs. Log: 26.16/8.26 Generated rules. Obtained 57 IRulesP rules: 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(o6391sub), java.lang.Object(o6391sub)) -> f10751_0_put_NULL(EOS(STATIC_10751), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(o6391sub), java.lang.Object(o6391sub)) :|: TRUE 26.16/8.26 f10751_0_put_NULL(EOS(STATIC_10751), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(o6391sub), java.lang.Object(o6391sub)) -> f10755_0_put_Load(EOS(STATIC_10755), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(o6391sub)) :|: TRUE 26.16/8.26 f10755_0_put_Load(EOS(STATIC_10755), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(o6391sub)) -> f10759_0_put_FieldAccess(EOS(STATIC_10759), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(o6391sub), java.lang.Object(o6391sub)) :|: TRUE 26.16/8.26 f10759_0_put_FieldAccess(EOS(STATIC_10759), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393))) -> f10763_0_put_FieldAccess(EOS(STATIC_10763), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393))) :|: TRUE 26.16/8.26 f10763_0_put_FieldAccess(EOS(STATIC_10763), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393))) -> f10766_0_put_Load(EOS(STATIC_10766), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), i4757) :|: TRUE 26.16/8.26 f10766_0_put_Load(EOS(STATIC_10766), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), i4757) -> f10769_0_put_NE(EOS(STATIC_10769), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), i4757, i4619) :|: TRUE 26.16/8.26 f10769_0_put_NE(EOS(STATIC_10769), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), i4757, i4619) -> f10772_0_put_NE(EOS(STATIC_10772), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), i4757, i4619) :|: !(i4757 = i4619) 26.16/8.26 f10769_0_put_NE(EOS(STATIC_10769), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), i4619, i4619) -> f10773_0_put_NE(EOS(STATIC_10773), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), i4619, i4619) :|: i4757 = i4619 26.16/8.26 f10772_0_put_NE(EOS(STATIC_10772), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393)), i4757, i4619) -> f10776_0_put_Load(EOS(STATIC_10776), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393))) :|: !(i4757 = i4619) 26.16/8.26 f10776_0_put_Load(EOS(STATIC_10776), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393))) -> f10780_0_put_FieldAccess(EOS(STATIC_10780), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393))) :|: TRUE 26.16/8.26 f10780_0_put_FieldAccess(EOS(STATIC_10780), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757, o6395, o6393))) -> f10784_0_put_Store(EOS(STATIC_10784), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10784_0_put_Store(EOS(STATIC_10784), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) -> f10788_0_put_JMP(EOS(STATIC_10788), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10788_0_put_JMP(EOS(STATIC_10788), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) -> f10792_0_put_Load(EOS(STATIC_10792), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10792_0_put_Load(EOS(STATIC_10792), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) -> f10745_0_put_Load(EOS(STATIC_10745), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10745_0_put_Load(EOS(STATIC_10745), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6378) -> f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6378, o6378) :|: TRUE 26.16/8.26 f10773_0_put_NE(EOS(STATIC_10773), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), i4619, i4619) -> f10777_0_put_Load(EOS(STATIC_10777), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393))) :|: TRUE 26.16/8.26 f10777_0_put_Load(EOS(STATIC_10777), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393))) -> f10781_0_put_FieldAccess(EOS(STATIC_10781), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393))) :|: TRUE 26.16/8.26 f10781_0_put_FieldAccess(EOS(STATIC_10781), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393))) -> f10785_0_put_Duplicate(EOS(STATIC_10785), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), o6393) :|: TRUE 26.16/8.26 f10785_0_put_Duplicate(EOS(STATIC_10785), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), o6393) -> f10789_0_put_Store(EOS(STATIC_10789), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), o6393, o6393) :|: TRUE 26.16/8.26 f10789_0_put_Store(EOS(STATIC_10789), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), o6393, o6393) -> f10793_0_put_Load(EOS(STATIC_10793), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), o6393, o6393) :|: TRUE 26.16/8.26 f10793_0_put_Load(EOS(STATIC_10793), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), o6393, o6393) -> f10796_0_put_EQ(EOS(STATIC_10796), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, o6393)), o6393, o6393, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10796_0_put_EQ(EOS(STATIC_10796), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(o6410sub), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.Content(EOC))) -> f10798_0_put_EQ(EOS(STATIC_10798), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(o6410sub), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10796_0_put_EQ(EOS(STATIC_10796), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), NULL, NULL, java.lang.Object(javaUtilEx.Content(EOC))) -> f10799_0_put_EQ(EOS(STATIC_10799), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), NULL, NULL, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10798_0_put_EQ(EOS(STATIC_10798), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(o6410sub), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.Content(EOC))) -> f10802_0_put_Load(EOS(STATIC_10802), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(o6410sub)) :|: TRUE 26.16/8.26 f10802_0_put_Load(EOS(STATIC_10802), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(o6410sub)) -> f10805_0_put_Load(EOS(STATIC_10805), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10805_0_put_Load(EOS(STATIC_10805), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.Content(EOC))) -> f10809_0_put_InvokeMethod(EOS(STATIC_10809), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub)) :|: TRUE 26.16/8.26 f10809_0_put_InvokeMethod(EOS(STATIC_10809), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub)) -> f10812_0_equals_Load(EOS(STATIC_10812), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub)) :|: TRUE 26.16/8.26 f10809_0_put_InvokeMethod(EOS(STATIC_10809), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub)) -> f10812_1_equals_Load(EOS(STATIC_10812), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub)) :|: TRUE 26.16/8.26 f10812_0_equals_Load(EOS(STATIC_10812), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub)) -> f11683_0_equals_Load(EOS(STATIC_11683), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6410sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub)) :|: TRUE 26.16/8.26 f10831_0_equals_Return(EOS(STATIC_10831), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub))), matching1) -> f10842_0_put_EQ(EOS(STATIC_10842), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub))), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10842_0_put_EQ(EOS(STATIC_10842), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub))), matching1) -> f10846_0_put_Load(EOS(STATIC_10846), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub)))) :|: TRUE && matching1 = 0 26.16/8.26 f10846_0_put_Load(EOS(STATIC_10846), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub)))) -> f10852_0_put_FieldAccess(EOS(STATIC_10852), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub)))) :|: TRUE 26.16/8.26 f10852_0_put_FieldAccess(EOS(STATIC_10852), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub)))) -> f10858_0_put_Store(EOS(STATIC_10858), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10858_0_put_Store(EOS(STATIC_10858), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) -> f10784_0_put_Store(EOS(STATIC_10784), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10832_0_equals_Return(EOS(STATIC_10832), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10834_0_equals_Return(EOS(STATIC_10834), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10834_0_equals_Return(EOS(STATIC_10834), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC)))), i4878) -> f10843_0_put_EQ(EOS(STATIC_10843), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC)))), i4878) :|: TRUE 26.16/8.26 f10843_0_put_EQ(EOS(STATIC_10843), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10848_0_put_EQ(EOS(STATIC_10848), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC)))), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10848_0_put_EQ(EOS(STATIC_10848), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10854_0_put_Load(EOS(STATIC_10854), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC))))) :|: TRUE && matching1 = 0 26.16/8.26 f10854_0_put_Load(EOS(STATIC_10854), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC))))) -> f10860_0_put_FieldAccess(EOS(STATIC_10860), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC))))) :|: TRUE 26.16/8.26 f10860_0_put_FieldAccess(EOS(STATIC_10860), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6555, java.lang.Object(javaUtilEx.Content(EOC))))) -> f10864_0_put_Store(EOS(STATIC_10864), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6555) :|: TRUE 26.16/8.26 f10864_0_put_Store(EOS(STATIC_10864), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6555) -> f10784_0_put_Store(EOS(STATIC_10784), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6555) :|: TRUE 26.16/8.26 f10833_0_equals_Return(EOS(STATIC_10833), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10834_0_equals_Return(EOS(STATIC_10834), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), 1) :|: TRUE && matching1 = 1 26.16/8.26 f10799_0_put_EQ(EOS(STATIC_10799), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), NULL, NULL, java.lang.Object(javaUtilEx.Content(EOC))) -> f10803_0_put_Load(EOS(STATIC_10803), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), NULL) :|: TRUE 26.16/8.26 f10803_0_put_Load(EOS(STATIC_10803), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), NULL) -> f10806_0_put_Load(EOS(STATIC_10806), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), NULL, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10806_0_put_Load(EOS(STATIC_10806), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), NULL, java.lang.Object(javaUtilEx.Content(EOC))) -> f10810_0_put_InvokeMethod(EOS(STATIC_10810), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10810_0_put_InvokeMethod(EOS(STATIC_10810), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f10813_0_equals_Load(EOS(STATIC_10813), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10810_0_put_InvokeMethod(EOS(STATIC_10810), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f10813_1_equals_Load(EOS(STATIC_10813), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10813_0_equals_Load(EOS(STATIC_10813), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f11739_0_equals_Load(EOS(STATIC_11739), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10836_0_equals_Return(EOS(STATIC_10836), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), matching1) -> f10844_0_put_EQ(EOS(STATIC_10844), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10844_0_put_EQ(EOS(STATIC_10844), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), matching1) -> f10849_0_put_Load(EOS(STATIC_10849), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL))) :|: TRUE && matching1 = 0 26.16/8.26 f10849_0_put_Load(EOS(STATIC_10849), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL))) -> f10855_0_put_FieldAccess(EOS(STATIC_10855), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL))) :|: TRUE 26.16/8.26 f10855_0_put_FieldAccess(EOS(STATIC_10855), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL))) -> f10861_0_put_Store(EOS(STATIC_10861), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10861_0_put_Store(EOS(STATIC_10861), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) -> f10784_0_put_Store(EOS(STATIC_10784), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, o6395) :|: TRUE 26.16/8.26 f10812_1_equals_Load(EOS(STATIC_10812), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6480sub)) -> f10831_0_equals_Return(EOS(STATIC_10831), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(o6480sub))), 0) :|: TRUE 26.16/8.26 f10812_1_equals_Load(EOS(STATIC_10812), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10832_0_equals_Return(EOS(STATIC_10832), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), 0) :|: TRUE 26.16/8.26 f10812_1_equals_Load(EOS(STATIC_10812), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10833_0_equals_Return(EOS(STATIC_10833), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, java.lang.Object(javaUtilEx.Content(EOC)))), 1) :|: TRUE 26.16/8.26 f10813_1_equals_Load(EOS(STATIC_10813), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f10836_0_equals_Return(EOS(STATIC_10836), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619, o6395, NULL)), 0) :|: TRUE 26.16/8.26 Combined rules. Obtained 7 IRulesP rules: 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757:0, o6395:0, o6393:0)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, o6395:0, o6395:0) :|: i4757:0 < i4619:0 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757:0, o6395:0, o6393:0)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, o6395:0, o6395:0) :|: i4757:0 > i4619:0 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, java.lang.Object(o6410sub:0))), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, java.lang.Object(o6410sub:0)))) -> f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, o6395:0, o6395:0) :|: TRUE 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, NULL)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, NULL))) -> f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, o6395:0, o6395:0) :|: TRUE 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, java.lang.Object(javaUtilEx.Content(EOC)))), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, java.lang.Object(javaUtilEx.Content(EOC))))) -> f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, o6395:0, o6395:0) :|: TRUE 26.16/8.26 Removed following non-SCC rules: 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, java.lang.Object(o6410sub:0))), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, java.lang.Object(o6410sub:0)))) -> f11683_0_equals_Load(EOS(STATIC_11683), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub:0), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, java.lang.Object(o6410sub:0))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6410sub:0)) :|: TRUE 26.16/8.26 f10747_0_put_NULL(EOS(STATIC_10747), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, NULL)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4619:0, o6395:0, NULL))) -> f11739_0_equals_Load(EOS(STATIC_11739), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 Filtered constant ground arguments: 26.16/8.26 f10747_0_put_NULL(x1, x2, x3, x4, x5, x6, x7) -> f10747_0_put_NULL(x5, x6, x7) 26.16/8.26 EOS(x1) -> EOS 26.16/8.26 javaUtilEx.AbstractMap(x1) -> javaUtilEx.AbstractMap 26.16/8.26 javaUtilEx.Content(x1) -> javaUtilEx.Content 26.16/8.26 javaUtilEx.HashMap$Entry(x1, x2, x3, x4) -> javaUtilEx.HashMap$Entry(x2, x3, x4) 26.16/8.26 javaUtilEx.HashMap(x1) -> javaUtilEx.HashMap 26.16/8.26 Filtered duplicate arguments: 26.16/8.26 f10747_0_put_NULL(x1, x2, x3) -> f10747_0_put_NULL(x1, x3) 26.16/8.26 Finished conversion. Obtained 5 rules.P rules: 26.16/8.26 f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: i4757:0 < i4619:0 26.16/8.26 f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: i4757:0 > i4619:0 26.16/8.26 f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4619:0, o6395:0, java.lang.Object(o6410sub:0)))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: TRUE 26.16/8.26 f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4619:0, o6395:0, NULL))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: TRUE 26.16/8.26 f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4619:0, o6395:0, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (30) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: i4757:0 < i4619:0 26.16/8.26 f10747_0_put_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10747_0_put_NULL(x, x2) :|: x1 > x 26.16/8.26 f10747_0_put_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x4, x5, java.lang.Object(x6)))) -> f10747_0_put_NULL(x4, x5) :|: TRUE 26.16/8.26 f10747_0_put_NULL(x7, java.lang.Object(javaUtilEx.HashMap$Entry(x7, x8, NULL))) -> f10747_0_put_NULL(x7, x8) :|: TRUE 26.16/8.26 f10747_0_put_NULL(x9, java.lang.Object(javaUtilEx.HashMap$Entry(x9, x10, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9, x10) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (31) IRSFormatTransformerProof (EQUIVALENT) 26.16/8.26 Reformatted IRS to match normalized format (transformed away non-linear left-hand sides, !=, / and %). 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (32) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: i4757:0 < i4619:0 26.16/8.26 f10747_0_put_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10747_0_put_NULL(x, x2) :|: x1 > x 26.16/8.26 f10747_0_put_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x4, x5, java.lang.Object(x6)))) -> f10747_0_put_NULL(x4, x5) :|: TRUE 26.16/8.26 f10747_0_put_NULL(x7, java.lang.Object(javaUtilEx.HashMap$Entry(x7, x8, NULL))) -> f10747_0_put_NULL(x7, x8) :|: TRUE 26.16/8.26 f10747_0_put_NULL(x9, java.lang.Object(javaUtilEx.HashMap$Entry(x9, x10, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9, x10) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (33) IRSwTTerminationDigraphProof (EQUIVALENT) 26.16/8.26 Constructed termination digraph! 26.16/8.26 Nodes: 26.16/8.26 (1) f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: i4757:0 < i4619:0 26.16/8.26 (2) f10747_0_put_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10747_0_put_NULL(x, x2) :|: x1 > x 26.16/8.26 (3) f10747_0_put_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x4, x5, java.lang.Object(x6)))) -> f10747_0_put_NULL(x4, x5) :|: TRUE 26.16/8.26 (4) f10747_0_put_NULL(x7, java.lang.Object(javaUtilEx.HashMap$Entry(x7, x8, NULL))) -> f10747_0_put_NULL(x7, x8) :|: TRUE 26.16/8.26 (5) f10747_0_put_NULL(x9, java.lang.Object(javaUtilEx.HashMap$Entry(x9, x10, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9, x10) :|: TRUE 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1), (2), (3), (4), (5) 26.16/8.26 (2) -> (1), (2), (3), (4), (5) 26.16/8.26 (3) -> (1), (2), (3), (4), (5) 26.16/8.26 (4) -> (1), (2), (3), (4), (5) 26.16/8.26 (5) -> (1), (2), (3), (4), (5) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (34) 26.16/8.26 Obligation: 26.16/8.26 26.16/8.26 Termination digraph: 26.16/8.26 Nodes: 26.16/8.26 (1) f10747_0_put_NULL(i4619:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0, o6395:0, o6393:0))) -> f10747_0_put_NULL(i4619:0, o6395:0) :|: i4757:0 < i4619:0 26.16/8.26 (2) f10747_0_put_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10747_0_put_NULL(x, x2) :|: x1 > x 26.16/8.26 (3) f10747_0_put_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x4, x5, java.lang.Object(x6)))) -> f10747_0_put_NULL(x4, x5) :|: TRUE 26.16/8.26 (4) f10747_0_put_NULL(x7, java.lang.Object(javaUtilEx.HashMap$Entry(x7, x8, NULL))) -> f10747_0_put_NULL(x7, x8) :|: TRUE 26.16/8.26 (5) f10747_0_put_NULL(x9, java.lang.Object(javaUtilEx.HashMap$Entry(x9, x10, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9, x10) :|: TRUE 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1), (2), (3), (4), (5) 26.16/8.26 (2) -> (1), (2), (3), (4), (5) 26.16/8.26 (3) -> (1), (2), (3), (4), (5) 26.16/8.26 (4) -> (1), (2), (3), (4), (5) 26.16/8.26 (5) -> (1), (2), (3), (4), (5) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (35) IntTRSCompressionProof (EQUIVALENT) 26.16/8.26 Compressed rules. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (36) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10747_0_put_NULL(i4619:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0:0, o6395:0:0, o6393:0:0))) -> f10747_0_put_NULL(i4619:0:0, o6395:0:0) :|: i4757:0:0 < i4619:0:0 26.16/8.26 f10747_0_put_NULL(x:0, java.lang.Object(javaUtilEx.HashMap$Entry(x1:0, x2:0, x3:0))) -> f10747_0_put_NULL(x:0, x2:0) :|: x:0 < x1:0 26.16/8.26 f10747_0_put_NULL(x4:0, java.lang.Object(javaUtilEx.HashMap$Entry(x4:0, x5:0, java.lang.Object(x6:0)))) -> f10747_0_put_NULL(x4:0, x5:0) :|: TRUE 26.16/8.26 f10747_0_put_NULL(x7:0, java.lang.Object(javaUtilEx.HashMap$Entry(x7:0, x8:0, NULL))) -> f10747_0_put_NULL(x7:0, x8:0) :|: TRUE 26.16/8.26 f10747_0_put_NULL(x9:0, java.lang.Object(javaUtilEx.HashMap$Entry(x9:0, x10:0, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9:0, x10:0) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (37) TempFilterProof (SOUND) 26.16/8.26 Used the following sort dictionary for filtering: 26.16/8.26 f10747_0_put_NULL(VARIABLE, VARIABLE) 26.16/8.26 java.lang.Object(VARIABLE) 26.16/8.26 javaUtilEx.HashMap$Entry(VARIABLE, VARIABLE, VARIABLE) 26.16/8.26 NULL() 26.16/8.26 javaUtilEx.Content() 26.16/8.26 Removed predefined arithmetic. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (38) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10747_0_put_NULL(i4619:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0:0, o6395:0:0, o6393:0:0))) -> f10747_0_put_NULL(i4619:0:0, o6395:0:0) 26.16/8.26 f10747_0_put_NULL(x4:0, java.lang.Object(javaUtilEx.HashMap$Entry(x4:0, x5:0, java.lang.Object(x6:0)))) -> f10747_0_put_NULL(x4:0, x5:0) 26.16/8.26 f10747_0_put_NULL(x7:0, java.lang.Object(javaUtilEx.HashMap$Entry(x7:0, x8:0, NULL))) -> f10747_0_put_NULL(x7:0, x8:0) 26.16/8.26 f10747_0_put_NULL(x9:0, java.lang.Object(javaUtilEx.HashMap$Entry(x9:0, x10:0, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9:0, x10:0) 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (39) IRSwTToQDPProof (SOUND) 26.16/8.26 Removed the integers and created a QDP-Problem. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (40) 26.16/8.26 Obligation: 26.16/8.26 Q DP problem: 26.16/8.26 The TRS P consists of the following rules: 26.16/8.26 26.16/8.26 f10747_0_put_NULL(i4619:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0:0, o6395:0:0, o6393:0:0))) -> f10747_0_put_NULL(i4619:0:0, o6395:0:0) 26.16/8.26 f10747_0_put_NULL(x4:0, java.lang.Object(javaUtilEx.HashMap$Entry(x4:0, x5:0, java.lang.Object(x6:0)))) -> f10747_0_put_NULL(x4:0, x5:0) 26.16/8.26 f10747_0_put_NULL(x7:0, java.lang.Object(javaUtilEx.HashMap$Entry(x7:0, x8:0, NULL))) -> f10747_0_put_NULL(x7:0, x8:0) 26.16/8.26 f10747_0_put_NULL(x9:0, java.lang.Object(javaUtilEx.HashMap$Entry(x9:0, x10:0, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9:0, x10:0) 26.16/8.26 26.16/8.26 R is empty. 26.16/8.26 Q is empty. 26.16/8.26 We have to consider all (P,Q,R)-chains. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (41) QDPSizeChangeProof (EQUIVALENT) 26.16/8.26 By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. 26.16/8.26 26.16/8.26 From the DPs we obtained the following set of size-change graphs: 26.16/8.26 *f10747_0_put_NULL(i4619:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4757:0:0, o6395:0:0, o6393:0:0))) -> f10747_0_put_NULL(i4619:0:0, o6395:0:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 *f10747_0_put_NULL(x4:0, java.lang.Object(javaUtilEx.HashMap$Entry(x4:0, x5:0, java.lang.Object(x6:0)))) -> f10747_0_put_NULL(x4:0, x5:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 *f10747_0_put_NULL(x7:0, java.lang.Object(javaUtilEx.HashMap$Entry(x7:0, x8:0, NULL))) -> f10747_0_put_NULL(x7:0, x8:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 *f10747_0_put_NULL(x9:0, java.lang.Object(javaUtilEx.HashMap$Entry(x9:0, x10:0, java.lang.Object(javaUtilEx.Content)))) -> f10747_0_put_NULL(x9:0, x10:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (42) 26.16/8.26 YES 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (43) 26.16/8.26 Obligation: 26.16/8.26 SCC of termination graph based on JBC Program. 26.16/8.26 SCC contains nodes from the following methods: javaUtilEx.HashMap.getEntry(Ljava/lang/Object;)LjavaUtilEx/HashMap$Entry; 26.16/8.26 SCC calls the following helper methods: javaUtilEx.Content.equals(Ljava/lang/Object;)Z 26.16/8.26 Performed SCC analyses: 26.16/8.26 *Used field analysis yielded the following read fields: 26.16/8.26 *javaUtilEx.HashMap$Entry: [hash, next, key] 26.16/8.26 *Marker field analysis yielded the following relations that could be markers: 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (44) SCCToIRSProof (SOUND) 26.16/8.26 Transformed FIGraph SCCs to intTRSs. Log: 26.16/8.26 Generated rules. Obtained 61 IRulesP rules: 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(o6088sub), java.lang.Object(o6088sub)) -> f10574_0_getEntry_NULL(EOS(STATIC_10574), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(o6088sub), java.lang.Object(o6088sub)) :|: TRUE 26.16/8.26 f10574_0_getEntry_NULL(EOS(STATIC_10574), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(o6088sub), java.lang.Object(o6088sub)) -> f10578_0_getEntry_Load(EOS(STATIC_10578), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(o6088sub)) :|: TRUE 26.16/8.26 f10578_0_getEntry_Load(EOS(STATIC_10578), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(o6088sub)) -> f10581_0_getEntry_FieldAccess(EOS(STATIC_10581), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(o6088sub), java.lang.Object(o6088sub)) :|: TRUE 26.16/8.26 f10581_0_getEntry_FieldAccess(EOS(STATIC_10581), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090))) -> f10585_0_getEntry_FieldAccess(EOS(STATIC_10585), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090))) :|: TRUE 26.16/8.26 f10585_0_getEntry_FieldAccess(EOS(STATIC_10585), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090))) -> f10589_0_getEntry_Load(EOS(STATIC_10589), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), i4620) :|: TRUE 26.16/8.26 f10589_0_getEntry_Load(EOS(STATIC_10589), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), i4620) -> f10591_0_getEntry_NE(EOS(STATIC_10591), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), i4620, i4598) :|: TRUE 26.16/8.26 f10591_0_getEntry_NE(EOS(STATIC_10591), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), i4620, i4598) -> f10595_0_getEntry_NE(EOS(STATIC_10595), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), i4620, i4598) :|: !(i4620 = i4598) 26.16/8.26 f10591_0_getEntry_NE(EOS(STATIC_10591), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), i4598, i4598) -> f10596_0_getEntry_NE(EOS(STATIC_10596), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), i4598, i4598) :|: i4620 = i4598 26.16/8.26 f10595_0_getEntry_NE(EOS(STATIC_10595), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090)), i4620, i4598) -> f10600_0_getEntry_Load(EOS(STATIC_10600), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090))) :|: !(i4620 = i4598) 26.16/8.26 f10600_0_getEntry_Load(EOS(STATIC_10600), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090))) -> f10604_0_getEntry_FieldAccess(EOS(STATIC_10604), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090))) :|: TRUE 26.16/8.26 f10604_0_getEntry_FieldAccess(EOS(STATIC_10604), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620, o6092, o6090))) -> f10609_0_getEntry_Store(EOS(STATIC_10609), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10609_0_getEntry_Store(EOS(STATIC_10609), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) -> f10614_0_getEntry_JMP(EOS(STATIC_10614), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10614_0_getEntry_JMP(EOS(STATIC_10614), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) -> f10616_0_getEntry_Load(EOS(STATIC_10616), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10616_0_getEntry_Load(EOS(STATIC_10616), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) -> f10569_0_getEntry_Load(EOS(STATIC_10569), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10569_0_getEntry_Load(EOS(STATIC_10569), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6086) -> f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6086, o6086) :|: TRUE 26.16/8.26 f10596_0_getEntry_NE(EOS(STATIC_10596), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), i4598, i4598) -> f10601_0_getEntry_Load(EOS(STATIC_10601), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090))) :|: TRUE 26.16/8.26 f10601_0_getEntry_Load(EOS(STATIC_10601), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090))) -> f10605_0_getEntry_FieldAccess(EOS(STATIC_10605), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090))) :|: TRUE 26.16/8.26 f10605_0_getEntry_FieldAccess(EOS(STATIC_10605), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090))) -> f10610_0_getEntry_Duplicate(EOS(STATIC_10610), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), o6090) :|: TRUE 26.16/8.26 f10610_0_getEntry_Duplicate(EOS(STATIC_10610), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), o6090) -> f10615_0_getEntry_Store(EOS(STATIC_10615), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), o6090, o6090) :|: TRUE 26.16/8.26 f10615_0_getEntry_Store(EOS(STATIC_10615), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), o6090, o6090) -> f10617_0_getEntry_Load(EOS(STATIC_10617), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), o6090, o6090) :|: TRUE 26.16/8.26 f10617_0_getEntry_Load(EOS(STATIC_10617), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), o6090, o6090) -> f10621_0_getEntry_EQ(EOS(STATIC_10621), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, o6090)), o6090, o6090, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10621_0_getEntry_EQ(EOS(STATIC_10621), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC))) -> f10625_0_getEntry_EQ(EOS(STATIC_10625), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10621_0_getEntry_EQ(EOS(STATIC_10621), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL, NULL, java.lang.Object(javaUtilEx.Content(EOC))) -> f10626_0_getEntry_EQ(EOS(STATIC_10626), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL, NULL, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10625_0_getEntry_EQ(EOS(STATIC_10625), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC))) -> f10630_0_getEntry_Load(EOS(STATIC_10630), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub)) :|: TRUE 26.16/8.26 f10630_0_getEntry_Load(EOS(STATIC_10630), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub)) -> f10635_0_getEntry_NULL(EOS(STATIC_10635), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10635_0_getEntry_NULL(EOS(STATIC_10635), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC))) -> f10639_0_getEntry_Load(EOS(STATIC_10639), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub)) :|: TRUE 26.16/8.26 f10639_0_getEntry_Load(EOS(STATIC_10639), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub)) -> f10643_0_getEntry_Load(EOS(STATIC_10643), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10643_0_getEntry_Load(EOS(STATIC_10643), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC))) -> f10647_0_getEntry_InvokeMethod(EOS(STATIC_10647), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub)) :|: TRUE 26.16/8.26 f10647_0_getEntry_InvokeMethod(EOS(STATIC_10647), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub)) -> f10651_0_equals_Load(EOS(STATIC_10651), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub)) :|: TRUE 26.16/8.26 f10647_0_getEntry_InvokeMethod(EOS(STATIC_10647), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub)) -> f10651_1_equals_Load(EOS(STATIC_10651), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6105sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub)) :|: TRUE 26.16/8.26 f10651_0_equals_Load(EOS(STATIC_10651), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub)) -> f11879_0_equals_Load(EOS(STATIC_11879), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub)) :|: TRUE 26.16/8.26 f10669_0_equals_Return(EOS(STATIC_10669), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub))), matching1) -> f10681_0_getEntry_EQ(EOS(STATIC_10681), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub))), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10681_0_getEntry_EQ(EOS(STATIC_10681), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub))), matching1) -> f10687_0_getEntry_Load(EOS(STATIC_10687), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub)))) :|: TRUE && matching1 = 0 26.16/8.26 f10687_0_getEntry_Load(EOS(STATIC_10687), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub)))) -> f10694_0_getEntry_FieldAccess(EOS(STATIC_10694), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub)))) :|: TRUE 26.16/8.26 f10694_0_getEntry_FieldAccess(EOS(STATIC_10694), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub)))) -> f10702_0_getEntry_Store(EOS(STATIC_10702), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10702_0_getEntry_Store(EOS(STATIC_10702), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) -> f10609_0_getEntry_Store(EOS(STATIC_10609), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10670_0_equals_Return(EOS(STATIC_10670), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10672_0_equals_Return(EOS(STATIC_10672), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10672_0_equals_Return(EOS(STATIC_10672), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC)))), i4689) -> f10682_0_getEntry_EQ(EOS(STATIC_10682), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC)))), i4689) :|: TRUE 26.16/8.26 f10682_0_getEntry_EQ(EOS(STATIC_10682), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10689_0_getEntry_EQ(EOS(STATIC_10689), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC)))), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10689_0_getEntry_EQ(EOS(STATIC_10689), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10696_0_getEntry_Load(EOS(STATIC_10696), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC))))) :|: TRUE && matching1 = 0 26.16/8.26 f10696_0_getEntry_Load(EOS(STATIC_10696), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC))))) -> f10704_0_getEntry_FieldAccess(EOS(STATIC_10704), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC))))) :|: TRUE 26.16/8.26 f10704_0_getEntry_FieldAccess(EOS(STATIC_10704), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6249, java.lang.Object(javaUtilEx.Content(EOC))))) -> f10711_0_getEntry_Store(EOS(STATIC_10711), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6249) :|: TRUE 26.16/8.26 f10711_0_getEntry_Store(EOS(STATIC_10711), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6249) -> f10609_0_getEntry_Store(EOS(STATIC_10609), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6249) :|: TRUE 26.16/8.26 f10671_0_equals_Return(EOS(STATIC_10671), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), matching1) -> f10672_0_equals_Return(EOS(STATIC_10672), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), 1) :|: TRUE && matching1 = 1 26.16/8.26 f10626_0_getEntry_EQ(EOS(STATIC_10626), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL, NULL, java.lang.Object(javaUtilEx.Content(EOC))) -> f10631_0_getEntry_Load(EOS(STATIC_10631), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL) :|: TRUE 26.16/8.26 f10631_0_getEntry_Load(EOS(STATIC_10631), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL) -> f10636_0_getEntry_NULL(EOS(STATIC_10636), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10636_0_getEntry_NULL(EOS(STATIC_10636), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL, java.lang.Object(javaUtilEx.Content(EOC))) -> f10640_0_getEntry_Load(EOS(STATIC_10640), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL) :|: TRUE 26.16/8.26 f10640_0_getEntry_Load(EOS(STATIC_10640), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL) -> f10644_0_getEntry_Load(EOS(STATIC_10644), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10644_0_getEntry_Load(EOS(STATIC_10644), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), NULL, java.lang.Object(javaUtilEx.Content(EOC))) -> f10648_0_getEntry_InvokeMethod(EOS(STATIC_10648), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10648_0_getEntry_InvokeMethod(EOS(STATIC_10648), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f10652_0_equals_Load(EOS(STATIC_10652), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10648_0_getEntry_InvokeMethod(EOS(STATIC_10648), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f10652_1_equals_Load(EOS(STATIC_10652), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10652_0_equals_Load(EOS(STATIC_10652), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f11937_0_equals_Load(EOS(STATIC_11937), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10674_0_equals_Return(EOS(STATIC_10674), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), matching1) -> f10683_0_getEntry_EQ(EOS(STATIC_10683), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), 0) :|: TRUE && matching1 = 0 26.16/8.26 f10683_0_getEntry_EQ(EOS(STATIC_10683), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), matching1) -> f10690_0_getEntry_Load(EOS(STATIC_10690), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL))) :|: TRUE && matching1 = 0 26.16/8.26 f10690_0_getEntry_Load(EOS(STATIC_10690), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL))) -> f10697_0_getEntry_FieldAccess(EOS(STATIC_10697), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL))) :|: TRUE 26.16/8.26 f10697_0_getEntry_FieldAccess(EOS(STATIC_10697), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL))) -> f10705_0_getEntry_Store(EOS(STATIC_10705), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10705_0_getEntry_Store(EOS(STATIC_10705), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) -> f10609_0_getEntry_Store(EOS(STATIC_10609), java.lang.Object(javaUtilEx.Content(EOC)), i4598, o6092) :|: TRUE 26.16/8.26 f10651_1_equals_Load(EOS(STATIC_10651), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6166sub)) -> f10669_0_equals_Return(EOS(STATIC_10669), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(o6166sub))), 0) :|: TRUE 26.16/8.26 f10651_1_equals_Load(EOS(STATIC_10651), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10670_0_equals_Return(EOS(STATIC_10670), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), 0) :|: TRUE 26.16/8.26 f10651_1_equals_Load(EOS(STATIC_10651), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10671_0_equals_Return(EOS(STATIC_10671), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, java.lang.Object(javaUtilEx.Content(EOC)))), 1) :|: TRUE 26.16/8.26 f10652_1_equals_Load(EOS(STATIC_10652), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), java.lang.Object(javaUtilEx.Content(EOC)), NULL) -> f10674_0_equals_Return(EOS(STATIC_10674), java.lang.Object(javaUtilEx.Content(EOC)), i4598, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598, o6092, NULL)), 0) :|: TRUE 26.16/8.26 Combined rules. Obtained 7 IRulesP rules: 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, java.lang.Object(javaUtilEx.Content(EOC)))), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, java.lang.Object(javaUtilEx.Content(EOC))))) -> f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, o6092:0, o6092:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620:0, o6092:0, o6090:0)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620:0, o6092:0, o6090:0))) -> f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, o6092:0, o6092:0) :|: i4620:0 < i4598:0 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620:0, o6092:0, o6090:0)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4620:0, o6092:0, o6090:0))) -> f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, o6092:0, o6092:0) :|: i4620:0 > i4598:0 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, NULL)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, NULL))) -> f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, o6092:0, o6092:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, java.lang.Object(o6105sub:0))), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, java.lang.Object(o6105sub:0)))) -> f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, o6092:0, o6092:0) :|: TRUE 26.16/8.26 Removed following non-SCC rules: 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, NULL)), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, NULL))) -> f11937_0_equals_Load(EOS(STATIC_11937), java.lang.Object(javaUtilEx.Content(EOC)), NULL, java.lang.Object(javaUtilEx.Content(EOC)), NULL) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(EOS(STATIC_10571), java.lang.Object(javaUtilEx.Content(EOC)), i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, java.lang.Object(o6105sub:0))), java.lang.Object(javaUtilEx.HashMap$Entry(EOC, i4598:0, o6092:0, java.lang.Object(o6105sub:0)))) -> f11879_0_equals_Load(EOS(STATIC_11879), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub:0), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6105sub:0)) :|: TRUE 26.16/8.26 Filtered constant ground arguments: 26.16/8.26 f10571_0_getEntry_NULL(x1, x2, x3, x4, x5) -> f10571_0_getEntry_NULL(x3, x4, x5) 26.16/8.26 EOS(x1) -> EOS 26.16/8.26 javaUtilEx.Content(x1) -> javaUtilEx.Content 26.16/8.26 javaUtilEx.HashMap$Entry(x1, x2, x3, x4) -> javaUtilEx.HashMap$Entry(x2, x3, x4) 26.16/8.26 Filtered duplicate arguments: 26.16/8.26 f10571_0_getEntry_NULL(x1, x2, x3) -> f10571_0_getEntry_NULL(x1, x3) 26.16/8.26 Finished conversion. Obtained 5 rules.P rules: 26.16/8.26 f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0, o6092:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4620:0, o6092:0, o6090:0))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: i4620:0 < i4598:0 26.16/8.26 f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4620:0, o6092:0, o6090:0))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: i4620:0 > i4598:0 26.16/8.26 f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0, o6092:0, NULL))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0, o6092:0, java.lang.Object(o6105sub:0)))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (45) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0, o6092:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10571_0_getEntry_NULL(x, x2) :|: x1 < x 26.16/8.26 f10571_0_getEntry_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x5, x6, x7))) -> f10571_0_getEntry_NULL(x4, x6) :|: x5 > x4 26.16/8.26 f10571_0_getEntry_NULL(x8, java.lang.Object(javaUtilEx.HashMap$Entry(x8, x9, NULL))) -> f10571_0_getEntry_NULL(x8, x9) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(x10, java.lang.Object(javaUtilEx.HashMap$Entry(x10, x11, java.lang.Object(x12)))) -> f10571_0_getEntry_NULL(x10, x11) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (46) IRSFormatTransformerProof (EQUIVALENT) 26.16/8.26 Reformatted IRS to match normalized format (transformed away non-linear left-hand sides, !=, / and %). 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (47) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0, o6092:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10571_0_getEntry_NULL(x, x2) :|: x1 < x 26.16/8.26 f10571_0_getEntry_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x5, x6, x7))) -> f10571_0_getEntry_NULL(x4, x6) :|: x5 > x4 26.16/8.26 f10571_0_getEntry_NULL(x8, java.lang.Object(javaUtilEx.HashMap$Entry(x8, x9, NULL))) -> f10571_0_getEntry_NULL(x8, x9) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(x10, java.lang.Object(javaUtilEx.HashMap$Entry(x10, x11, java.lang.Object(x12)))) -> f10571_0_getEntry_NULL(x10, x11) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (48) IRSwTTerminationDigraphProof (EQUIVALENT) 26.16/8.26 Constructed termination digraph! 26.16/8.26 Nodes: 26.16/8.26 (1) f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0, o6092:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: TRUE 26.16/8.26 (2) f10571_0_getEntry_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10571_0_getEntry_NULL(x, x2) :|: x1 < x 26.16/8.26 (3) f10571_0_getEntry_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x5, x6, x7))) -> f10571_0_getEntry_NULL(x4, x6) :|: x5 > x4 26.16/8.26 (4) f10571_0_getEntry_NULL(x8, java.lang.Object(javaUtilEx.HashMap$Entry(x8, x9, NULL))) -> f10571_0_getEntry_NULL(x8, x9) :|: TRUE 26.16/8.26 (5) f10571_0_getEntry_NULL(x10, java.lang.Object(javaUtilEx.HashMap$Entry(x10, x11, java.lang.Object(x12)))) -> f10571_0_getEntry_NULL(x10, x11) :|: TRUE 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1), (2), (3), (4), (5) 26.16/8.26 (2) -> (1), (2), (3), (4), (5) 26.16/8.26 (3) -> (1), (2), (3), (4), (5) 26.16/8.26 (4) -> (1), (2), (3), (4), (5) 26.16/8.26 (5) -> (1), (2), (3), (4), (5) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (49) 26.16/8.26 Obligation: 26.16/8.26 26.16/8.26 Termination digraph: 26.16/8.26 Nodes: 26.16/8.26 (1) f10571_0_getEntry_NULL(i4598:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0, o6092:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0, o6092:0) :|: TRUE 26.16/8.26 (2) f10571_0_getEntry_NULL(x, java.lang.Object(javaUtilEx.HashMap$Entry(x1, x2, x3))) -> f10571_0_getEntry_NULL(x, x2) :|: x1 < x 26.16/8.26 (3) f10571_0_getEntry_NULL(x4, java.lang.Object(javaUtilEx.HashMap$Entry(x5, x6, x7))) -> f10571_0_getEntry_NULL(x4, x6) :|: x5 > x4 26.16/8.26 (4) f10571_0_getEntry_NULL(x8, java.lang.Object(javaUtilEx.HashMap$Entry(x8, x9, NULL))) -> f10571_0_getEntry_NULL(x8, x9) :|: TRUE 26.16/8.26 (5) f10571_0_getEntry_NULL(x10, java.lang.Object(javaUtilEx.HashMap$Entry(x10, x11, java.lang.Object(x12)))) -> f10571_0_getEntry_NULL(x10, x11) :|: TRUE 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1), (2), (3), (4), (5) 26.16/8.26 (2) -> (1), (2), (3), (4), (5) 26.16/8.26 (3) -> (1), (2), (3), (4), (5) 26.16/8.26 (4) -> (1), (2), (3), (4), (5) 26.16/8.26 (5) -> (1), (2), (3), (4), (5) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (50) IntTRSCompressionProof (EQUIVALENT) 26.16/8.26 Compressed rules. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (51) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10571_0_getEntry_NULL(i4598:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0:0, o6092:0:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0:0, o6092:0:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(x:0, java.lang.Object(javaUtilEx.HashMap$Entry(x1:0, x2:0, x3:0))) -> f10571_0_getEntry_NULL(x:0, x2:0) :|: x:0 > x1:0 26.16/8.26 f10571_0_getEntry_NULL(x10:0, java.lang.Object(javaUtilEx.HashMap$Entry(x10:0, x11:0, java.lang.Object(x12:0)))) -> f10571_0_getEntry_NULL(x10:0, x11:0) :|: TRUE 26.16/8.26 f10571_0_getEntry_NULL(x4:0, java.lang.Object(javaUtilEx.HashMap$Entry(x5:0, x6:0, x7:0))) -> f10571_0_getEntry_NULL(x4:0, x6:0) :|: x5:0 > x4:0 26.16/8.26 f10571_0_getEntry_NULL(x8:0, java.lang.Object(javaUtilEx.HashMap$Entry(x8:0, x9:0, NULL))) -> f10571_0_getEntry_NULL(x8:0, x9:0) :|: TRUE 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (52) TempFilterProof (SOUND) 26.16/8.26 Used the following sort dictionary for filtering: 26.16/8.26 f10571_0_getEntry_NULL(VARIABLE, VARIABLE) 26.16/8.26 java.lang.Object(VARIABLE) 26.16/8.26 javaUtilEx.HashMap$Entry(VARIABLE, VARIABLE, VARIABLE) 26.16/8.26 javaUtilEx.Content() 26.16/8.26 NULL() 26.16/8.26 Removed predefined arithmetic. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (53) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10571_0_getEntry_NULL(i4598:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0:0, o6092:0:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0:0, o6092:0:0) 26.16/8.26 f10571_0_getEntry_NULL(x:0, java.lang.Object(javaUtilEx.HashMap$Entry(x1:0, x2:0, x3:0))) -> f10571_0_getEntry_NULL(x:0, x2:0) 26.16/8.26 f10571_0_getEntry_NULL(x10:0, java.lang.Object(javaUtilEx.HashMap$Entry(x10:0, x11:0, java.lang.Object(x12:0)))) -> f10571_0_getEntry_NULL(x10:0, x11:0) 26.16/8.26 f10571_0_getEntry_NULL(x8:0, java.lang.Object(javaUtilEx.HashMap$Entry(x8:0, x9:0, NULL))) -> f10571_0_getEntry_NULL(x8:0, x9:0) 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (54) IRSwTToQDPProof (SOUND) 26.16/8.26 Removed the integers and created a QDP-Problem. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (55) 26.16/8.26 Obligation: 26.16/8.26 Q DP problem: 26.16/8.26 The TRS P consists of the following rules: 26.16/8.26 26.16/8.26 f10571_0_getEntry_NULL(i4598:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0:0, o6092:0:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0:0, o6092:0:0) 26.16/8.26 f10571_0_getEntry_NULL(x:0, java.lang.Object(javaUtilEx.HashMap$Entry(x1:0, x2:0, x3:0))) -> f10571_0_getEntry_NULL(x:0, x2:0) 26.16/8.26 f10571_0_getEntry_NULL(x10:0, java.lang.Object(javaUtilEx.HashMap$Entry(x10:0, x11:0, java.lang.Object(x12:0)))) -> f10571_0_getEntry_NULL(x10:0, x11:0) 26.16/8.26 f10571_0_getEntry_NULL(x8:0, java.lang.Object(javaUtilEx.HashMap$Entry(x8:0, x9:0, NULL))) -> f10571_0_getEntry_NULL(x8:0, x9:0) 26.16/8.26 26.16/8.26 R is empty. 26.16/8.26 Q is empty. 26.16/8.26 We have to consider all (P,Q,R)-chains. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (56) QDPSizeChangeProof (EQUIVALENT) 26.16/8.26 By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. 26.16/8.26 26.16/8.26 From the DPs we obtained the following set of size-change graphs: 26.16/8.26 *f10571_0_getEntry_NULL(i4598:0:0, java.lang.Object(javaUtilEx.HashMap$Entry(i4598:0:0, o6092:0:0, java.lang.Object(javaUtilEx.Content)))) -> f10571_0_getEntry_NULL(i4598:0:0, o6092:0:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 *f10571_0_getEntry_NULL(x:0, java.lang.Object(javaUtilEx.HashMap$Entry(x1:0, x2:0, x3:0))) -> f10571_0_getEntry_NULL(x:0, x2:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 *f10571_0_getEntry_NULL(x10:0, java.lang.Object(javaUtilEx.HashMap$Entry(x10:0, x11:0, java.lang.Object(x12:0)))) -> f10571_0_getEntry_NULL(x10:0, x11:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 *f10571_0_getEntry_NULL(x8:0, java.lang.Object(javaUtilEx.HashMap$Entry(x8:0, x9:0, NULL))) -> f10571_0_getEntry_NULL(x8:0, x9:0) 26.16/8.26 The graph contains the following edges 1 >= 1, 2 > 1, 2 > 2 26.16/8.26 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (57) 26.16/8.26 YES 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (58) 26.16/8.26 Obligation: 26.16/8.26 SCC of termination graph based on JBC Program. 26.16/8.26 SCC contains nodes from the following methods: javaUtilEx.juHashMapCreateContainsKey.createMap(I)LjavaUtilEx/HashMap; 26.16/8.26 SCC calls the following helper methods: javaUtilEx.HashMap.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;, javaUtilEx.Content.hashCode()I, javaUtilEx.Content.equals(Ljava/lang/Object;)Z 26.16/8.26 Performed SCC analyses: 26.16/8.26 *Used field analysis yielded the following read fields: 26.16/8.26 *java.lang.String: [count] 26.16/8.26 *Marker field analysis yielded the following relations that could be markers: 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (59) SCCToIRSProof (SOUND) 26.16/8.26 Transformed FIGraph SCCs to intTRSs. Log: 26.16/8.26 Generated rules. Obtained 81 IRulesP rules: 26.16/8.26 f10079_0_createMap_LE(EOS(STATIC_10079(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4247) -> f10083_0_createMap_LE(EOS(STATIC_10083(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4247) :|: TRUE 26.16/8.26 f10083_0_createMap_LE(EOS(STATIC_10083(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4247) -> f10088_0_createMap_New(EOS(STATIC_10088(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: i4247 > 0 26.16/8.26 f10088_0_createMap_New(EOS(STATIC_10088(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10093_0_createMap_Duplicate(EOS(STATIC_10093(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10093_0_createMap_Duplicate(EOS(STATIC_10093(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) -> f10097_0_createMap_InvokeMethod(EOS(STATIC_10097(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10097_0_createMap_InvokeMethod(EOS(STATIC_10097(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10101_0_random_FieldAccess(EOS(STATIC_10101(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10101_0_random_FieldAccess(EOS(STATIC_10101(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10111_0_random_FieldAccess(EOS(STATIC_10111(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5783sub)) :|: TRUE 26.16/8.26 f10111_0_random_FieldAccess(EOS(STATIC_10111(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5783sub)) -> f10116_0_random_ArrayAccess(EOS(STATIC_10116(java.lang.Object(o5783sub), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5783sub), i4228) :|: TRUE 26.16/8.26 f10116_0_random_ArrayAccess(EOS(STATIC_10116(java.lang.Object(ARRAY(i4275)), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4228) -> f10121_0_random_ArrayAccess(EOS(STATIC_10121(java.lang.Object(ARRAY(i4275)), i4228)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4228) :|: i4275 >= 0 26.16/8.26 f10121_0_random_ArrayAccess(EOS(STATIC_10121(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4277) -> f10127_0_random_ArrayAccess(EOS(STATIC_10127(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4277) :|: TRUE 26.16/8.26 f10127_0_random_ArrayAccess(EOS(STATIC_10127(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4277) -> f10134_0_random_ArrayAccess(EOS(STATIC_10134(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4277) :|: TRUE 26.16/8.26 f10134_0_random_ArrayAccess(EOS(STATIC_10134(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4277) -> f10140_0_random_Store(EOS(STATIC_10140(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815) :|: i4277 < i4275 26.16/8.26 f10140_0_random_Store(EOS(STATIC_10140(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815) -> f10145_0_random_FieldAccess(EOS(STATIC_10145(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815) :|: TRUE 26.16/8.26 f10145_0_random_FieldAccess(EOS(STATIC_10145(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815) -> f10151_0_random_ConstantStackPush(EOS(STATIC_10151(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815, i4277) :|: TRUE 26.16/8.26 f10151_0_random_ConstantStackPush(EOS(STATIC_10151(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815, i4277) -> f10157_0_random_IntArithmetic(EOS(STATIC_10157(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815, i4277, 1) :|: TRUE 26.16/8.26 f10157_0_random_IntArithmetic(EOS(STATIC_10157(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815, i4277, matching1) -> f10164_0_random_FieldAccess(EOS(STATIC_10164(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815, i4277 + 1) :|: i4277 >= 0 && matching1 = 1 26.16/8.26 f10164_0_random_FieldAccess(EOS(STATIC_10164(java.lang.Object(ARRAY(i4275)), i4277)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815, i4286) -> f10173_0_random_Load(EOS(STATIC_10173(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815) :|: TRUE 26.16/8.26 f10173_0_random_Load(EOS(STATIC_10173(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815) -> f10181_0_random_InvokeMethod(EOS(STATIC_10181(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5815) :|: TRUE 26.16/8.26 f10181_0_random_InvokeMethod(EOS(STATIC_10181(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5833sub)) -> f10187_0_random_InvokeMethod(EOS(STATIC_10187(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5833sub)) :|: TRUE 26.16/8.26 f10187_0_random_InvokeMethod(EOS(STATIC_10187(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5841sub)) -> f10196_0_random_InvokeMethod(EOS(STATIC_10196(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5841sub)) :|: TRUE 26.16/8.26 f10196_0_random_InvokeMethod(EOS(STATIC_10196(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5841sub)) -> f10204_0_length_Load(EOS(STATIC_10204(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5841sub)) :|: TRUE 26.16/8.26 f10204_0_length_Load(EOS(STATIC_10204(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5841sub)) -> f10220_0_length_FieldAccess(EOS(STATIC_10220(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o5841sub)) :|: TRUE 26.16/8.26 f10220_0_length_FieldAccess(EOS(STATIC_10220(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(java.lang.String(EOC, i4306))) -> f10228_0_length_FieldAccess(EOS(STATIC_10228(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(java.lang.String(EOC, i4306))) :|: i4306 >= 0 26.16/8.26 f10228_0_length_FieldAccess(EOS(STATIC_10228(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(java.lang.String(EOC, i4306))) -> f10235_0_length_Return(EOS(STATIC_10235(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) :|: TRUE 26.16/8.26 f10235_0_length_Return(EOS(STATIC_10235(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) -> f10244_0_random_Return(EOS(STATIC_10244(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) :|: TRUE 26.16/8.26 f10244_0_random_Return(EOS(STATIC_10244(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) -> f10252_0_createMap_InvokeMethod(EOS(STATIC_10252(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) :|: TRUE 26.16/8.26 f10252_0_createMap_InvokeMethod(EOS(STATIC_10252(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) -> f10258_0__init__Load(EOS(STATIC_10258(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) :|: TRUE 26.16/8.26 f10258_0__init__Load(EOS(STATIC_10258(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) -> f10275_0__init__InvokeMethod(EOS(STATIC_10275(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10275_0__init__InvokeMethod(EOS(STATIC_10275(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306, java.lang.Object(javaUtilEx.Content(EOC))) -> f10282_0__init__Load(EOS(STATIC_10282(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) :|: TRUE 26.16/8.26 f10282_0__init__Load(EOS(STATIC_10282(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) -> f10292_0__init__Load(EOS(STATIC_10292(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4306, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10292_0__init__Load(EOS(STATIC_10292(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), i4306, java.lang.Object(javaUtilEx.Content(EOC))) -> f10301_0__init__FieldAccess(EOS(STATIC_10301(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) :|: TRUE 26.16/8.26 f10301_0__init__FieldAccess(EOS(STATIC_10301(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4306) -> f10311_0__init__Return(EOS(STATIC_10311(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10311_0__init__Return(EOS(STATIC_10311(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) -> f10320_0_createMap_Store(EOS(STATIC_10320(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10320_0_createMap_Store(EOS(STATIC_10320(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) -> f10329_0_createMap_New(EOS(STATIC_10329(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10329_0_createMap_New(EOS(STATIC_10329(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) -> f10339_0_createMap_Duplicate(EOS(STATIC_10339(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10339_0_createMap_Duplicate(EOS(STATIC_10339(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10349_0_createMap_InvokeMethod(EOS(STATIC_10349(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10349_0_createMap_InvokeMethod(EOS(STATIC_10349(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10359_0_random_FieldAccess(EOS(STATIC_10359(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10359_0_random_FieldAccess(EOS(STATIC_10359(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10376_0_random_FieldAccess(EOS(STATIC_10376(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275))) :|: TRUE 26.16/8.26 f10376_0_random_FieldAccess(EOS(STATIC_10376(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275))) -> f10384_0_random_ArrayAccess(EOS(STATIC_10384(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4286) :|: TRUE 26.16/8.26 f10384_0_random_ArrayAccess(EOS(STATIC_10384(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4286) -> f10392_0_random_ArrayAccess(EOS(STATIC_10392(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4286) :|: TRUE 26.16/8.26 f10392_0_random_ArrayAccess(EOS(STATIC_10392(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(ARRAY(i4275)), i4286) -> f10400_0_random_Store(EOS(STATIC_10400(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986) :|: i4286 < i4275 26.16/8.26 f10400_0_random_Store(EOS(STATIC_10400(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986) -> f10408_0_random_FieldAccess(EOS(STATIC_10408(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986) :|: TRUE 26.16/8.26 f10408_0_random_FieldAccess(EOS(STATIC_10408(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986) -> f10412_0_random_ConstantStackPush(EOS(STATIC_10412(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986, i4286) :|: TRUE 26.16/8.26 f10412_0_random_ConstantStackPush(EOS(STATIC_10412(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986, i4286) -> f10418_0_random_IntArithmetic(EOS(STATIC_10418(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986, i4286, 1) :|: TRUE 26.16/8.26 f10418_0_random_IntArithmetic(EOS(STATIC_10418(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986, i4286, matching1) -> f10422_0_random_FieldAccess(EOS(STATIC_10422(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986, i4286 + 1) :|: i4286 > 0 && matching1 = 1 26.16/8.26 f10422_0_random_FieldAccess(EOS(STATIC_10422(java.lang.Object(ARRAY(i4275)), i4286)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986, i4475) -> f10425_0_random_Load(EOS(STATIC_10425(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986) :|: TRUE 26.16/8.26 f10425_0_random_Load(EOS(STATIC_10425(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986) -> f10429_0_random_InvokeMethod(EOS(STATIC_10429(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), o5986) :|: TRUE 26.16/8.26 f10429_0_random_InvokeMethod(EOS(STATIC_10429(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6012sub)) -> f10431_0_random_InvokeMethod(EOS(STATIC_10431(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6012sub)) :|: TRUE 26.16/8.26 f10431_0_random_InvokeMethod(EOS(STATIC_10431(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6013sub)) -> f10433_0_random_InvokeMethod(EOS(STATIC_10433(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6013sub)) :|: TRUE 26.16/8.26 f10433_0_random_InvokeMethod(EOS(STATIC_10433(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6013sub)) -> f10437_0_length_Load(EOS(STATIC_10437(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6013sub)) :|: TRUE 26.16/8.26 f10437_0_length_Load(EOS(STATIC_10437(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6013sub)) -> f10442_0_length_FieldAccess(EOS(STATIC_10442(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(o6013sub)) :|: TRUE 26.16/8.26 f10442_0_length_FieldAccess(EOS(STATIC_10442(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(java.lang.String(EOC, i4500))) -> f10446_0_length_FieldAccess(EOS(STATIC_10446(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(java.lang.String(EOC, i4500))) :|: i4500 >= 0 26.16/8.26 f10446_0_length_FieldAccess(EOS(STATIC_10446(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(java.lang.String(EOC, i4500))) -> f10449_0_length_Return(EOS(STATIC_10449(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) :|: TRUE 26.16/8.26 f10449_0_length_Return(EOS(STATIC_10449(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) -> f10452_0_random_Return(EOS(STATIC_10452(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) :|: TRUE 26.16/8.26 f10452_0_random_Return(EOS(STATIC_10452(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) -> f10455_0_createMap_InvokeMethod(EOS(STATIC_10455(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) :|: TRUE 26.16/8.26 f10455_0_createMap_InvokeMethod(EOS(STATIC_10455(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) -> f10457_0__init__Load(EOS(STATIC_10457(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) :|: TRUE 26.16/8.26 f10457_0__init__Load(EOS(STATIC_10457(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) -> f10464_0__init__InvokeMethod(EOS(STATIC_10464(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10464_0__init__InvokeMethod(EOS(STATIC_10464(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500, java.lang.Object(javaUtilEx.Content(EOC))) -> f10467_0__init__Load(EOS(STATIC_10467(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) :|: TRUE 26.16/8.26 f10467_0__init__Load(EOS(STATIC_10467(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) -> f10471_0__init__Load(EOS(STATIC_10471(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500, java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10471_0__init__Load(EOS(STATIC_10471(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500, java.lang.Object(javaUtilEx.Content(EOC))) -> f10474_0__init__FieldAccess(EOS(STATIC_10474(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) :|: TRUE 26.16/8.26 f10474_0__init__FieldAccess(EOS(STATIC_10474(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), i4500) -> f10478_0__init__Return(EOS(STATIC_10478(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10478_0__init__Return(EOS(STATIC_10478(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10482_0_createMap_Store(EOS(STATIC_10482(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10482_0_createMap_Store(EOS(STATIC_10482(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10486_0_createMap_Load(EOS(STATIC_10486(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10486_0_createMap_Load(EOS(STATIC_10486(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10490_0_createMap_Load(EOS(STATIC_10490(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10490_0_createMap_Load(EOS(STATIC_10490(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10494_0_createMap_Load(EOS(STATIC_10494(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10494_0_createMap_Load(EOS(STATIC_10494(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC))) -> f10498_0_createMap_InvokeMethod(EOS(STATIC_10498(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10498_0_createMap_InvokeMethod(EOS(STATIC_10498(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10502_0_put_Load(EOS(STATIC_10502(java.lang.Object(ARRAY(i4275)), i4475)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: i4248 >= 1 && i4247 >= 1 && i4475 > 1 && i4248 >= i4247 26.16/8.26 f10498_0_createMap_InvokeMethod(EOS(STATIC_10498(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10502_1_put_Load(EOS(STATIC_10502(java.lang.Object(ARRAY(i4275)), i4475)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: i4248 >= 1 && i4247 >= 1 && i4475 > 1 && i4248 >= i4247 26.16/8.26 f10502_0_put_Load(EOS(STATIC_10502(java.lang.Object(ARRAY(i4275)), i4475)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f12151_0_put_Load(EOS(STATIC_12151(java.lang.Object(ARRAY(i4275)), i4475)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: TRUE 26.16/8.26 f10898_0_put_Return(EOS(STATIC_10898(java.lang.Object(ARRAY(i4929)), i4931)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10901_0_createMap_StackPop(EOS(STATIC_10901(java.lang.Object(ARRAY(i4929)), i4931)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10901_0_createMap_StackPop(EOS(STATIC_10901(java.lang.Object(ARRAY(i4929)), i4931)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10904_0_createMap_Inc(EOS(STATIC_10904(java.lang.Object(ARRAY(i4929)), i4931)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10904_0_createMap_Inc(EOS(STATIC_10904(java.lang.Object(ARRAY(i4929)), i4931)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10907_0_createMap_JMP(EOS(STATIC_10907(java.lang.Object(ARRAY(i4929)), i4931)), i4247 + -1, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10907_0_createMap_JMP(EOS(STATIC_10907(java.lang.Object(ARRAY(i4929)), i4931)), i4932, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10910_0_createMap_Load(EOS(STATIC_10910(java.lang.Object(ARRAY(i4929)), i4931)), i4932, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10910_0_createMap_Load(EOS(STATIC_10910(java.lang.Object(ARRAY(i4929)), i4931)), i4932, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10076_0_createMap_Load(EOS(STATIC_10076(java.lang.Object(ARRAY(i4929)), i4931)), i4932, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10076_0_createMap_Load(EOS(STATIC_10076(java.lang.Object(o5783sub), i4228)), i4230, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10079_0_createMap_LE(EOS(STATIC_10079(java.lang.Object(o5783sub), i4228)), i4230, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4230) :|: TRUE 26.16/8.26 f10954_0_put_Return(EOS(STATIC_10954(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), NULL) -> f10957_0_createMap_StackPop(EOS(STATIC_10957(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), NULL) :|: TRUE 26.16/8.26 f10957_0_createMap_StackPop(EOS(STATIC_10957(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), NULL) -> f10960_0_createMap_Inc(EOS(STATIC_10960(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10960_0_createMap_Inc(EOS(STATIC_10960(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) -> f10904_0_createMap_Inc(EOS(STATIC_10904(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f11394_0_put_Return(EOS(STATIC_11394(java.lang.Object(ARRAY(i5165)), i5167)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), NULL) -> f10954_0_put_Return(EOS(STATIC_10954(java.lang.Object(ARRAY(i5165)), i5167)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), NULL) :|: TRUE 26.16/8.26 f10502_1_put_Load(EOS(STATIC_10502(java.lang.Object(ARRAY(i4929)), i4931)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10898_0_put_Return(EOS(STATIC_10898(java.lang.Object(ARRAY(i4929)), i4931)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC)))) :|: TRUE 26.16/8.26 f10502_1_put_Load(EOS(STATIC_10502(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f10954_0_put_Return(EOS(STATIC_10954(java.lang.Object(ARRAY(i4964)), i4966)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), NULL) :|: TRUE 26.16/8.26 f10502_1_put_Load(EOS(STATIC_10502(java.lang.Object(ARRAY(i5165)), i5167)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) -> f11394_0_put_Return(EOS(STATIC_11394(java.lang.Object(ARRAY(i5165)), i5167)), i4247, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), NULL) :|: TRUE 26.16/8.26 Combined rules. Obtained 2 IRulesP rules: 26.16/8.26 f10079_0_createMap_LE(EOS(STATIC_10079(java.lang.Object(ARRAY(i4275:0)), i4228:0)), i4247:0, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4247:0) -> f10079_0_createMap_LE(EOS(STATIC_10079(java.lang.Object(ARRAY(i4275:0)), i4228:0 + 2)), i4247:0 - 1, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4247:0 - 1) :|: i4275:0 > i4228:0 + 1 && i4247:0 > 0 && i4275:0 > -1 && i4228:0 > -1 && i4306:0 > -1 && i4500:0 > -1 && i4248:0 > 0 && i4248:0 >= i4247:0 26.16/8.26 Removed following non-SCC rules: 26.16/8.26 f10079_0_createMap_LE(EOS(STATIC_10079(java.lang.Object(ARRAY(i4275:0)), i4228:0)), i4247:0, java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), i4247:0) -> f12151_0_put_Load(EOS(STATIC_12151(java.lang.Object(ARRAY(i4275:0)), i4228:0 + 2)), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.AbstractMap(javaUtilEx.HashMap(EOC))), java.lang.Object(javaUtilEx.Content(EOC)), java.lang.Object(javaUtilEx.Content(EOC))) :|: i4275:0 > i4228:0 + 1 && i4247:0 > 0 && i4275:0 > -1 && i4228:0 > -1 && i4306:0 > -1 && i4500:0 > -1 && i4248:0 > 0 && i4248:0 >= i4247:0 26.16/8.26 Filtered constant ground arguments: 26.16/8.26 f10079_0_createMap_LE(x1, x2, x3, x4) -> f10079_0_createMap_LE(x1, x2, x4) 26.16/8.26 javaUtilEx.AbstractMap(x1) -> javaUtilEx.AbstractMap 26.16/8.26 javaUtilEx.HashMap(x1) -> javaUtilEx.HashMap 26.16/8.26 Filtered duplicate arguments: 26.16/8.26 f10079_0_createMap_LE(x1, x2, x3) -> f10079_0_createMap_LE(x1, x3) 26.16/8.26 Finished conversion. Obtained 1 rules.P rules: 26.16/8.26 f10079_0_createMap_LE(i4247:0, i4275:0, i4228:0) -> f10079_0_createMap_LE(i4247:0 - 1, i4275:0, i4228:0 + 2) :|: i4247:0 > 0 && i4275:0 > i4228:0 + 1 && i4275:0 > -1 && i4228:0 > -1 && i4306:0 > -1 && i4500:0 > -1 && i4248:0 >= i4247:0 && i4248:0 > 0 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (60) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10079_0_createMap_LE(i4247:0, i4275:0, i4228:0) -> f10079_0_createMap_LE(i4247:0 - 1, i4275:0, i4228:0 + 2) :|: i4247:0 > 0 && i4275:0 > i4228:0 + 1 && i4275:0 > -1 && i4228:0 > -1 && i4306:0 > -1 && i4500:0 > -1 && i4248:0 >= i4247:0 && i4248:0 > 0 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (61) IRSFormatTransformerProof (EQUIVALENT) 26.16/8.26 Reformatted IRS to match normalized format (transformed away non-linear left-hand sides, !=, / and %). 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (62) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10079_0_createMap_LE(i4247:0, i4275:0, i4228:0) -> f10079_0_createMap_LE(arith, i4275:0, arith1) :|: i4247:0 > 0 && i4275:0 > i4228:0 + 1 && i4275:0 > -1 && i4228:0 > -1 && i4306:0 > -1 && i4500:0 > -1 && i4248:0 >= i4247:0 && i4248:0 > 0 && arith = i4247:0 - 1 && arith1 = i4228:0 + 2 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (63) IRSwTTerminationDigraphProof (EQUIVALENT) 26.16/8.26 Constructed termination digraph! 26.16/8.26 Nodes: 26.16/8.26 (1) f10079_0_createMap_LE(i4247:0, i4275:0, i4228:0) -> f10079_0_createMap_LE(arith, i4275:0, arith1) :|: i4247:0 > 0 && i4275:0 > i4228:0 + 1 && i4275:0 > -1 && i4228:0 > -1 && i4306:0 > -1 && i4500:0 > -1 && i4248:0 >= i4247:0 && i4248:0 > 0 && arith = i4247:0 - 1 && arith1 = i4228:0 + 2 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (64) 26.16/8.26 Obligation: 26.16/8.26 26.16/8.26 Termination digraph: 26.16/8.26 Nodes: 26.16/8.26 (1) f10079_0_createMap_LE(i4247:0, i4275:0, i4228:0) -> f10079_0_createMap_LE(arith, i4275:0, arith1) :|: i4247:0 > 0 && i4275:0 > i4228:0 + 1 && i4275:0 > -1 && i4228:0 > -1 && i4306:0 > -1 && i4500:0 > -1 && i4248:0 >= i4247:0 && i4248:0 > 0 && arith = i4247:0 - 1 && arith1 = i4228:0 + 2 26.16/8.26 26.16/8.26 Arcs: 26.16/8.26 (1) -> (1) 26.16/8.26 26.16/8.26 This digraph is fully evaluated! 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (65) IntTRSCompressionProof (EQUIVALENT) 26.16/8.26 Compressed rules. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (66) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10079_0_createMap_LE(i4247:0:0, i4275:0:0, i4228:0:0) -> f10079_0_createMap_LE(i4247:0:0 - 1, i4275:0:0, i4228:0:0 + 2) :|: i4248:0:0 >= i4247:0:0 && i4248:0:0 > 0 && i4500:0:0 > -1 && i4306:0:0 > -1 && i4228:0:0 > -1 && i4275:0:0 > -1 && i4275:0:0 > i4228:0:0 + 1 && i4247:0:0 > 0 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (67) TempFilterProof (SOUND) 26.16/8.26 Used the following sort dictionary for filtering: 26.16/8.26 f10079_0_createMap_LE(INTEGER, INTEGER, INTEGER) 26.16/8.26 Replaced non-predefined constructor symbols by 0. 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (68) 26.16/8.26 Obligation: 26.16/8.26 Rules: 26.16/8.26 f10079_0_createMap_LE(i4247:0:0, i4275:0:0, i4228:0:0) -> f10079_0_createMap_LE(c, i4275:0:0, c1) :|: c1 = i4228:0:0 + 2 && c = i4247:0:0 - 1 && (i4248:0:0 >= i4247:0:0 && i4248:0:0 > 0 && i4500:0:0 > -1 && i4306:0:0 > -1 && i4228:0:0 > -1 && i4275:0:0 > -1 && i4275:0:0 > i4228:0:0 + 1 && i4247:0:0 > 0) 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (69) PolynomialOrderProcessor (EQUIVALENT) 26.16/8.26 Found the following polynomial interpretation: 26.16/8.26 [f10079_0_createMap_LE(x, x1, x2)] = x 26.16/8.26 26.16/8.26 The following rules are decreasing: 26.16/8.26 f10079_0_createMap_LE(i4247:0:0, i4275:0:0, i4228:0:0) -> f10079_0_createMap_LE(c, i4275:0:0, c1) :|: c1 = i4228:0:0 + 2 && c = i4247:0:0 - 1 && (i4248:0:0 >= i4247:0:0 && i4248:0:0 > 0 && i4500:0:0 > -1 && i4306:0:0 > -1 && i4228:0:0 > -1 && i4275:0:0 > -1 && i4275:0:0 > i4228:0:0 + 1 && i4247:0:0 > 0) 26.16/8.26 The following rules are bounded: 26.16/8.26 f10079_0_createMap_LE(i4247:0:0, i4275:0:0, i4228:0:0) -> f10079_0_createMap_LE(c, i4275:0:0, c1) :|: c1 = i4228:0:0 + 2 && c = i4247:0:0 - 1 && (i4248:0:0 >= i4247:0:0 && i4248:0:0 > 0 && i4500:0:0 > -1 && i4306:0:0 > -1 && i4228:0:0 > -1 && i4275:0:0 > -1 && i4275:0:0 > i4228:0:0 + 1 && i4247:0:0 > 0) 26.16/8.26 26.16/8.26 ---------------------------------------- 26.16/8.26 26.16/8.26 (70) 26.16/8.26 YES 26.39/8.31 EOF