Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
instance
- Page 1
Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by xrjf
… where the full key and its data are stored. For
instance
, if the first key inserted is "John Smith"…
Re: Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by rproffitt
DiDi appears to be some China based UBER service but then again I can't find a question or much else to discuss here.
Re: Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by xrjf
About DiDi DiDi (Differential Directory) was originally developed as part of my thesis project in the early 1990s. The name bears no relation to the more recent Chinese ride-sharing company. At the time, DiDi was a novel approach within its academic context, but a change in legislation unfortunately led to the closure of the school and the …
Re: Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by xrjf
For example, as Donald Knuth points out in The Art of Computer Programming, the theoretical lower bound for comparison-based sorting algorithms is K × log₂(N). I developed a very simple method that matches this performance. However, DiDi goes far beyond: its performance is proportional to K × (maximum key length), regardless of the number of …
Re: Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by xrjf
As an illustration, consider the theoretical lower bound for comparison-based sorting, as stated by Donald Knuth in The Art of Computer Programming: K × log₂(N). I developed a simple method that matches this limit. For example, to sort the list {2, 5, 7, 1, 4, 3, 8, 6}: Sort pairs: (2, 5) → [1] (1, 7) → [2] (3, 4) → [3] (6, 8) → [4] Merge…
Re: Differential Directory, indexing method
Programming
Software Development
3 Weeks Ago
by xrjf
"Just to clarify a previous mistake: the efficiency should be K × N × log₂(N), not K × log₂(N) as I initially wrote."
Re: Differential Directory, indexing method
Programming
Software Development
2 Weeks Ago
by xrjf
I've just made an update because some records weren't being added properly. The issue was that the form didn't take into account that the register field (in the call to DiDi) is passed by reference.
Re: Differential Directory, indexing method
Programming
Software Development
1 Week Ago
by xrjf
Just a quick update for anyone interested: I have revisited and significantly improved the code, aiming for a more professional structure and better performance. The updated version avoids freezing the UI during long operations and follows more robust programming practices. If you’d like to see DiDi in action, there is also a video …
Re: Show computer name on a label
Programming
Software Development
1 Month Ago
by Salem
… your char array to a CLI string in the first
instance
, before trying to pass it onto some other function expecting…
Re: ‘Advanced AI should be treated similar to Weapons of Mass Destruction’
Community Center
2 Months Ago
by rproffitt
UPDATE: Feb 4, 2025 — Google on Tuesday updated its ethical guidelines around artificial intelligence, removing commitments not to apply the technology to weapons or surveillance.
Re: Question/Answering over SQL Data Using LangGraph Framework
Programming
Computer Science
1 Month Ago
by Pelorus_1
Through its combination of natural language processing and structured query generation, LangGraph makes interfacing with databases and extracting insights over SQL data easier than ever.
Re: instance variables and local variables?
Programming
Software Development
15 Years Ago
by stultuske
…MyClass{ private int instanceVar; public MyClass(int
instance
){ int localVar = 5; if (
instance
>= localVar) setInstanceVar(
instance
); else setInstanceVar(localVar); } public void setInstanceVar…(){ return this.instanceVar; } } [/Code] in here, instanceVar is an
instance
variable, it can be modified or the value can be…
Instance methods or general methods?
Programming
Software Development
12 Years Ago
by hughesadam_87
…not always clear to me if I should write an
instance
method, or if I should write general methods and … like getters and setters, which I think intrinsically should be
instance
methods; however, many methods could easily operate on any object…and then pass an object into them, why bother writing
instance
methods at all? When should I say "yes …
Re: instance method
Programming
Software Development
10 Years Ago
by rubberman
Static methods are NOT
instance
methods! An
instance
method will operate on
instance
variables typically, and require an
instance
to run. A class static method is like a global function, but associated more closely with a class, especially if the class has static member variables.
Re: Instance methods or general methods?
Programming
Software Development
12 Years Ago
by TrustyTony
… many things you do not think so are an object
instance
like your script module or function. So you can create…
instance
variables for them. 3. If the operation would make sense …
Re: instance method
Programming
Software Development
10 Years Ago
by cool_zephyr
… .... /*static method*/ public static void eat() { } /*
instance
method*/ public void fly() { } } so inside your main… Bird myBird=new Bird(); /* call
instance
method */ myBird.fly(); /*call static method*/ Bird.eat…
Instance Problem
Programming
Software Development
14 Years Ago
by chandruswami
… is called,.. so it will call twice,.. another
instance
is opened while opening this
instance
,.. i can't do the debug,.. it…
-Instance Vars-
Programming
Software Development
14 Years Ago
by RickettRackett
… + times SOUTH" and so on. Was wondering what the
instance
var would look like if I wanted to make a… an idea of how to go about making the directional
instance
var. [code]import becker.robots.*; class MazeBot extends RobotSE { public…
Difference between static and instance variables
Programming
Software Development
13 Years Ago
by mith_cool
Instance
variable does mean you will get new value with every …,2.... So i got to ask u if its an
instance
variable is it denoted with static keyword?? coz wen i…
instance method
Programming
Software Development
10 Years Ago
by priyanka_10
Hi, I just wanted to know about
instance
method? If static modifier is not applied before does it makes it an
instance
method ? Plz give an example Thanku
instance method
Programming
Software Development
10 Years Ago
by priyanka_10
Hi, I just wanted to know about
instance
method? If static modifier is not applied before does it makes it an
instance
method ? Plz give an example Thanku
Re: instance method
Programming
Software Development
10 Years Ago
by newcoder310
…a sample code snippet showing difference between static method and
instance
method. Declaration Static Method class DetailsBean{ pubic static …String setName(String name){ this.name = name; } }
Instance
Method class DetailsBean{ pubic String setName(String name){ this.name…
Re: Instance Problem
Programming
Software Development
14 Years Ago
by chandruswami
… i want to check whether the user gives the same
instance
of server and database name,.. If so, i wont allow…
Re: Instance Problem
Programming
Software Development
14 Years Ago
by Ketsuekiame
What I'm asking is, why are you launching another
instance
of your executable? What is your reasoning? I don't …
Re: instance method
Programming
Software Development
10 Years Ago
by stultuske
why did you need a second thread with an exact same question ? yes, if a variable or a method are not declared as being static, they are
instance
variables/methods.
Re: instance method
Programming
Software Development
10 Years Ago
by sepp2k
> If static modifier is not applied before does it makes it an
instance
method ? Yes.
Instance Variable and Fields
Programming
Software Development
15 Years Ago
by PhoenixInsilico
What is the difference between an
instance
variable and field in java?
Re: Instance Variable and Fields
Programming
Software Development
15 Years Ago
by JamesCherrill
A field may be an
instance
variable or a static variable.
Re: Instance Variable and Fields
Programming
Software Development
15 Years Ago
by kvprajapati
Dear PhoenixInsilico, [QUOTE]JamesCherrill's anwer is appropriate. - A field may be an
instance
variable or a static variable.[/QUOTE] They are variables but used in different context.
instance variables and local variables?
Programming
Software Development
15 Years Ago
by pfuturama
can anyone explain with me briefly of
instance
variables and local variables.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC