473,587 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

subarray

oll3i
679 Contributor
why when i try to use subarray (for byte array)function eclipse says it's undefined
but i read that this function is defined in java?

Thank YOU
May 27 '08 #1
5 4534
JosAH
11,448 Recognized Expert MVP
why when i try to use subarray (for byte array)function eclipse says it's undefined
but i read that this function is defined in java?

Thank YOU
What class defines the 'subarray' method according to Eclipse?

kind regards,

Jos
May 27 '08 #2
oll3i
679 Contributor
eclipse says subArray is undefined in my class ? i want to subtract one array of bytes
Thank You
May 27 '08 #3
BigDaddyLH
1,216 Recognized Expert Top Contributor
eclipse says subArray is undefined in my class ? i want to subtract one array of bytes
Thank You
You haven't defined subArray. Therefore it is undefined.
May 27 '08 #4
oll3i
679 Contributor
so it is undefined in java then cos i read somewhere it is
okey then Thank YOU sorry for bothering
May 27 '08 #5
BigDaddyLH
1,216 Recognized Expert Top Contributor
so it is undefined in java then cos i read somewhere it is
okey then Thank YOU sorry for bothering
You could always define it.
May 27 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3796
by: Ante Perkovic | last post by:
Hi, everybody First, the code: --------------------- $maxNo = 500 $numbers = range (1,$maxNo); srand ((double)microtime()*1000000); shuffle ($numbers); $subarray = array_slice ($numbers, 0, 24); ksort ($subarray); // this also don't work!!!
5
2827
by: Frostillicus | last post by:
I'm trying to use array_multisort to sort by one of the dimensions of an array stored in $GLOBALS like this: array_multisort($GLOBALS, SORT_STRING, SORT_DESC); Each "row" in $GLOBALS contains a value for 'href', 'desc', and 'info' but when I try to pass one of these "columns" to array_multisort() it whinges about it not being an array or...
10
3197
by: David | last post by:
Hi everyone, Hoping there are some .js/browser experts out there that can help with this weird problem. I have made a swap div routine and applied the events to menu buttons with a closer layer behind the menus. The closer div has a lower index than the submenu divs so it appears behind them. The closer div contains a transparent gif...
4
2314
by: ron | last post by:
Hi, I have class object that i serialize using the System.Xml.Serialization class. Intermittently the object is not getting serialized correctly, using System.Xml.Serialization classes. Therefore the application errors out when deserializing the xml data. It places the some part of the child element
1
6314
by: Need Helps | last post by:
Writing my own algorithm to make a subarray in Visual C++ would be easy enough, but is there a useful function or method for doing this? I have strings stored as TCHAR and I want to get substrings of those, but the basic String.substr() function doesn't compile on that. I tried this TCHAR string TCHAR substring //function that returns a...
7
14595
by: 116Rohan | last post by:
You're given an array containing both positive and negative integers and required to find the sub-array with the largest sum (O(N) a la KBL). Write a routine in C for the above Any pointers on the above problem will help. Wont sum of all positive numbers will be the largest sub-array?
1
6065
by: artev | last post by:
if I have array-n-01= array-n-02= want change in one array03 so: array03= array03= array03= array03=
2
2026
by: gm04030276 | last post by:
hey, i'm basically trying to use php sessions and a bit of javascript to make tabbed browsing within a web page using sessions to store the data of the different opened pages. Problem: when i unset the first 0 index in the array (ie close the default page) it seems to wipe the other one (can't get it to add more that one anymore) from the array...
4
3693
by: puzzlecracker | last post by:
say I have an array string array1={"aa","bb"...}; I want to create second array that will contain all elements first array except for the very first one ? Thanks
0
7843
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8206
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8340
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
3840
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3875
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2353
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1452
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1185
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.