Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for Country (0.17 sec)

  1. guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, String>> samples() {
          return new SampleElements<>(
              Maps.immutableEntry(Country.CANADA, "DOLLAR"),
              Maps.immutableEntry(Country.CHILE, "PESO"),
              Maps.immutableEntry(Country.UK, "POUND"),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  2. schema/relationship_test.go

    					References: []Reference{
    						{PrimaryKey: "ID", PrimarySchema: "Country", ForeignKey: "CountryID", ForeignSchema: "Org"},
    					},
    				},
    			},
    		},
    		"NestedAddress": {
    			Relations: map[string]Relation{
    				"Country": {
    					Name: "Country", Type: schema.BelongsTo, Schema: "Org", FieldSchema: "Country",
    					References: []Reference{
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  3. tests/preload_test.go

    	}
    
    	DB.Migrator().DropTable(&Org{}, &EmbeddedAddress{}, &Country{})
    	DB.AutoMigrate(&Org{}, &EmbeddedAddress{}, &Country{})
    
    	org := Org{
    		PostalAddress:   EmbeddedAddress{Name: "a1", Country: &Country{Name: "c1"}},
    		VisitingAddress: EmbeddedAddress{Name: "a2", Country: &Country{Name: "c2"}},
    		Address:         &EmbeddedAddress{Name: "a3", Country: &Country{Name: "c3"}},
    		NestedAddress: NestedAddress{
    Go
    - Registered: Sun Apr 21 09:35:09 GMT 2024
    - Last Modified: Mon Apr 15 03:20:20 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        Map<Currency, Country> map =
            ImmutableMap.of(
                Currency.DOLLAR, Country.CANADA,
                Currency.PESO, Country.CHILE,
                Currency.FRANC, Country.SWITZERLAND);
        EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map);
        assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR));
        assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA));
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/EnumHashBiMapTest.java

            result.put(entry.getKey(), entry.getValue());
          }
          return result;
        }
    
        @Override
        public SampleElements<Entry<Country, String>> samples() {
          return new SampleElements<>(
              Maps.immutableEntry(Country.CANADA, "DOLLAR"),
              Maps.immutableEntry(Country.CHILE, "PESO"),
              Maps.immutableEntry(Country.UK, "POUND"),
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Enums.java

       * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing
       * user input or falling back to a default enum constant. For example, {@code
       * Enums.getIfPresent(Country.class, countryInput).or(Country.DEFAULT);}
       *
       * @since 12.0
       */
      public static <T extends Enum<T>> Optional<T> getIfPresent(Class<T> enumClass, String value) {
        checkNotNull(enumClass);
        checkNotNull(value);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/misc/LocaleUtil.java

                    locale = new Locale(localeStr);
                } else {
                    final String language = localeStr.substring(0, index);
                    final String country = localeStr.substring(index + 1);
                    locale = new Locale(language, country);
                }
            }
            return locale;
        }
    
        private static Supplier<Locale> defaultLocaleSupplier;
    
        public static Locale getDefault() {
    Java
    - Registered: Fri Apr 19 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/ImmutableGraph.java

       * A builder for creating {@link ImmutableGraph} instances, especially {@code static final}
       * graphs. Example:
       *
       * <pre>{@code
       * static final ImmutableGraph<Country> COUNTRY_ADJACENCY_GRAPH =
       *     GraphBuilder.undirected()
       *         .<Country>immutable()
       *         .putEdge(FRANCE, GERMANY)
       *         .putEdge(FRANCE, BELGIUM)
       *         .putEdge(GERMANY, BELGIUM)
       *         .addNode(ICELAND)
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 7.1K bytes
    - Viewed (0)
  10. build-logic/cleanup/src/test/groovy/gradlebuild/cleanup/services/LeakingProcessKillPatternTest.groovy

        }
    
        def "matches daemon process started by performance test on Windows"() {
    Groovy
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Sep 28 07:00:39 GMT 2023
    - 14.4K bytes
    - Viewed (0)
Back to top