2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __java_util_TreeMap__
#define __java_util_TreeMap__
#pragma interface
#include <java/util/AbstractMap.h>
class java::util::TreeMap : public ::java::util::AbstractMap
{
public:
TreeMap ();
TreeMap (::java::util::Comparator *);
TreeMap (::java::util::Map *);
TreeMap (::java::util::SortedMap *);
virtual void clear ();
virtual ::java::lang::Object *clone ();
virtual ::java::util::Comparator *comparator () { return comparator__; }
virtual jboolean containsKey (::java::lang::Object *);
virtual jboolean containsValue (::java::lang::Object *);
virtual ::java::util::Set *entrySet ();
virtual ::java::lang::Object *firstKey ();
virtual ::java::lang::Object *get (::java::lang::Object *);
virtual ::java::util::SortedMap *headMap (::java::lang::Object *);
virtual ::java::util::Set *keySet ();
virtual ::java::lang::Object *lastKey ();
virtual ::java::lang::Object *put (::java::lang::Object *,
::java::lang::Object *);
virtual void putAll (::java::util::Map *);
virtual ::java::lang::Object *remove (::java::lang::Object *);
virtual jint size () { return size__; }
virtual ::java::util::SortedMap *subMap (::java::lang::Object *,
::java::lang::Object *);
virtual ::java::util::SortedMap *tailMap (::java::lang::Object *);
virtual ::java::util::Collection *values ();
public: // actually package-private
virtual jint compare (::java::lang::Object *, ::java::lang::Object *);
private:
void deleteFixup (::java::util::TreeMap$Node *, ::java::util::TreeMap$Node *);
void fabricateTree (jint);
public: // actually package-private
virtual ::java::util::TreeMap$Node *firstNode ();
virtual ::java::util::TreeMap$Node *getNode (::java::lang::Object *);
virtual ::java::util::TreeMap$Node *highestLessThan (::java::lang::Object *);
private:
void insertFixup (::java::util::TreeMap$Node *);
::java::util::TreeMap$Node *lastNode ();
public: // actually package-private
virtual ::java::util::TreeMap$Node *lowestGreaterThan (::java::lang::Object
*, jboolean);
private:
::java::util::TreeMap$Node *predecessor (::java::util::TreeMap$Node *);
public: // actually package-private
virtual void putFromObjStream (::java::io::ObjectInputStream *, jint,
jboolean);
virtual void putKeysLinear (::java::util::Iterator *, jint);
private:
void readObject (::java::io::ObjectInputStream *);
public: // actually package-private
virtual void removeNode (::java::util::TreeMap$Node *);
private:
void rotateLeft (::java::util::TreeMap$Node *);
void rotateRight (::java::util::TreeMap$Node *);
public: // actually package-private
virtual ::java::util::TreeMap$Node *successor (::java::util::TreeMap$Node *);
private:
void writeObject (::java::io::ObjectOutputStream *);
static const jlong serialVersionUID = 919286545866124006LL;
public: // actually package-private
static const jint RED = -1L;
static const jint BLACK = 1L;
static ::java::util::TreeMap$Node *nil;
private:
::java::util::TreeMap$Node * __attribute__((aligned(__alignof__(
::java::util::AbstractMap )))) root;
public: // actually package-private
jint size__;
private:
::java::util::Set *entries;
public: // actually package-private
jint modCount;
::java::util::Comparator *comparator__;
friend class java_util_TreeMap$SubMap;
friend class java_util_TreeMap$TreeIterator;
friend class java_util_TreeMap$3;
friend class java_util_TreeMap$2;
friend class java_util_TreeMap$1;
friend class java_util_TreeMap$Node;
public:
static ::java::lang::Class class$;
};
#endif /* __java_util_TreeMap__ */
________________________________
From: Tyler Littlefield <[email protected]>
To: [email protected]
Sent: Thursday, April 16, 2009 10:42:30 PM
Subject: Re: [c-prog] how to incorporate java classes in msvc++2008sp1
>my question was to Brett McCoy :)
and my question was to you. we've all told you what and why not to do it.
Thanks,
Tyler Littlefield
Web: tysdomain.com
email: ty...@tysdomain. com
My programs don't have bugs, they're called randomly added features.
----- Original Message -----
From: Snit Roy
To: c-p...@yahoogroups. com
Sent: Thursday, April 16, 2009 10:44 AM
Subject: Re: [c-prog] how to incorporate java classes in msvc++2008sp1
my question was to Brett McCoy :)
____________ _________ _________ __
From: Brett McCoy <idragos...@gmail. com>
To: c-p...@yahoogroups. com
Sent: Wednesday, April 15, 2009 7:42:57 PM
Subject: Re: [c-prog] how to incorporate java classes in msvc++2008sp1
On Wed, Apr 15, 2009 at 10:11 AM, Thomas Hruska <thru...@cubiclesof t .com>
wrote:
>> Someone asked the question last week on how to use Java and C++
>> together. The basic idea is you would have to embed a Java Virtual
>> Machine inside your C++ application to be able to call Java classes
>> (similar to how Perl and Python can be embedded inside a C++ program).
>> You should look back through the list archives and see some of the
>> responses to the original question.
>
> (PHP can be embedded in C/C++ too).
Yep, it sure can, in the same way, too!
-- Brett
------------ --------- --------- --------- --------- --------- -
"In the rhythm of music a secret is hidden;
If I were to divulge it, it would overturn the world."
-- Jelaleddin Rumi
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]
[Non-text portions of this message have been removed]