{"id":970,"date":"2012-10-11T11:19:35","date_gmt":"2012-10-11T09:19:35","guid":{"rendered":"http:\/\/hasselba.ch\/blog\/?p=970"},"modified":"2012-10-11T12:38:18","modified_gmt":"2012-10-11T10:38:18","slug":"quick-n-dirty-a-simple-isrecycled-method-2","status":"publish","type":"post","link":"https:\/\/hasselba.ch\/blog\/?p=970","title":{"rendered":"Quick-n-Dirty: A simple isRecycled() method (2)"},"content":{"rendered":"<p><a title=\"DontPanic - a blog about Lotus Notes \/ Domino \" href=\"http:\/\/dontpanic82.blogspot.com\/\" target=\"_blank\">Tommy Valand<\/a> improved <a title=\"Quick-n-Dirty: A simple isRecycled() method\" href=\"https:\/\/hasselba.ch\/blog\/?p=963\">the idea<\/a>: In his solution the\u00a0<em>isDead<\/em> method of the <em>NotesBase<\/em> class is accessed, and this works better, because the method addionally checks for the C object handle.<\/p>\n<p>Here you can find the method: <a title=\"stackoverflow.com: Test if a view has been recycled\" href=\"http:\/\/stackoverflow.com\/questions\/12740889\/what-is-the-least-expensive-way-to-test-if-a-view-has-been-recycled\" target=\"_blank\">http:\/\/stackoverflow.com\/questions\/12740889\/what-is-the-least-expensive-way-to-test-if-a-view-has-been-recycled<\/a><\/p>\n<p><strong>Update:<\/strong><\/p>\n<p>If you have problems with the java security manager, please add the following to the the <em>java.policy<\/em> file:<\/p>\n<pre>grant {\r\n\u00a0\u00a0 \u00a0permission java.lang.reflect.ReflectPermission \"suppressAccessChecks\";\r\n};<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Tommy Valand improved the idea: In his solution the\u00a0isDead method of the NotesBase class is accessed, and this works better, because the method addionally checks for the C object handle. Here you can find the method: http:\/\/stackoverflow.com\/questions\/12740889\/what-is-the-least-expensive-way-to-test-if-a-view-has-been-recycled Update: If you &hellip; <a href=\"https:\/\/hasselba.ch\/blog\/?p=970\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89,76],"tags":[7,31,5,32],"class_list":["post-970","post","type-post","status-publish","format-standard","hentry","category-java","category-ssjs","tag-domino","tag-java","tag-ssjs","tag-tipp"],"_links":{"self":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/970","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=970"}],"version-history":[{"count":4,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/970\/revisions"}],"predecessor-version":[{"id":974,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/970\/revisions\/974"}],"wp:attachment":[{"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=970"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=970"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasselba.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}