Programmer's Heaven - For C C++ Pascal Delphi Visual Basic Assembler C# .Net java JSP ASP ASP.NET Javascript developers!

Members
Username:

Password:

Auto-login

Register
Why register?
Forgot Password?
Blogs new Blog section
Jobs
Webtools
Message Boards
FAQ
CodePedia
Free Magazines
User search
What's New
Top lists
RSS Feeds RSS Feed

Submit content
Contact Us
Link To Us
Help



Advanced Search
Newsletter
E-mail:


More information
Current area: HOME -> Java -> Data Structures Articles Adds this page to your personal favorites
  Data Structures
Data Structures in Java: Part 1, Getting Started
This article introduces you to the Java Collections Framework. Once you learn how to use it, you'll never need to reinvent common data structures and algorithms again.
Visits: 3673 Updated: 2001-7-12  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 10, The Comparator Interface, Part 2
This article shows you how to use a Comparator object to achieve a natural ordering on a set of names added to a TreeSet collection while ignoring the case used to write the names.
Visits: 1493 Updated: 2001-8-16  Rating: (Not Rated)  More info & Ratings
Advertisment
Data Structures in Java: Part 11, The Comparator Interface, Part 3
This article shows you how to use a Comparator to cause a TreeSet collection to be sorted in descending order while preserving the impact of differences in case.
Visits: 750 Updated: 2001-9-4  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 12, The Comparator Interface, Part 4
This article shows you how to extract the contents of a collection into an array, and how to use a Comparator object to sort the contents of the array into reverse natural order.
Visits: 889 Updated: 2001-9-4  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 13, The Comparator Interface, Part 5
This article shows you how to use the sort method of the Collections class along with a Comparator object to sort the contents of a List into reverse natural order.
Visits: 596 Updated: 2001-9-4  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 14, The Comparator Interface, Part 6
This article shows you how to use a Comparator created by the reverseOrder method of the Collections class to sort a list into reverse natural order. He also shows you how to use the reverse method of the Collections class to reverse the order of the elements in a list.
Visits: 719 Updated: 2001-9-24  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 15, The toArray Method, Part 1
This article shows you how to use the simpler version of the overloaded toArray method that is declared in the Collection interface. He also explains why you need to exercise care when using the elements stored in the resulting array to avoid corrupting the state of the objects referred to by the elements in the collection.
Visits: 886 Updated: 2001-9-28  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 16, The toArray Method, Part 2
This article shows you how to use the more-complex version of the toArray method declared in the Collection interface.
Visits: 735 Updated: 2001-9-28  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 2, What Is a Collection?
This article explains some of the details surrounding the use of a Java collection for creating data structures.
Visits: 1054 Updated: 2001-7-12  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 3, Purpose of Framework Interfaces
There are six core interfaces in the Collections Framework. Each interface declares several methods and provides a contract that applies to each declared method. The method declarations and their associated contracts specify the general behavior of ...
Visits: 704 Updated: 2001-7-12  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 4, Purpose of Implementations and Algorithms
This article explains that the core collection interfaces in the Java Collections Framework allow collections to be manipulated without regard for how they are implemented.
Visits: 752 Updated: 2001-7-12  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 5, The Core Collection Interfaces
The Java Collections Framework defines six core interfaces, in two distinct trees. Learn the inheritance structure and the purpose of those interfaces.
Visits: 974 Updated: 2001-7-3  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 6
This article shows you that all concrete implementations in the Java Collections Framework (JDK 1.3) implement a subinterface of the Collection interface.
Visits: 765 Updated: 2001-7-12  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 7, The Comparable Interface, Part 1
This article explains the (lack of) interaction between the Comparable interface and the Java Collections Framework with respect to collections of type List.
Visits: 782 Updated: 2001-8-2  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 8, The Comparable Interface, Part 2
This article shows you why the elements stored in a TreeSet collection need to be references to objects instantiated from a class that implements the Comparable interface.
Visits: 662 Updated: 2001-8-2  Rating: (Not Rated)  More info & Ratings
Data Structures in Java: Part 9, The Comparator Interface, Part 1
This article discusses and illustrates the use of the Comparator interface. The sorting order established by a Comparator may be different or may be the same as the natural order.
Visits: 1034 Updated: 2001-8-2  Rating: (Not Rated)  More info & Ratings
Faster List Iteration with RandomAccess Interface
Java SDK version 1.4, due out later this year, introduces a new java.util.RandomAccess interface that has no methods. What is the purpose of this interface?
Visits: 369 Updated: 2003-12-9  Rating: (Not Rated)  More info & Ratings
Optimizing Hash Functions For a Perfect Map
Maps that are hash tables are normally implemented using a hash function which maps a data item (the key) into an indexing table. The hash function takes the key and uses some algorithm to convert it to an index value into an array.
Visits: 521 Updated: 2003-12-9  Rating: (Not Rated)  More info & Ratings
Secure type-safe collections
In this article, Piet Jonas demonstrates a framework that overcomes the standard Java Collections Framework's main problem: its containers lack the ability to restrict themselves to storing objects of a specific type.
Visits: 768 Updated: 2001-5-9  Rating: (Not Rated)  More info & Ratings
StringBuffer versus String
Reggie illuminates the underlying performance impact of using the StringBuffer and String classes when performing concatenations.
Visits: 581 Updated: 2003-12-11  Rating: (Not Rated)  More info & Ratings
The Hashbelt Data Structure
In the first article in this series, I explained why it is sometimes necessary to expire data, and discussed the standard approaches for doing so. This article focuses on a particular algorithm for data expiration that I have taken to calling a "hashbelt." (The name is a combination of "hashmap" and "conveyor belt.") Hashbelts are a generic data structure that can be easily adapted to a wide variety of problems involving time-sensitive data. They are easy to use, simple to extend, and quite efficient.
Visits: 847 Updated: 2003-12-9  Rating: (Not Rated)  More info & Ratings
The Performance of Java's Lists
In this article I'll take a look at the performance differences between the LinkedList implementation and the Vector/ArrayList implementations.
Visits: 485 Updated: 2003-12-9  Rating: (Not Rated)  More info & Ratings
The WeakHashMap Class
WeakHashMap is a type of Map which differs from other Maps in more than just having a different implementation. WeakHashMap uses weak references to hold its keys, making it one of the few classes able to respond to the fluctuating memory requirements of the JVM. This can make WeakHashMap unpredictable at times, unless you know exactly what you are doing with it. In the following sections I examine how best to use WeakHashMap, and why WeakHashMap behaves the way it does.
Visits: 448 Updated: 2003-12-9  Rating: (Not Rated)  More info & Ratings


Found a broken link? Please report it to us.

  See also  
 Files
   Development Tools
    Database
   Sourcecode & Tools
    JSP Development Tools
   JavaBeans
    Other
 Articles
   Java Articles & Tutorials
    Database
   Core Java Articles
    Classes & Objects
 

Sponsored Links 
SFTP components for .NET
Add complete SSH and SFTP support to your .NET framework application
Virtual File System SDK
Create your own file systems in Windows and .NET applications
PureCM Software Configuration Management
Version control and integrated issue tracking - powerful and easy to use. Get your FREE trial now!
CSTSOFT Instrumentation .NET & ActiveX Components
A collection of 13 instrumentation .NET/ActiveX/VCL components including Gauge,Knob,LED,Trend etc.
Software Localization Tool Sisulizer
Localize DotNet, C++ Builder, Delphi, C/C++, Visual Basic & Java apps & html help. Try Sisulizer now
Buy a link now

Advertisement

  Free Magazine  
Free Magazines
CSO magazine offers an in-depth look at security-related products and services, presented through a strategic management
subscribe now


Newsletter Submit Content About Advertising Awards Contact Us Link to us    
© 1996-2008 Community Networks Ltd All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by ASP.NET Konsult - Synchron Data.