This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.nifrasismail.Stack; | |
public class MyStack { | |
private int size; | |
private int[] StackHolder; | |
private int top; | |
public MyStack(int size) { | |
this.size = size; | |
StackHolder = new int[size]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Insertion_Sorting { | |
private int[] A; | |
public void read(int[] A){ | |
this.A = A; | |
} | |
public int[] sort(){ | |
for (int i = 1; i <= A.length-1; i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Bubble_Sort { | |
int[] A; | |
int length; | |
public void read(){ | |
int[] B = {48,25,36,95,96,32,31,32}; | |
A = B; | |
length = A.length; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class SortingNumberPlay { | |
public int[] A; | |
public int len; | |
public void read(){ | |
Scanner S = new Scanner(System.in); | |
//Read the length from the user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<phaseOrder type="inflow"> | |
<phase name="Transport"/> | |
<phase name="PreDispatch"/> | |
<phase name="Dispatch"/> | |
<phase name="PostDispatch"/> | |
<phase name="userPhase1"/> | |
<phase name="userPhase2"/> | |
</phaseOrder> | |
<phaseOrder type="outflow"> | |
<phase name="userPhase3"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
axis2_status_t (AXIS2_CALL * | |
invoke)(axis2_handler_t *handler, | |
const axis2_env_t *env, | |
struct axis2_msg_ctx *msg_ctx); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int axis2_get_instance(axis2_module_t **inst, const axis2_env_t *env); | |
int axis2_remove_instance(axis2_module_t *inst, const axis2_env_t *env); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<module name="addressing" class="axis2_mod_addr"> | |
<inflow> | |
<handler name="AddressingInHandler" class="axis2_mod_addr"> | |
<order phase="PreDispatch"/> | |
</handler> | |
</inflow> | |
<outflow> | |
<handler name="AddressingOutHandler" class="axis2_mod_addr"> | |
<order phase="MessageOut"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<handler name="simple_Handler " | |
class="org.apache.axis.handlers.SimpleHandler "> | |
<order phase="userphase1" phaseFirst="true"/> | |
</handler> | |
<handler name="simple_Handler2 " | |
class="org.apache.axis.handlers.SimpleHandler2 "> | |
<order phase="userphase1" befoer=" simple_Handler "/> | |
</handler> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- It is the place to define and give a name for web service | |
It is the only one root of the wsdl | |
The default namesapce is wsdl name sapce others are define when they are need | |
--> | |
<definitions name="HelloService" | |
targetNamespace="http://www.examples.com/wsdl/HelloService.wsdl" | |
xmlns="http://schemas.xmlsoap.org/wsdl/" | |
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | |
xmlns:tns="http://www.examples.com/wsdl/HelloService.wsdl" | |
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> |
OlderNewer