enforcement Questions

3

Solved

Suppose I have an attribute called phone number and I would like to enforce certain validity on the entries to this field. Can I use regular expression for this purpose, since Regular Expression is...
Galantine asked 14/4, 2013 at 22:50

3

I have a class which implements AutoCloseable, and is intended to be used with Java 7's new try-with-resources construct. However, I can't figure out a way to guarantee that the user of my class us...
Tied asked 2/7, 2013 at 16:7

2

Let us assume we have a trait T. What is the best way to achieve the following: Everybody who writes an implementation of T should be forced to provide a possibility that allows a parameter-free ...
Walkabout asked 12/12, 2013 at 12:2

2

Solved

In the Datomic Schema doco - they mention a schema attribute called db/isComponent. This appears to refer to relationships defined by :db.type/ref. The db/isComponent isn't used in the Seattle ex...
Lore asked 23/3, 2013 at 12:34

6

Solved

I've inherited a large C++ codebase for several Windows applications that successfully is in use by many customers. The codebase is large, >1mill LOC. The codebase has a history of 15+ years. The...
Donahoe asked 16/5, 2011 at 8:33

6

Solved

let's say I have public delegate DataSet AutoCompleteDelegate( string filter, long rowOffset); can I make the following class to enforce that method signature? (just a conjured up idea): publ...
Islek asked 29/6, 2009 at 6:59
1

© 2022 - 2024 — McMap. All rights reserved.