HomeSort by relevance Sort by last modified time
    Searched refs:strRef (Results 1 - 2 of 2) sorted by null

  /art/test/003-omnibus-opcodes/src/
InternedString.java 31 WeakReference<String> strRef = new WeakReference<String>(s.intern());
32 return strRef;
36 WeakReference<String> strRef = makeWeakString();
39 Main.assertTrue(strRef.get() == null);
43 WeakReference strRef = new WeakReference<String>(CONST.intern());
49 Main.assertTrue(strRef.get() != null);
53 strRef = new WeakReference<String>(s.intern());
57 Main.assertTrue(strRef.get() == CONST);
  /dalvik/tests/003-omnibus-opcodes/src/
InternedString.java 31 WeakReference strRef = new WeakReference<String>(s.intern());
36 assert(strRef.get() == null);
40 WeakReference strRef = new WeakReference<String>(CONST.intern());
46 assert(strRef.get() != null);
50 strRef = new WeakReference<String>(s.intern());
54 assert(strRef.get() == CONST);

Completed in 1638 milliseconds