Wednesday, May 31, 2017

DO YOU WANT A BET I HACK THE IRS DB AND CALL THEM MORONS PUBLICLY AGAIN? :)

The API doesn't let you grab something by its hash code. So you could do:
MyObject findIfPresent(MyObject source, HashSet<MyObject> set)
{
   if (set.contains(source)) {
      for (MyObject obj : set) {
        if (obj.equals(source)) 
          return obj;
      } 
   }

  return null;
}
Brute force and O(n) ugly, but if that's what you need to do...

No comments:

Simplefying Energy Blackouts transmission tower open air wire roll copper in wire place headphones turn to acustic amplifier noise sound

  https://www.homesound.pt/artigos-det.asp?vIdArtigo=3913&srsltid=AfmBOopQN16QYm8mZqyuYB7pg55_7NRwWXgoLQlKTPA2mbo5fCiZJUIm4Ms&gQT=1