Skip to content

Instantly share code, notes, and snippets.

View nifrasismail's full-sized avatar
🏁
MicroService Based API Developer

Nifras Ismail nifrasismail

🏁
MicroService Based API Developer
View GitHub Profile
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];
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++) {
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;
}
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
<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"/>
axis2_status_t (AXIS2_CALL *
invoke)(axis2_handler_t *handler,
const axis2_env_t *env,
struct axis2_msg_ctx *msg_ctx);
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);
<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"/>
<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>
<!-- 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">