Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hereHaveAString (0.21 sec)

  1. guava-tests/test/com/google/common/eventbus/StringCatcher.java

     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    public class StringCatcher {
      private List<String> events = Lists.newArrayList();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed May 16 22:49:59 GMT 2018
    - 1.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/StringCatcher.java

     * to call ({@link #methodWithoutAnnotation(String)}).
     *
     * @author Cliff Biffle
     */
    public class StringCatcher {
      private List<String> events = Lists.newArrayList();
    
      @Subscribe
      public void hereHaveAString(@Nullable String string) {
        events.add(string);
      }
    
      public void methodWithoutAnnotation(@Nullable String string) {
        Assert.fail("Event bus must not call methods without @Subscribe!");
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 06 12:56:11 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top