It's best to send such questions to
commons-dev@jakarta.apache.org
(usually after subscribing first
'commons-dev-subscribe@jakarta.apache.org'), or to add them to the
JIRA instance (
http://issues.apache.org/jira/browse/LANG).
There's not an Immutable interface because Lang aims not to force
religion (for use of a better word) on the developer. There are very,
very few interfaces in Lang and neither of them need to be implemented
by developers to get functionality.
There's also not a lot of concrete value in marker interfaces,
Cloneable is a bad example as along with Serializable it should have
had the methods declared in it instead of linking to JVM magic. So
that's another reason for no marker interfaces in Lang - we can't do
the JVM magic.
Partager