Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Sorting Router Interface in a list.
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Md Jamaluddin khan
Sorting Router Interface in a list.
1 Answer(s)      a year and 10 months ago
Posted in : Java Beginners


Hi All,

I have list which contains router interface as GigabitEthernet 1/0, GigabitEthernet 1/1,GigabitEthernet 1/11, GigabitEthernet 1/10, GigabitEthernet 1/3

Now i am applying Collection.sort(list) to sort, but it causes a problem it sorts something like this GigabitEthernet 1/0, GigabitEthernet 1/1, GigabitEthernet 1/10, GigabitEthernet 1/11,
GigabitEthernet 1/3

But in our case it should sort it like this GigabitEthernet 1/0, GigabitEthernet 1/1, GigabitEthernet 1/3, GigabitEthernet 1/10, GigabitEthernet 1/11

How can i achieve this type of sorting in java. It's really urgent. Help is greatly required and thanks in advance.


Advertisement
View Answers

January 22, 2013 at 3:05 PM


I am still waiting for an answer from anybody. It's a bit urgent. Please suggest me something.



Related Tutorials/Questions & Answers:
Sorting Router Interface in a list.
Sorting Router Interface in a list.  Hi All, I have list which contains router interface as GigabitEthernet 1/0, GigabitEthernet 1/1,GigabitEthernet... Collection.sort(list) to sort, but it causes a problem it sorts something like
Router
Router  hii, What is the router ?   hello, Router is a layer 3 device. it route the packet from one LAN to different LAN. For avoid the broadcast we use router
Advertisements
List interface
List interface  What is the List interface
List interface
List interface  Give me some of the real time examples that can be developed based on List and its implemented classes
What is the List interface?
What is the List interface?  Hi, What is the List interface? thanks,   The list interface is nothing but a subtype of tha java ordered... is list Interface in Java Program
Introduction to List and Queue Interface
Introduction to List and Queue Interface        List Interface : The List interface extends the Collection interface to define
router connectivity
router connectivity  how can connect 4-5 system in LAN for routing and how to connect two routers to each other show mw code
sorting
sorting   write a program to arrange sorting in rows,column and diagonal
Sorting
Sorting  can any help me know which sorting algorithm java uses for sorting collection and arrays
sorting
sorting  write to a program to arrange the sorting in rows, column and digonal
sorting
sorting  how to do sorting without using bubble sort,selection sort
sorting
sorting  write a program which sort by lastname if the string of list is "firstnamelastname" i)66aa,cckk,ddac
esign filter for wifi router
esign filter for wifi router  How can i make a filter for my wifi router to filter packets from specific ip or mac address
VoIP Router
VoIP Router          Broadband Phone Services VoIP Router D-Link introduces the DVG-1402S Broadband Phone Service VoIP Router. The DVG-1402S is designed
Open Source Router
Open Source Router Open-source router firm looks Vyatta, an open-source router company, released the first beta version of its WAN router code... as an open-source router software project. Vyatta's code combines a modified Linux
Sorting in Java
Sorting in Java  Sorting in Java
List In Java
structure is implemented in Java using List interface. List interface allows... into list. A list may contain the duplicate elements. The List interface provides... Of List Interface boolean add(E e) : This method adds the specified element
sorting numbers
sorting numbers  How to sort the numbers in ascending order  ...); System.out.println("Enter List Elements: "); ArrayList<Integer> list=new... in ascending order: "); Collections.sort(list); for(int i=0;i<
group by sorting
group by sorting  group by sorting of data in SQL
Sorting Array List in Java
Sorting Array List in Java In this example you will learn about sorting array list in java using an example. By default array list are sorted as the element... List Interface. ArrayList are created with the initial size and exceed when
interface
interface   what is the use of marking interface
interface.
interface.  Write short note on interface.   Please visit the following link: Java Interface
interface
interface  will the interface implements a interface   Hi Friend, No. Interface can extends another interface but cannot implements it, because interface will not contain the implementation. Thanks
interface
interface   Hi I have interface in that interface 3 methods are there , after some days client said that,i want to add one more method in that interface ,so how can add 4 method so that the implemented class did not affect
INTERFACE
INTERFACE  how interface support multiple inheritance in java
interface
interface  can we extend interface?   Hi Friend, Yes an interface can be extended by other interface like using extends keyword interface A{ } interface B extends A{ } For Example: interface IntefaceA { void
interface
interface  what the use of interface?   An interface is one... variables.Any class can implement(inherit)the interface and make use... is achieved by using the interface (by implementing more than one interface at a time
interface
interface  develop a library interface which has drawbook(),returnbook()(with fine),checkstatus() and reservebook() methods.all the methods tagged with public
interface
interface  develop a library interface which has drawbook(),returnbook()(with fine),checkstatus() and reservebook() methods.all the methods tagged with public
interface
interface  What is marker interface ?? what is its use in java programming?? is this us in programming ??Explain is implementation with code
interface
interface  why do we need interface in java..if it`s usefull for to obtain multiple inheritance in the sense how it gonna be achieved...and i can...)...the y we need interface...THis is question often i heard from my developer
 

 

 

DMCA.com