Share on Facebook Share on Twitter Email
Answers.com

method

 
Dictionary: meth·od   (mĕth'əd) pronunciation

n.
  1. A means or manner of procedure, especially a regular and systematic way of accomplishing something: a simple method for making a pie crust; mediation as a method of solving disputes. See Usage Note at methodology.
  2. Orderly arrangement of parts or steps to accomplish an end: random efforts that lack method.
  3. The procedures and techniques characteristic of a particular discipline or field of knowledge: This field course gives an overview of archaeological method.
  4. Method A technique of acting in which the actor recalls emotions and reactions from past experience and uses them in identifying with and individualizing the character being portrayed.

[Middle English, medical procedure, from Latin methodus, method, from Greek methodos, pursuit, method : meta-, beyond, after; see meta- + hodos, way, journey.]

SYNONYMS   method, system, routine, manner, mode, fashion, way. These nouns refer to the plans or procedures followed to accomplish a task or attain a goal. Method implies a detailed, logically ordered plan: "I do not know of a better method for choosing a presidential nominee" (Harry S. Truman). System suggests order, regularity, and coordination of methods: "Of generalship, of strategic system . . . there was little or none" (John Morely). A routine is a habitual, often tiresome method: "The common business of the nation . . . is carried on in a constant routine by the clerks of the different offices" (Tobias Smollett). Manner and fashion emphasize personal or distinctive behavior: a clearly articulated manner of speaking; issuing orders in an arbitrary and abrasive fashion. Mode often denotes a manner influenced by or arising from tradition or custom: a nomadic mode of life. Way is the least specific of these terms: "It is absurd to think that the only way to tell if a poem is lasting is to wait and see if it lasts" (Robert Frost).


Search unanswered questions...
Enter a question here...
Search: All sources Community Q&A Reference topics
Thesaurus: method
Top

noun

  1. The approach used to do something: fashion, manner, mode, modus operandi, style, system, way, wise2. See means.
  2. Systematic arrangement and design: order, orderliness, organization, pattern, plan, system, systematization, systemization. See order/disorder.

Antonyms: method
Top

n

Definition: order
Antonyms: chaos, disorder


Dental Dictionary: method
Top

n

A manner of performing an act or operation; a technique.

Since philosophy is largely the activity of reflecting on modes of thought, it is not surprising that its own methods are subject to its scrutiny. While different schools have frequently made claims for the one correct approach to philosophical problems, the march of history has not seen any consensus emerge. The early 20th century was dominated by philosophical attention to the nature of language, issuing in the two schools of analytical philosophy and phenomenology. Logical positivism and later linguistic philosophy were successors of the former, whilst a more historical approach to the nature of conceptual schemes is one of the legacies of the latter. Currently there is reasonable enthusiasm for a ‘naturalism’ that sees the activity of philosophy as continuous with that of science, differing mainly in the abstract nature of its problems and subject-matter: see naturalized epistemology. However critics doubt whether there is very much resembling science in the work of thinkers who enjoy this self-image, which can therefore seem more to be a piece of self-deception or science-envy. There is a natural temptation for philosophers to model themselves on the best accepted paradigms of successful disciplines of the time, be they mathematics, theology, history, linguistics, physics, or neuroscience.

Procedure for carrying out a particular task, e.g. investigating a hypothesis.

  • agreement m. — when a particular factor is common to all occurrences of the disease, it may be that the common factor is the cause of the disease.
  • analogy m. — when the circumstances of occurrence in one disease are similar to those in which another disease occurs, the diseases may come about in the same way even though the causes are different.
  • concomitant variation m. — when variation in the frequency of the disease is mirrored by a similar variation in the strength of a particular agent which may be the cause.
  • difference m. — when there are wide differences in the rate of occurrence of a disease and a high frequency is accompanied by the presence of the suspected cause and a low frequency by its absence.
  • nearest neighbor m. — a method for establishing the population density of a particular species of animal or plant. One of the units is identified and the distance to its nearest neighbor of the same species measured. The number of units of that species in an area can then be established, the accuracy increasing with the number of measurements made.
Word Tutor: method
Top
pronunciation

IN BRIEF: A way of completing a task, especially a systematic way.

pronunciation Almost all men are intelligent. It is method that they lack. — F. W. Nichol

Quotes About: Methods
Top

Quotes:

"The best theology would need no advocates; it would prove itself." - Karl Barth

"Anything that can be done chemically can be done by other means." - William S. Burroughs

"When I examine myself and my methods of thought, I come to the conclusion that the gift of fantasy has meant more to me than my talent for absorbing positive knowledge." - Albert Einstein

"There is no method but to be very intelligent." - T. S. Eliot

"There is a point at which methods devour themselves." - Frantz Fanon

"A tree growing out of the ground is as wonderful today as it ever was. It does not need to adopt new and startling methods." - Robert Henri

See more famous quotes about Methods

Wikipedia: Method (computer science)
Top

In object-oriented programming, a method is a subroutine that is exclusively associated either with a class (in which case it is called a class method or a static method) or with an object (in which case it is an instance method). Like a subroutine in procedural programming languages, a method usually consists of a sequence of programming statements to perform an action, a set of input parameters to customize those actions, and possibly an output value (called the return value) of some kind. Methods provide a mechanism for accessing and manipulating the encapsulated data stored in an object.

Contents

Types of methods

As mentioned above, instance methods are associated with an object, while class or static methods are associated with a class. In a typical implementation, instance methods are passed a hidden reference (e.g. this, self or Me) to the object (whether a class or class instance) they belong to, so that they can access the data associated with it. For class/static methods this may or may not happen according to the language; A typical example of a class method would be one that keeps count of the number of created objects within a given class.

An abstract method is a dummy code method which has no implementation. It is often used as a placeholder to be overridden later by a subclass of or an object prototyped from the one that implements the abstract method. In this way, abstract methods help to partially specify a framework.

An accessor method is a method that is usually small, simple and provides the means for the state of an object to be accessed from other parts of a program. Although it introduces a new dependency, use of the methods are preferred to directly accessing state data because they provide an abstraction layer. For example, if a bank-account class provides a getBalance() accessor method to retrieve the current balance (rather than directly accessing the balance data fields), then later revisions of the same code can implement a more complex mechanism balance retrieval (say, a database fetch) without the dependent code needing to be changed. A method that changes the state of an object is no longer called an accessor method, but rather an update method, a modifier method, or a mutator method. Objects that provide such methods are considered mutable objects.

Many languages support methods, called constructors, that are called automatically upon the creation of an instance of a class. Some languages have a special syntax for constructors. In Java, C++, C#, ActionScript, and PHP they have the same name as the class of which they are a member (PHP 5 also allows __construct as a constructor); in Visual Basic .NET the constructor is called New. Object Pascal constructors are signified by the keyword constructor and can have user-defined names (but are mostly called Create). Under Objective-C the constructor method is split between two methods, alloc and init, with the alloc method setting aside memory for an instance of the class and the init method handling the bulk of initializing the instance; a call to the new method invokes both the alloc and the init method for the class instance.

Similarly, some languages have special destructor methods, i.e. instance methods that are called automatically upon the destruction of an instance of a class. In C++, they are distinguished by having the same name as the class of the object they're associated with, but with the addition of a tilde (~) in front (or __destruct in PHP 5). In Object Pascal destructors have the keyword destructor and can have user-defined names (but are mostly called Destroy). Under Objective-C the destructor method is named dealloc.

CLASS METHOD-Sometime you need to access program code when you do not have an instance of a particular object available.A method that is marked using the keyword static can be used in this way and it is sometime called a class method.

Isolation levels

Whereas a C programmer might push a value onto a stack data-structure by calling:

stackPush(&myStack, value);

a C++ programmer would write:

myStack.push(value);

The difference is the required level of isolation. In C, the stackPush procedure could be in the same source file as the rest of the program and if it was, any other pieces of the program in that source file could see and modify all of the low level details of how the stack was implemented, completely bypassing the intended interface. In C++, regardless of where the class is placed, only the methods which are part of myStack will be able to get access to those low-level details without going through the formal interface methods[citation needed]. Languages such as C can provide comparable levels of protection by using different source files and not providing external linkage to the private parts of the stack implementation.

Some recommended usages

A public method should preserve the class invariants of the object it is associated with, and should always assume that they are valid when it commences execution (private methods do not necessarily need to follow this recommendation). To this effect, preconditions are used to constrain the method's parameters, and postconditions to constrain method's output, if it has one. If any one of either the preconditions or postconditions is not met, a method may raise an exception. If the object's state does not satisfy its class invariants on entry to or exit from any method, the program is considered to have a bug.

The difference between a procedure and a method is that the latter, being associated with a particular object, may access or modify the data private to that object in a way consistent with the intended behavior of the object. Consequently, rather than thinking "a method is just a sequence of commands", a programmer using an object-oriented language will consider a method to be "an object's way of providing a service" (its "method of doing the job", hence the name); a method call is thus considered to be a request to an object to perform some task.

Consequently, method calls are often modeled as a means of passing a message to an object. Rather than directly performing an operation on an object, a message (most of the time accompanied by parameters) is sent to the object telling it what it should do. The object either complies or raises an exception describing why it cannot do so. Applied to our stack example, rather than pushing a value onto the stack, a value is sent to the stack, along with the message "push".

Static methods

As mentioned above, a method may be declared as static, meaning that it acts at the class level rather than at the instance level. Therefore, a static method cannot refer to a specific instance of the class (i.e. it cannot refer to this, self, Me, etc.), unless such references are made through a parameter referencing an instance of the class, although in such cases they must be accessed through the parameter's identifier instead of this. An example of a static member and its consumption in C# code:

public class ExampleClass
{
  public static void StaticExample()
  {
     // static method code
  }
 
  public void InstanceExample()
  {
     // instance method code here
     // can use THIS
  }   
}
 
/// Consumer of the above class:
 
// Static method is called -- no instance is involved
ExampleClass.StaticExample();
 
// Instance method is called
ExampleClass objMyExample = new ExampleClass();
objMyExample.InstanceExample();

Confusingly, methods marked as class in Object Pascal also cannot refer to a class object, as can class methods in Python or Smalltalk. For example, this Python method can create an instance of Dict or of any subclass of it, because it receives a reference to a class object as cls:

class Dict:
   @classmethod
   def fromkeys(cls, iterable, value=None):
       d = cls()
       for key in iterable:
           d[key] = value
       return d

See also


Translations: Method
Top

Dansk (Danish)
n. - metode, fremgangsmåde

idioms:

  • method acting    skuespilsmetode
  • method in one's madness    system i galskaben

Nederlands (Dutch)
methode, werkwijze, wetenschap van wetenschappelijk onderzoek

Français (French)
n. - méthode, mode (de paiement), philosophie, moyen (de transport), (Cin, Théât) philosophie " Actor's Studio "

idioms:

  • method acting    méthode de Stanislavski, jeu " Actor's Studio "
  • method in one's madness    ne pas être si fou qu'il n'en a l'air

Deutsch (German)
n. - Methode, Verfahren, System

idioms:

  • method acting    Schauspielen nach dem Stanislawski-System
  • method in one's madness    der Wahnsinn hat Methode

Ελληνική (Greek)
n. - μέθοδος

idioms:

  • method acting    (στην υποκριτική) μέθοδος
  • method in one's madness    δεν είναι τόσο τρελός όσο φαίνεται

Italiano (Italian)
metodo

idioms:

  • method acting    recitazione empatica
  • method in one's madness    non essere matto come sembra

Português (Portuguese)
n. - método (m), ordem (f)

idioms:

  • method acting    método de atuação
  • method in one's madness    método próprio (m)

Русский (Russian)
метод, система, последовательность

idioms:

  • method acting    работающий по системе
  • method in one's madness    в его безумии есть система

Español (Spanish)
n. - método, procedimiento, manera, modo, modalidad

idioms:

  • method acting    actor/actriz adeptos del sistema de Stanislavsky
  • method in one's madness    no es tan loco como parece

Svenska (Swedish)
n. - metod, system

中文(简体)(Chinese (Simplified))
方法, 秩序, 条理

idioms:

  • method acting    体验派表演法
  • method in one's madness    乱中有序, 疯态中显出条理

中文(繁體)(Chinese (Traditional))
n. - 方法, 秩序, 條理

idioms:

  • method acting    體驗派表演法
  • method in one's madness    亂中有序, 瘋態中顯出條理

한국어 (Korean)
n. - 수단, 규칙

日本語 (Japanese)
n. - 方法, 手段, メソッド, スタニスラフスキーシステム, 体系, 順序

idioms:

  • method acting    感情移入して演技する
  • method in one's madness    そうする理由

العربيه (Arabic)
‏(الاسم) طريقه‏

עברית (Hebrew)
n. - ‮שיטה, מתודה, סדר‬


Best of the Web: method
Top

Some good "method" pages on the web:


Math
mathworld.wolfram.com
 
 
 

 

Copyrights:

Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2009. Published by Houghton Mifflin Company. All rights reserved.  Read more
Thesaurus. Roget's II: The New Thesaurus, Third Edition by the Editors of the American Heritage® Dictionary Copyright © 1995 by Houghton Mifflin Company. Published by Houghton Mifflin Company. All rights reserved.  Read more
Answers Corporation Antonyms. © 1999-2009 by Answers Corporation. All rights reserved.  Read more
Dental Dictionary. Mosby's Dental Dictionary. Copyright © 2004 by Elsevier, Inc. All rights reserved.  Read more
Philosophy Dictionary. The Oxford Dictionary of Philosophy. Copyright © 1994, 1996, 2005 by Oxford University Press. All rights reserved.  Read more
Veterinary Dictionary. Saunders Comprehensive Veterinary Dictionary 3rd Edition. Copyright © 2007 by D.C. Blood, V.P. Studdert and C.C. Gay, Elsevier. All rights reserved.  Read more
Word Tutor. Copyright © 2004-present by eSpindle Learning, a 501(c) nonprofit organization. All rights reserved.
eSpindle provides personalized spelling and vocabulary tutoring online; free trial Read more
Quotes About. Copyright © 2005 QuotationsBook.com. All rights reserved.  Read more
Wikipedia. This article is licensed under the Creative Commons Attribution/Share-Alike License. It uses material from the Wikipedia article "Method (computer science)" Read more
Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved.  Read more