Differnce between byte[] reading and int[] reading
While reading information from file using fileInputStream ....
Is there any differnce between byte[] reading and int[] reading ?
Well, in as much as you can do the former and not the latter.
FileInputStream just reads blocks of bytes. If you want to read more sophisticated element you need to wrap in in a DataInputStream or a Reader.
Similar Messages
-
I am having trouble establishing file association between .PDF files and Adobe Reader.
I am having trouble establishing file association between .PDF files and Adobe Reader. When I click on a .PDF file, Adobe Reader does not open the file. I installed Adobe Reader on a Lenovo G480 laptop using Windows 8. When I attempted to open a file called I believe G480_user_guide.PDF, a file called something like Nitro_PDF opened. When I right clicked G480_user_guide.PDF and chose Open With, I found that Nitro_PDF was the default program for opening the file. I tried to change to another program but found that Adobe Reader was not listed. I chose the option for searching the computer for a file to open. I found the folder Adobe in Program Files x64 but I was not able to find an executable. Where is the Adobe Reader executable or what other method can I use for establishing file association between .PDF files and Adobe Reader.
Yes, I have now learned how to make a search with the Google search engine. I am gradually learning how to use my new Lenovo laptop computer with Windows 8. I learned yesterday that I can make a search with the Google search engine if I enter the search query in the address bar of the Google Chrome browser. I think it was the Bing search engine that gave me the sites advertising Adobe Reader download but actually provided the download of a reader other than Adobe.
In my opinion, Windows 8 is significantly different from Windows 7 and that it has hazards and pitfalls.
I thank all of those who have replied to the initial inquiry. -
Link between notification number and meter reading order in ISU
what is the link between notification number and meter reading order in ISU. i have written a program to close all open notifications but now i want the program to close only notifications with closed meter reading orders but i cant find the link between meter reading order and notification
HI timothy
you can tell me how do you solved this issue?
how i can match reading Order with the order in Work Management?
i need some configuration?
thanks in advance
Miguel -
Difference between db file sequential read and scattered read
Hi,
Oracle Version : 10.2.0.1
Operating system: Linux
Can any one please help me what is the difference between db file sequential read and scattered read or please give any best related links .
Thanks & Regards,
Poorna Prasad.>
A sequential read is a single-block read. Single block I/Os are usually the result of using indexes.
A db file scattered read issues a scattered read to read the data into multiple discontinuous memory locations. A scattered read is usually a multiblock read. It can occur for a fast full scan (of an index) in addition to a full table scan.
>
See Performance Tuning Guide:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/instance_tune.htm#i20526
http://download.oracle.com/docs/cd/B19306_01/server.102/b14211/instance_tune.htm#i15958
Edited by: P. Forstmann on 20 oct. 2009 09:11 -
What is the differnce between Blue,Purple and Orange Audio Tracks. Can you convert either to Green Midi Track?
Are you asking about Garageband? Your signature also mentions Logic, but I have never worked with that.
Concerning Garageband:
Real Instrument regions from your recordings are purple.
Real Instrument regions from Apple Loops are blue.
Regions from imported audio files are orange.
Software Instrument regions from recordings, loops, and imported MIDI files are green.
So far as I know you can convert software instrument loops to real instrument loops, but not real instrument loops to software instrument loops. -
Whats the differnce between a7 chip and m7 chip
iPhone 5s, whats the differnce between a7 chip and m7 chip?
For more details on M7 you can read http://en.wikipedia.org/wiki/Apple_M7
Allan -
Differnce between type f and type p?
Hi All,
What is the Differnce between type f and type p?
Regard,
MikeHi Mike
Differnce bw type F and type P:-
Packed numbers - type P
Type P data allows digits after the decimal point. The number of decimal places is generic, and is determined in the program. The value range of type P data depends on its size and the number of digits after the decimal point. The valid size can be any value from 1 to 16 bytes. Two decimal digits are packed into one byte, while the last byte contains one digit and the sign. Up to 14 digits are allowed after the decimal point. The initial value is zero. When working with type P data, it is a good idea to set the program attribute Fixed point arithmetic.Otherwise, type P numbers are treated as integers.
You can use type P data for such values as distances, weights, amounts of money, and so on.
Floating point numbers - type F
The value range of type F numbers is 1x10*-307 to 1x10*308 for positive and negative numbers, including 0 (zero). The accuracy range is approximately 15 decimals, depending on the floating point arithmetic of the hardware platform. Since type F data is internally converted to a binary system, rounding errors can occur. Although the ABAP processor tries to minimize these effects, you should not use type F data if high accuracy is required. Instead, use type P data.
You use type F fields when you need to cope with very large value ranges and rounding errors are not critical.
Using I and F fields for calculations is quicker than using P fields. Arithmetic operations using I and F fields are very similar to the actual machine code operations, while P fields require more support from the software. Nevertheless, you have to use type P data to meet accuracy or value range requirements.
C ---> character
D ---> date
P ---> packed
T ---> time
X ---> hexadecimal
I ---> integer.
N ---> Muneric.
Reward pts if help.
Regards
Deepanker -
What is the difference of public-read and public-read protected
I have noticed that the access of some variables in API document is public-read protected. I tried the following code. They seem all the same.
class FatherClass{
public-read var a;
public-read protected var b;
init{
a=1;
println(a);
b=1;
println(b);
class SubClass extends FatherClass{
init{
a=4;
println(a);
b=4;
println(b);
var subClass=SubClass{};As you see in my code, subclass can write the variable with either public-read and public-read protected. What write access do the public-read protected widen? That's because your subclass is in the same script as the variable. Move the subclass to a separate script and it would not be able to write when the access is public-read.
"public-read" = any code can read, code in the same script can write.
"public-read protected" = any code can read, code in the same script, in the same package or in a subclass can write. -
Differnce between SAP-XI and SAP PI
hi can any body tell me what is the differnce between SAP-XI and SAP-PI
Hi vijay,
u can get lot of information regarding PI and XI in sdn.There already exists a no. of thread.just search with keyword "XI 3.0 and PI 7.0" u can get a lot.
XI 3.0
1. J2Se adapter engine was replaced with J2EE Adapter Engine.
2. BPM was available from XI 3.0
3. Part of Netweaver 2004
PI 7.0
1XI renames as Process Integration
2.. Part of Netweaver 2004s.
3. Has all features of XI 3.0 and every SP of Pi 7.0 has a corresponding release for XI 3.0.
4. Runs on WAS 7.0 and has same features as XI 3,0
From functional point, there is no difference between XI3.0 and PI7.0. There are changes only wrt SP. For every SP release on PI7.0 a corresponding SP for XI3.0 is also released.
A comparision of the service packs in 2004 and 2004s;
in 2004 - in 2004s
SP12 & < - SP04
SP13 + 14 - SP05
SP15 - SP06
SP16 - SP07
SP17 - SP08
SP18 - SP09
For release notes
ref:http://help.sap.com/saphelp_nw04/helpdata/en/cf/9844428e9cbe30e10000000a155106/frameset.htm
There is no f'nal difference between XI 3.0 and PI 7.0. In order to bring all netweaver releases on par with each other , SAP released / renamed XI as PI and it is a part of NW04s
For every release of PI 7.0, there is a parallel Support Pack on XI.
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/706005a3-3bd6-2910-91ae-a2016239bdcf">SAP NetWeaver Process Integration 7.1 Overview of New Capabilities</a>
Also check these threads.
Difference between NetWeaver 2004 and NetWeaver 7.0 or 7.1
All the diff between XI 3.0 and PI 7.0
differences between xi 3.0 and pi 7.0
Difference/ changes from XI 3.0 to PI 7.0
regards
Bill -
Differnce between AT NEW AND ON CHANGE OF
Hi,
Differnce between AT NEW AND ON CHANGE OF
Iam waiting foryour reply
Thanks & Regards
Raja Sekhar.THai Raja
check the following Documents
1. AT NEW f.
2. AT END OF f.
3. AT FIRST.
4. AT LAST.
5. AT fg.
Effect
In a LOOP which processes a dataset created with EXTRACT , you can use special control structures for control break processing. All these structures begin with AT and end with ENDAT . The sequence of statements which lies between them is then executed if a control break occurs.
You can use these key words for control break processing with extract datasets only if the active LOOP statement is proceesing an extract dataset.
The control level structure with extract datasets is dynamic. It corresponds exactly to the sort key of the extract dataset, i.e. to the order of fields in the field group HEADER by which the extract dataset was sorted .
At the end of a control group ( AT END OF , AT LAST ), there are two types of control level information between AT and ENDAT :
If the sort key of the extract dataset contains a non-numeric field h (particularly in the field group HEADER ), the field CNT(h) contains the number of control breaks in the (subordinate) control level h .
For extracted number fields g (see also ABAP/4 number types ), the fields SUM(g) contain the relevant control totals.
Notes
The fields CNT(h) and SUM(g) can only be addressed after they have been sorted. Otherwise, a runtime error may occur.
The fields CNT(h) and SUM(g) are filled with the relevant values for a control level at the end of each control group ( AT END OF , AT LAST ), not at the beginning ( AT FIRST , AT NEW ).
When calculating totals with SUM(g) , the system automatically chooses the maximum field sizes so that an overflow occurs only if the absolute value area limits are exceeded.
You can also use special control break control structures with LOOP s on internal tables.
Variant 1
AT NEW f.
Variant 2
AT END OF f.
Effect
f is a field from the field group HEADER . The enclosed sequence of statements is executed if
the field f occurs in the sort key of the extract dataset (and thus also in the field group HEADER ) and
the field f or a superior sort criterion has a different value in the current LOOP line than in the prceding ( AT NEW ) or subsequent ( AT END OF ) record of the extract dataset.
Example
DATA: NAME(30),
SALES TYPE I.
FIELD-GROUPS: HEADER, INFOS.
INSERT: NAME INTO HEADER,
SALES INTO INFOS.
LOOP.
AT NEW NAME.
NEW-PAGE.
ENDAT.
AT END OF NAME.
WRITE: / NAME, SUM(SALES).
ENDAT.
ENDLOOP.
Notes
If the extract dataset is not sorted before processing with LOOP , no control level structure is defined and the statements following AT NEW or AT END OF are not executed.
Fields which stand at hex zero are ignored by the control break check with AT NEW or AT END OF . This corresponds to the behavior of the SORT statement, which always places unoccupied fields (i.e. fields which stand at hex zero) before all occupied fields when sorting extract datasets, regardless of whether the sort sequence is in ascending or descending order.
Variant 3
AT FIRST.
Variant 4
AT LAST.
Effect
Executes the relevant series of statements just once - either on the first loop pass (with AT FIRST ) or on the last loop pass (with AT LAST ).
Variant 5
AT fg.
Addition
... WITH fg1
Effect
This statement makes single record processing dependent on the type of extracted record.
The sequence of statements following AT fg are executed whenever the current LOOP record is created with EXTRACT fg (in other words: when the current record is a fg record).
Addition
... WITH fg1
Effect
Executes the sequence of statements belonging to AT fg WITH fg1 only if the record of the field group fg in the dataset is immediately followed by a record of the field group fg1 .
Basic form
ON CHANGE OF f.
Addition
... OR f1
Effect
Executes the processing block enclosed by the " ON CHANGE OF f " and " ENDON " statements whenever the contents of the field f change (control break processing).
Normally, you use the statement to manipulate database fields during GET events or SELECT / ENDSELECT processing.
Note
There are special control structures for processing control breaks in LOOP s on internal tables or extract datasets AT ).
ON CHANGE OF is unsuitable for recognizing control levels in loops of this type because it always creates a global auxiliary field which is used to check for changes. This global auxiliary field can only be changed in the relevant ON CHANGE OF statement. It is not reset when the processing goes into loops or subroutines, so unwanted effects can occur if the loop or subroutine is executed again. Also, since it is set to its initial value when created (like any other field), any ON CHANGE OF processing will be executed after the first test, unless the contents of the field concerned happen to be identical to the initial value.
Example
TABLES T100.
SELECT * FROM T100 WHERE SPRSL = SY-LANGU AND
MSGNR < '010'
ORDER BY PRIMARY KEY.
ON CHANGE OF T100-ARBGB.
ULINE.
WRITE: / '**', T100-ARBGB, '**'.
ENDON.
WRITE: / T100-MSGNR, T100-TEXT.
ENDSELECT.
Displays all messages with their numbers in the logon language, provided the number is less than '010'.
Each time the message class changes, it is output.
Addition
... OR f1
Effect
Also executes the code whenever the contents of the field f1 changes.
You can use this addition several times.
Example
Logical database F1S
TABLES: SPFLI, SFLIGHT, SBOOK.
GET SBOOK.
ON CHANGE OF SPFLI-CARRID OR
SPFLI-CONNID OR
SFLIGHT-FLDATE.
ULINE.
WRITE: /5 SPFLI-CARRID, SPFLI-CONNID,
5 SFLIGHT-FLDATE, SPFLI-FLTIME,
5 SFLIGHT-SEATSMAX, SFLIGHT-SEATSOCC.
ENDON.
WRITE: / SBOOK-CUSTOMID.
The code between ON CHANGE OF and ENDON is executed only if at least one of the fields SPFLI-CARRID , SPFLI-CONNID or SFLIGHT-FLDATE has changed, i.e. there is a different flight connection (which also has bookings).
Notes
Thanks & regards
Sreenivasulu P -
Nonrepeatable Reads and Phantom Reads
Guys, I am very confuse about the definitions of Nonrepeatable Reads and Phantom Reads when I read the BEA Documentaion in http://e-docs.bea.com/workshop/docs81/doc/en/wls/guide/advanced/EJBsAndTransactions.html
The definition was queit confusing to me because they seems to describe the same thing, but it is obviously not the same thing. The problem is to see the difference among then.
What is that difference? Could I have an practical example of that difference?
Thanks everyoneNon-Repeatable reads: When a row is updated in database. 2 reads may not return same data.
Phantom reads is where a new row is inserted into the database, hence the 2 selects may not return same set of data.
Chekc the link below for example queies. hope it helps.
http://en.wikipedia.org/wiki/Isolation_(computer_science)
#Phantom_Reads -
Find physical reads and logical reads ?
Hi,
how will find out physical reads and logical reads ?Well I would suggest you read the report from statspack/awr.They as suggested by Amit,have a load profile section.That would be helpful for you in finding the details of this thing. Also which version you are? If you are in 10g than the EM is able to give you a compare period report where you can compare 2 different days's periods information and can check which particular part has changed.
In addition to this , look for the information of the metrics in the documentation.As the physical read and logical reads are statistics which are happening in the system.So from 10g onwards, oracle is keeping a track in the deflectionin the statistics. So if you see that than it willbe easy for you to manage and monitor it.
I shall try to findthe name of some views related to it and post.
Aman.... -
Differnce between business name and physical name
What is the differnce between business name and physical name in OWB
Hi Vibhuti,
What I have noticed is that Physical name is THE important thing that is required while importing and synchronising. It has a length limitation of 30. The mappings appear with this name in the left panel in design center. The Business name is just for reference I believe.
Cheers,
Swagata -
Differnce between DB Backup and generate Script
whats the differnce between DB Backup and generating Script of a database.
Please mention the main diffrence as we know while genearating script we can select tables/procedures of our choice instead of having all while in backup it takes full tables and procedures.Hi Abhishek,
In addition to others’ posts, we need to know that there are different types of
backup in SQL Server, such as full backup, differential backup, log back up, file backup and so on. It is recommended to back up database on a regular basis, as a well-planned backup
and restore strategy helps protect databases against data loss caused by a variety of failures. You can make
maintenance plans to back up database automatically.
However, generating scripts is not a disaster recovery option. If you encounter some failures about database, you cannot get data back by generating scripts.
Thanks,
Lydia Zhang -
Have downloaded both Adobe reader and PDF reader, but when I attempt to open a pdf from a site on safari, it starts to load, then disappears. Any way to fix this?
Try quitting the PDF apps and Safari like I describe below. Then reset the iPad. After it starts try again.
Double click the Home button to show the screen with running and recently used apps. Each app icon will have a sample page above it. Flick up on the page (not the app icon) and the page will fly away and the app icon will disappear. This quits that app. Then reset your device. Press and hold the Home and Sleep buttons simultaneously until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.
Maybe you are looking for
-
Picture buttons. How to change?
Hi all. I have a menu of two buttons. I want tro create the following actions: when the button is active, it should be a text in a frame when the button is not active, it shoul be only the text in a different color. Any suggestion will be helpful. Ex
-
Adobe indesign CC on mac X 10.7.5 - freeze when package file for print
Has anyone else had this problem or can suggest a solution? When I have a file in indesign ready to print i go to package it and it get to the little loading bar and freezes indefinitely. No package and i have to force quit. Real pain! HELP!
-
Renaming a Tablespace and Schema in Oracle 9i
hi, i have the following scenario 1') Schema with name X attached with a default tablespace whos name also is X. i want to now move to Schema with name Y attached with a default tablespace whos name is Y. but i want the data to be same as that of poi
-
I am not sure why, I use user wired inet than wireless, but as of recently (maybe at the time of the change from netcfg to netctl) my conky setup fails to hide the wired info and replace it with the wireless one. Can it be ifplug related and as such
-
Do these stack trace results offer any insight?
I have two scripts that have been running happily for a couple of years. The last couple of days they have thrown "The request has exceeded the allowable time limit Tag" -- one for a cfquery and another for a cfftp. Can anyone tell me if these cfdu