Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
reflection
- Page 1
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: Reflection and biologically inspired programming
Programming
Computer Science
15 Years Ago
by 0x69
"
Reflection
" is unknown beast to me. But i am a …
Re: Reflection vs Interface
Programming
Software Development
13 Years Ago
by JamesCherrill
Reflection
is useful when you have to make calls dynamically at …
Reflection
Programming
Software Development
14 Years Ago
by ceyesuma
… methods the user may choose. Do I have to use
reflection
or do I have to copy the bean? I am… is an idea to invoke methods at run time using
reflection
or to try to get this class to work and…
Re: Reflection
Programming
Software Development
14 Years Ago
by ceyesuma
… the DAO to gather specific data? On the point of
reflection
. Would it be possible to manipulate an array at run…
Reflection
Programming
Software Development
16 Years Ago
by obscured47
….. So.. I want to read up on app domains and
reflection
and all those joys of the .NET but don't…
Re: Reflection
Programming
Software Development
16 Years Ago
by Rashakil Fol
… typesafe to pass in a function than something that uses
reflection
.
REFLECTION
Programming
Software Development
11 Years Ago
by kevin28
What is
reflection
in VB.NET ?
Re: REFLECTION
Programming
Software Development
11 Years Ago
by RomelynCastillo
All .NET compilers produce metadata about the types defined in the modules they produce. This metadata is packaged along with the module (modules in turn are packaged together in assemblies), and can be accessed by a mechanism called
reflection
.
Reflection Invoke Method w/ Params
Programming
Software Development
17 Years Ago
by mariocatch
Hi All, A long time ago I researched
Reflection
and created a solution demoing my learnt capabilities from it. … any arguments into the Invocation of the method call using
reflection
. I went to tackle this and I seem to be… class that is being called by the invocation of the
reflection
method call is set up like this: [code] public void…
Reflection error: wrong no. of arguments
Programming
Software Development
15 Years Ago
by devnar
…to call a bunch of methods during run-time using
reflection
, but I'm getting an exception saying "IllegalArgumentException…a class, init(Object[][] args) method is called using
reflection
. The part of the code which creates the objects …using
reflection
works fine. The code blows up when the method…
Reflection vs Variable Variables
Programming
Web Development
14 Years Ago
by jkon
… I can use variable variables instead of
reflection
in PHP but I have never gone …test1); echo "<br/><br/>"; //
Reflection
way $startTime2 = microtime(true); $a = "testObj"…invoke($test2,33); $endTime2 = microtime(true); echo "
Reflection
way: ".(number_format($endTime2 - $startTime2,10))."<…
Re: Reflection vs Variable Variables
Programming
Web Development
14 Years Ago
by mschroeder
…are right on par with what you are seeing.
Reflection
is about twice as slow as using variable variables. I…in PHP. [CODE=TEXT] Running Benchmark: Compare Variable Variables To
Reflection
To Call_User_Func ====================================================================== Running Test: test_Variable_Variable Cycles: 10000 Mean: 0.…
Re: Reflection vs Variable Variables
Programming
Web Development
14 Years Ago
by jkon
Thank you mschroeder for your answer. Variable variables are also
reflection
by the larger meaning of the word; I avoided them … code. Now I am going to use them instead of
reflection
classes, in the core of my applications (-framework) due to…
Re: Reflection vs Variable Variables
Programming
Web Development
14 Years Ago
by digital-ether
… to … but one of them (and in any application) is
reflection
. The performance hit, airsidelimo, is great when you compare these… refrain from using objects. Actually, this is likely why using
Reflection
is slower then the variables method being discussed here. Good…
Re: Reflection Invoke Method w/ Params
Programming
Software Development
16 Years Ago
by floydus
….... hope it will help someone. [CODE] using System; using System.
Reflection
; private Type ProgType = Type.GetTypeFromProgID("myvb6dll.dvrObj"); // Assign…
Reflection and biologically inspired programming
Programming
Computer Science
15 Years Ago
by dumpstercake
… have recently developed a strong interest in the concepts of
reflection
and biologically inspired programming. First, a little background, I was… my professors briefly mentioned biologically inspired programming (he also mentioned
reflection
in the same tangent which caught my attention by association…
Reflection in Java
Programming
Software Development
14 Years Ago
by ajst
Hi guys, I've been looking into
reflection
and was wondering if anyone had any good tutorials or a good use for it. I understand how it works but can't think of an example of when it would actually be used. A website with a task that needs
reflection
to solve the answer would be good ;) Thanks in advance
Re: Reflection in Java
Programming
Software Development
14 Years Ago
by JamesCherrill
… or endorsing such dubious practice). Recent annotation-based advances use
Reflection
to combine annotations with the Java code they annotate. Builder… tools that work with JavaBeans use
reflection
to obtain the properties of the beans at runtime.
Re: Reflection vs Variable Variables
Programming
Web Development
14 Years Ago
by digital-ether
… do affect performance of a framework. The plus of using
Reflection
is that it allows arbitrary number of arguments to the…
Re: Reflection vs Variable Variables
Programming
Web Development
14 Years Ago
by jkon
… to … but one of them (and in any application) is
reflection
. The performance hit, airsidelimo, is great when you compare these…
Reflection vs Interface
Programming
Software Development
13 Years Ago
by Japus
Hello I'm wondering when it is best to use
reflection
to call a method instead of defining and using an … will be faster but what are the advantages of using
reflection
? The program I'm creating is a GUI which should…
Reflection/Casting, create arbitrary Objects.
Programming
Software Development
13 Years Ago
by SasseMan
… knowing anything about the objects (with some exceptions). I use
reflection
to create objects and set their fields to random values… solution to. Say that an Object that is instansiated using
reflection
has a field, which is a Map<Object, Object…
Re: Reflection/Casting, create arbitrary Objects.
Programming
Software Development
13 Years Ago
by SasseMan
… be called with a string that also is set via
reflection
. The point is to just create objects with arbitrary instance… with type Class<?>. I do this with with
reflection
. instansiate the object and recursively populate its instance variables with…
Re: Reflection and biologically inspired programming
Programming
Computer Science
15 Years Ago
by dumpstercake
actually, forget that last paragraph in my post, I just want to know if anyone knows of any good articles on biologically inspired programming, meta objects, or
reflection
.
Re: Reflection in Java
Programming
Software Development
14 Years Ago
by ajst
So in reality there is not really a need or use for
Reflection
in a normal programming. (not including dubious practices) From reading articles since I posted this it seems it is mainly used as you said for things like netbeans and ecliplse. so its just something handy to know about but nothing I could really use in a program I make?
Re: Reflection vs Interface
Programming
Software Development
13 Years Ago
by Japus
[QUOTE=JamesCherrill;1568256]
Reflection
is useful when you have to make calls dynamically at …
Re: Reflection vs Interface
Programming
Software Development
13 Years Ago
by jwenting
In general, use
reflection
only if there's no other way that gets the job done :) IOW, if you don't KNOW you require it, you probably don't. It's there fore specific corner cases, which many people are unlikely to ever come up against, especially in their first years of using Java.
Re: Reflection/Casting, create arbitrary Objects.
Programming
Software Development
13 Years Ago
by ~s.o.s~
…] Also, when you instantiate any "generic" object using
reflection
, all the bets are off (given that you have used…
Re: Reflection/Casting, create arbitrary Objects.
Programming
Software Development
13 Years Ago
by SasseMan
… perspective). When I get the fields of a class using
reflection
, I know that the field is supposed to be an…
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