Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for AnotherMethod (0.63 sec)

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

            tester.addEqualityGroup(param);
          }
        }
        tester.testEquals();
      }
    
      @SuppressWarnings("unused")
      private void someMethod(int i, int j) {}
    
      @SuppressWarnings("unused")
      private void anotherMethod(int i, String s) {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ParameterTest.java

            tester.addEqualityGroup(param);
          }
        }
        tester.testEquals();
      }
    
      @SuppressWarnings("unused")
      private void someMethod(int i, int j) {}
    
      @SuppressWarnings("unused")
      private void anotherMethod(int i, String s) {}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 06 02:06:03 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/project/taskfactory/AnnotationProcessingTasks.java

                super(action);
            }
    
            @TaskAction
            public void aMethod() {
                action.run();
            }
    
            @TaskAction
            public void anotherMethod() {
                action.run();
            }
        }
    
        public static class TaskWithAction extends DefaultTask {
            @TaskAction
            public void doStuff() {}
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 12 11:41:48 UTC 2022
    - 15.8K bytes
    - Viewed (0)
  4. src/internal/reflectlite/all_test.go

    	var pi *int
    	if pv := ValueOf(pi); pv.Elem().IsValid() {
    		t.Error("ValueOf((*int)(nil)).Elem().IsValid()")
    	}
    }
    
    type Point struct {
    	x, y int
    }
    
    // This will be index 0.
    func (p Point) AnotherMethod(scale int) int {
    	return -1
    }
    
    // This will be index 1.
    func (p Point) Dist(scale int) int {
    	//println("Point.Dist", p.x, p.y, scale)
    	return p.x*p.x*scale + p.y*p.y*scale
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 19:26:08 UTC 2023
    - 24.2K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    			return []Value{ValueOf(U{a: 1, b: 2, c: 3})}
    		}).Interface().(func() T)
    		f()
    	})
    }
    
    type Point struct {
    	x, y int
    }
    
    // This will be index 0.
    func (p Point) AnotherMethod(scale int) int {
    	return -1
    }
    
    // This will be index 1.
    func (p Point) Dist(scale int) int {
    	//println("Point.Dist", p.x, p.y, scale)
    	return p.x*p.x*scale + p.y*p.y*scale
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top