Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Visit (0.2 sec)

  1. android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

          void visitParameterizedType(ParameterizedType t) {
            visit(t.getActualTypeArguments());
          }
    
          @Override
          void visitTypeVariable(TypeVariable<?> t) {
            visit(t.getBounds());
          }
        }.visit(type);
      }
    
      private static void assertVisited(Type type) {
        TypeVisitor visitor = new BaseTypeVisitor();
        try {
          visitor.visit(type);
          fail("Type not visited");
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/TypeVisitorTest.java

          void visitParameterizedType(ParameterizedType t) {
            visit(t.getActualTypeArguments());
          }
    
          @Override
          void visitTypeVariable(TypeVariable<?> t) {
            visit(t.getBounds());
          }
        }.visit(type);
      }
    
      private static void assertVisited(Type type) {
        TypeVisitor visitor = new BaseTypeVisitor();
        try {
          visitor.visit(type);
          fail("Type not visited");
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 3.7K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

     *
     * @author Kevin Bourrillion
     */
    public class SetContainsBenchmark {
      // Start at 4.88 then multiply by 2*2^phi <evil cackle> - The goal is be uniform
      // yet visit a variety of "values-relative-to-the-next-power-of-2"
      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
      // TODO(kevinb): look at exact (==) hits vs. equals() hits?
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

     *
     * @author Kevin Bourrillion
     */
    public class SetContainsBenchmark {
      // Start at 4.88 then multiply by 2*2^phi <evil cackle> - The goal is be uniform
      // yet visit a variety of "values-relative-to-the-next-power-of-2"
      @Param({"5", "30", "180", "1100", "6900", "43000", "260000"}) // "1600000", "9800000"
      private int size;
    
      // TODO(kevinb): look at exact (==) hits vs. equals() hits?
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeVisitor.java

     * new TypeVisitor() {
     *   protected void visitParameterizedType(ParameterizedType t) {
     *     visit(t.getOwnerType());
     *     visit(t.getActualTypeArguments());
     *   }
     *   protected void visitGenericArrayType(GenericArrayType t) {
     *     visit(t.getGenericComponentType());
     *   }
     *   protected void visitTypeVariable(TypeVariable<?> t) {
     *     throw new IllegalArgumentException("Cannot contain type variable.");
     *   }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Apr 16 21:10:04 GMT 2021
    - 3.7K bytes
    - Viewed (0)
Back to top