Re: native arrays in class diagrams
- From: karl.wettin@xxxxxxxxx
- Date: 25 Apr 2006 08:21:00 -0700
Daniel T. wrote:
You came up with one way, I came up with one, and Philp came up with yet
another. No troll here.
I don't know how to say this in more ways than I already did, so I'll
just say it a few more times. My problem is that I need to show a
qualified composite binary association with an array as values. It is
*very* important that I show exactly that and nothing else.
To rationalize the model and by remove semantics would cripple the
overview as it is suppsed to point out an access optimization.
This the diagram:
https://issues.apache.org/jira/secure/attachment/12325693/12325693_class_diagram.png
It is an old revsion and it contains plenty of flaws. I know my inner
classes should be []o---- and not []- - ->. And I know there are a few
misses in the model compared to Lucene (e.g. the float[] points at a
Document and not a field), so try not to focus on anything but the
following association:
[InstanciatedIndex](field)<#>---- +boost {0..1} ->[float[]]
I don't like the float[] class. It does the job, but I don't like it.
It's ugly.
Compare to
[IIDocument](field)<#>---- {0..1} ->[IITermFreqVector]
where IITFV contains two native arrays. This is OK with me as the
arrays are encapsulated by the class. In the association to the float[]
that array is the most outer class.
Rationalizing the matrix of values to a set of values in the model will
not do it for me. I need to show very clearly that it is a qualified
composite binary association with a native array as values.
Is there any praxis on how to display the array (as the subject of this
thread indicate) in such an association?
.
- References:
- native arrays in class diagrams
- From: karl . wettin
- Re: native arrays in class diagrams
- From: Phlip
- Re: native arrays in class diagrams
- From: Daniel T.
- Re: native arrays in class diagrams
- From: karl . wettin
- Re: native arrays in class diagrams
- From: Phlip
- Re: native arrays in class diagrams
- From: karl . wettin
- Re: native arrays in class diagrams
- From: Daniel T.
- native arrays in class diagrams
- Prev by Date: Re: Question on LSP
- Next by Date: Re: Question on LSP
- Previous by thread: Re: native arrays in class diagrams
- Next by thread: Re: native arrays in class diagrams
- Index(es):
Relevant Pages
|