A method is code that performs a task and is associated with a class or an object.

learn more… | top users | synonyms (1)

0
votes
3answers
29 views

Method to execute commands

I have a about 100 calls of external methods within my own code. Now I try to perform another command before each of this methods and after it. Is there a way to define a method with an argument ...
1
vote
3answers
65 views

C#, making public members their methods private

I the following class: public class Humptydump { public Humptydump() { } public Rectangle Rectangle { public get; private set; } } in this class the Rectangle ...
3
votes
2answers
83 views

Find all calls to method in java classes

I've a huge project with many classes. I've a very specific class; let's name it SuperFoo. I need to find all calls to the method equals() with argument of type Superfoo. Hope it's clear. So, one ...
0
votes
1answer
30 views

mootools setProperty method does not work on iphone, ipad

I want to change anchor tag's href property using mootools setProperty method It does work in all browser including chrome and safari but not working on iphone, ipad and android mobile. e.g. ...
0
votes
0answers
14 views

ASM 4.0, renaming Methods in ClassNode

Alright, so. I'm trying to rename methods in a ClassNode in ASM 4.0. This is my renaming class: public class RenameVisitor extends ClassVisitor { private String newName,oldName; public ...
-4
votes
2answers
68 views

What are “Multi Return” functions? [closed]

An example is this: void DLL_EXPORT MyDLLFunction(); What is the secondary returnish like thing (in this case "DLL_EXPORT")?
1
vote
4answers
78 views

C# list of interface objects - casting single elements

I have a C# problem that has been bothering me for the past couple of days. I'll try to explain it based on an abstract description of what I am doing. Hope it is easy to follow. ;) Let's say we have ...
1
vote
2answers
64 views

C++ non class scope replacement for this.x = x;

In C++ I can do this in classes: class MyClass { public: int number; void SetNumber(int number); }; void MyClass::SetNumber(int number) { this->number = number; } But ...
-2
votes
3answers
65 views

How to use methods from another class in switch?

I have a little problem. How can I call methods from class Person to the Switch-case in class Menu. No matter what I do. I appreciate your help. CLASS MENU static class Menu { public static ...
0
votes
0answers
12 views

Calling Javascript function from a website in my Google Script Code

I am trying to create this google script code that'll help me acquiring some information, however, when I'm fetching the web pages I want, it fails because of the Authentication. The website itself ...
0
votes
2answers
38 views

Vba Access error: Method or data member not found

I have been trying to open a contracts form from contracts_all page. I want to open all the records on the contracts_all form but only show the specific one clicked on. To show this one particular ...
1
vote
2answers
27 views

Android Traceview - It holds the Answers to my Unresponsive App… I think

Yesterday, I spent 12 hours becoming a student of Traceview. I didn't even know it existed (hangs head in shame) previous to this. Now that I've overcome the absolute shock of the data it produces, I ...
2
votes
2answers
124 views

Refactor safe way to retrieve a method name

I know a refactor safe way to get the name of a property with this answer. Is there a refactor safe way to get the name of a method? I am using C# 5 and .Net 4.5. To illustrate what I'm trying to ...
0
votes
6answers
85 views

Moving inline methods from a header file to a .cpp files

I have the following class defined in a foo.h header file class Foo { public: inline int Method(); }; inline int Foo::Method() { // Implementation } I would like now to move the ...
1
vote
4answers
87 views

How can I check to see if a pair of words are only 1 letter different?

In writing a method to compare 2 words, how can I check to see if the words are only 1 letter different? I'm assuming words are same length and order of letters doesnt matter (see "cobra","bravo"). ...

1 2 3 4 5 498
15 30 50 per page