Orclgoogcode
Orclgoogcode
Exhibit J
Case3:10-cv-03561-WHA Document36-10 Filed10/27/10 Page2 of 7
Comparison of Java (J2SE 1.5) and Android versions of PolicyNodeImpl.java
private static final String ANY_POLICY = "2.5.29.32.0"; private static final String ANY_POLICY = "2.5.29.32.0";
private PolicyNodeImpl mParent; private PolicyNodeImpl mParent;
private HashSet mChildren; private HashSet mChildren;
private String mValidPolicy; private String mValidPolicy;
private HashSet mQualifierSet; private HashSet mQualifierSet;
private boolean mCriticalityIndicator; private boolean mCriticalityIndicator;
private HashSet mExpectedPolicySet; private HashSet mExpectedPolicySet;
private boolean mOriginalExpectedPolicySet; private boolean mOriginalExpectedPolicySet;
private int mDepth; private int mDepth;
private boolean isImmutable = false; private boolean isImmutable;
pa-1425347
Case3:10-cv-03561-WHA Document36-10 Filed10/27/10 Page3 of 7
Comparison of Java (J2SE 1.5) and Android versions of PolicyNodeImpl.java
pa-1425347
Case3:10-cv-03561-WHA Document36-10 Filed10/27/10 Page4 of 7
Comparison of Java (J2SE 1.5) and Android versions of PolicyNodeImpl.java
pa-1425347
Case3:10-cv-03561-WHA Document36-10 Filed10/27/10 Page5 of 7
Comparison of Java (J2SE 1.5) and Android versions of PolicyNodeImpl.java
private void getPolicyNodes(int depth, Set set) { private void getPolicyNodes(int i, Set set) {
if (mDepth == depth) { if(mDepth == i) {
set.add(this); set.add(this);
} else { } else {
Iterator it = mChildren.iterator(); PolicyNodeImpl policynodeimpl;
while (it.hasNext()) { for(Iterator iterator = mChildren.iterator();
PolicyNodeImpl node = (PolicyNodeImpl) it.next(); iterator.hasNext(); policynodeimpl.getPolicyNodes(i, set))
node.getPolicyNodes(depth, set); policynodeimpl = (PolicyNodeImpl)iterator.next();
} }
} }
}
pa-1425347
Case3:10-cv-03561-WHA Document36-10 Filed10/27/10 Page6 of 7
Comparison of Java (J2SE 1.5) and Android versions of PolicyNodeImpl.java
pa-1425347
Case3:10-cv-03561-WHA Document36-10 Filed10/27/10 Page7 of 7
Comparison of Java (J2SE 1.5) and Android versions of PolicyNodeImpl.java
pa-1425347