Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for exists (0.2 sec)

  1. guava/src/com/google/common/base/Enums.java

          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
       * 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);}
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Enums.java

          throw new AssertionError(impossible);
        }
      }
    
      /**
       * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the
       * 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);}
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri May 26 11:56:44 GMT 2023
    - 5K bytes
    - Viewed (0)
Back to top