Code example for ObjectInput

Methods: readObject

0
         output.writeObject(object.filter);
      } 
 
      @Override 
      public KeyFilterAsCacheEventFilter readObject(ObjectInput input) throws IOException, ClassNotFoundException {
         return new KeyFilterAsCacheEventFilter((KeyFilter)input.readObject());
      } 
 
      @Override 
      public Integer getId() {
         return Ids.KEY_FILTER_AS_CACHE_EVENT_FILTER; 
      } 
   } 
} 
Experience pair programming with AI  Get Codota for Java