Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Javadoc for protected methods in SDK classes
April 18, 2018
21:30, EEST
Avatar
Doug Gardner
Member
Members
Forum Posts: 3
Member Since:
April 18, 2018
sp_UserOfflineSmall Offline

I don’t see the protected methods listed in the documentation for the SDK. I am currently evaluating the Java SDK, and I’m very pleased with the product, but I would like a way to find the documentation for methods I want to overload. I unzipped the documentation to my local machine, so perhaps the answer is found at your company’s site.

Thank you for your help.

Thank you,
Doug Gardner
LaserLinc, Inc.
doug.gardner@laserlinc.com

April 19, 2018
13:26, EEST
Avatar
Bjarne Boström
Moderator
Moderators
Forum Posts: 1032
Member Since:
April 3, 2012
sp_UserOfflineSmall Offline

Hi,

I assume you mean overriding instead of overloading, as that is different concept.

If a protected method is documented, it is part of the javadocs found in the ‘javadoc’ folder of the SDK distribution package.

This area is something we should improve, but in general unless one of these conditions hold, it is usually best to not override a method:

1. The method in question is mentioned in the tutorials (‘tutorial’ folder).

2. The method is overridden in the samples.

3. The method has proper documentation in the javadocs.

4. We have instructed to do so in order to solve a problem.

A lot of the SDK internals can be overridden, but in most cases there is no need to do so.

I can help more if you have a specific class/case from/for which you were planning to override methods.

April 19, 2018
17:28, EEST
Avatar
Doug Gardner
Member
Members
Forum Posts: 3
Member Since:
April 18, 2018
sp_UserOfflineSmall Offline

Hello,

Yes, I apologize for using “overload” when I meant “override”, and I appreciate the quick response to my question. Your instructions make sense, and I will follow these guidelines as I use the SDK.

Best regards,
Doug

Thank you,
Doug Gardner
LaserLinc, Inc.
doug.gardner@laserlinc.com

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 1919

Currently Online:
16 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 729

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466, zkxwilliemae, gabriellabachus, Deakin, KTP25Zof, Wojciech Kubala

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1032, Jimmy Ni: 26, Matti Siponen: 349, Lusetti: 0

Administrators: admin: 1