The properties tag has no wiki summary.
1
vote
1answer
45 views
Recursive java.util.Properties references
Background
A subclass of java.util.Properties attempts to recursively resolve configured properties:
prop_a=Prop A is ${prop_b}
prop_b=Prop B is ${prop_c}
prop_c=Prop C.
After reading the file, ...
7
votes
3answers
331 views
Class with a sometimes unused property
From times to times I stumble over the following situation:
I have got a class with a property that's only used if another property has a particular value, for instance:
public enum ...
2
votes
1answer
102 views
Is it correct to use delegates as properties?
I need to create a class with two properties:
LogOutput
ExceptionOutput
These properties (of type Action) send a message or a exception depending on the target function. This target function is ...
2
votes
1answer
237 views
My implementation of javascript class library
I'm reading a book called JavaScript Web Applications. In first chapter, it introduces an implementation of class library. Here's an intermediate version:
var Class = function () {
var klass = ...
2
votes
4answers
208 views
Is there anything wrong with this unusual NSMutableArray setter?
This behaves to an outside observer mostly like @property (copy), except it has the very nice property of automatically performing any side effects that may exist in remove<Key>AtIndexes: and ...
3
votes
2answers
278 views
Immutable pure data classes with public setters on properties
I'm putting together some classes as a model for some information (that I'm currently pulling from a website).
The classes are implemented in C# - because in the current version of F# there are no ...