Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for identifier (0.22 sec)

  1. android/guava/src/com/google/common/eventbus/AsyncEventBus.java

       * identifier} as the bus's name for logging purposes.
       *
       * @param identifier short name for the bus, for logging purposes.
       * @param executor Executor to use to dispatch events. It is the caller's responsibility to shut
       *     down the executor after the last event has been posted to this event bus.
       */
      public AsyncEventBus(String identifier, Executor executor) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 2.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/EventBusTest.java

     */
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
      private EventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
      public void testBasicCatcherDistribution() {
        StringCatcher catcher = new StringCatcher();
        bus.register(catcher);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

     */
    public class EventBusTest extends TestCase {
      private static final String EVENT = "Hello";
      private static final String BUS_IDENTIFIER = "test-bus";
    
      private EventBus bus;
    
      @Override
      protected void setUp() throws Exception {
        super.setUp();
        bus = new EventBus(BUS_IDENTIFIER);
      }
    
      public void testBasicCatcherDistribution() {
        StringCatcher catcher = new StringCatcher();
        bus.register(catcher);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/eventbus/EventBus.java

      public EventBus() {
        this("default");
      }
    
      /**
       * Creates a new EventBus with the given {@code identifier}.
       *
       * @param identifier a brief name for this bus, for logging purposes. Should be a valid Java
       *     identifier.
       */
      public EventBus(String identifier) {
        this(
            identifier,
            MoreExecutors.directExecutor(),
            Dispatcher.perThreadDispatchQueue(),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Aug 25 16:37:57 GMT 2021
    - 12.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/net/MediaType.java

        return mediaType;
      }
    
      /*
       * The following constants are grouped by their type and ordered alphabetically by the constant
       * name within that type. The constant name should be a sensible identifier that is closest to the
       * "common name" of the media. This is often, but not necessarily the same as the subtype.
       *
       * Be sure to declare all constants with the type and subtype in all lowercase. For types that
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Aug 07 16:17:10 GMT 2023
    - 46.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Charsets.java

       */
      @J2ktIncompatible
      @GwtIncompatible // Charset not supported by GWT
      public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
    
      /**
       * UTF-16: sixteen-bit UCS Transformation Format, byte order identified by an optional byte-order
       * mark.
       *
       * <p><b>Java 7+ users:</b> this constant should be treated as deprecated; use {@link
       * java.nio.charset.StandardCharsets#UTF_16} instead.
       *
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       * set a value to {@code null} will result in a {@link NullPointerException}.
       *
       * <p>The returned list maintains the values, but not the identities, of {@code Short} objects
       * written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for
       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 25.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/Longs.java

       * set a value to {@code null} will result in a {@link NullPointerException}.
       *
       * <p>The returned list maintains the values, but not the identities, of {@code Long} objects
       * written to or read from it. For example, whether {@code list.get(0) == list.get(0)} is true for
       * the returned list is unspecified.
       *
       * <p>The returned list is serializable.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 28.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

       * of wrapped collections: full and subcollections. Both have a delegate pointing to the
       * underlying collection class.
       *
       * <p>Full collections, identified by a null ancestor field, contain all multimap values for a
       * given key. Its delegate is a value in {@link AbstractMapBasedMultimap#map} whenever the
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 48K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/net/InetAddresses.java

        if (isTeredoAddress(ip)) {
          return false;
        }
    
        byte[] bytes = ip.getAddress();
    
        if ((bytes[8] | (byte) 0x03) != (byte) 0x03) {
    
          // Verify that high byte of the 64 bit identifier is zero, modulo
          // the U/L and G bits, with which we are not concerned.
          return false;
        }
    
        return (bytes[9] == (byte) 0x00) && (bytes[10] == (byte) 0x5e) && (bytes[11] == (byte) 0xfe);
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 44K bytes
    - Viewed (1)
Back to top