Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 340 for enums (0.01 sec)

  1. android/guava/src/com/google/common/hash/Funnels.java

      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
        public void funnel(byte[] from, PrimitiveSink into) {
          into.putBytes(from);
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/Funnels.java

      private Funnels() {}
    
      /** Returns a funnel that extracts the bytes from a {@code byte} array. */
      public static Funnel<byte[]> byteArrayFunnel() {
        return ByteArrayFunnel.INSTANCE;
      }
    
      private enum ByteArrayFunnel implements Funnel<byte[]> {
        INSTANCE;
    
        @Override
        public void funnel(byte[] from, PrimitiveSink into) {
          into.putBytes(from);
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java

       * we're not calling it from JavaScript, we suppress the warning.
       */
      @JsMethod
      @SuppressWarnings("unusable-by-js")
      private static native <E extends Enum<E>> @Nullable Class<E> getDeclaringClassOrNullForJ2cl(
          E e) /*-{
        return ******@****.***.Enum::getDeclaringClass()();
      }-*/;
    
      static int reduceIterationsIfGwt(int iterations) {
        return iterations / 10;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jun 10 15:17:16 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixType.java

     * com.google.common.net.InternetDomainName}.</b>
     *
     * <p>Specifies the type of a top-level domain definition.
     *
     * @since 23.3
     */
    @Beta
    @GwtCompatible
    public enum PublicSuffixType {
    
      /** Public suffix that is provided by a private company, e.g. "blogspot.com" */
      PRIVATE(':', ','),
      /** Public suffix that is backed by an ICANN-style domain name registry */
      REGISTRY('!', '?');
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 2K bytes
    - Viewed (0)
  5. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumMap.java

    import static com.google.common.base.Preconditions.checkNotNull;
    
    import java.util.Map;
    import java.util.Map.Entry;
    
    /**
     * GWT emulation of {@link ImmutableEnumMap}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumMap<K, V> extends ForwardingImmutableMap<K, V> {
      static <K, V> ImmutableMap<K, V> asImmutable(Map<K, V> map) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

     * @author Jared Levy
     */
    @J2ktIncompatible // EnumBimap
    @GwtCompatible
    @NullMarked
    public class EnumBiMapTest extends TestCase {
      private enum Currency {
        DOLLAR,
        FRANC,
        PESO,
        POUND,
        YEN
      }
    
      private enum Country {
        CANADA,
        CHILE,
        JAPAN,
        SWITZERLAND,
        UK
      }
    
      @AndroidIncompatible // test-suite builders
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/multichannel/ChannelState.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.multichannel;
    
    /**
     * SMB3 Multi-Channel connection states
     */
    public enum ChannelState {
        /**
         * Channel is not connected
         */
        DISCONNECTED(0),
    
        /**
         * Connection establishment in progress
         */
        CONNECTING(1),
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleType.java

     * Lesser General Public License for more details.
     */
    package jcifs.internal.smb2.persistent;
    
    /**
     * Enumeration of SMB2/3 handle types supporting durability and persistence.
     */
    public enum HandleType {
        /**
         * No durability - standard handle
         */
        NONE(0),
    
        /**
         * SMB 2.1 durable handle - survives network loss
         */
        DURABLE_V1(1),
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetFeature.java

    /**
     * Optional features of classes derived from {@link Multiset}.
     *
     * @author Louis Wasserman
     */
    @SuppressWarnings("rawtypes") // maybe avoidable if we rework the whole package?
    @GwtCompatible
    public enum MultisetFeature implements Feature<Multiset> {
      /**
       * Indicates that elements from {@code Multiset.entrySet()} update to reflect changes in the
       * backing multiset.
       */
      ENTRIES_ARE_VIEWS;
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/IteratorFeature.java

    import java.util.ListIterator;
    import java.util.Set;
    
    /**
     * A method supported by implementations of the {@link Iterator} or {@link ListIterator} interface.
     *
     * <p>This enum is GWT compatible.
     *
     * @author Chris Povirk
     */
    @GwtCompatible
    public enum IteratorFeature {
      /** Support for {@link Iterator#remove()}. */
      SUPPORTS_REMOVE,
      /**
       * Support for {@link ListIterator#add(Object)}; ignored for plain {@link Iterator}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Oct 03 18:22:43 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top