Jump to content

Search the Community

Showing results for tags 'map'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News
  • General
    • Suggestions & Feedback
    • General Chat
    • GFX
    • VFX
  • MMO Hub
    • Gamer's Lounge
    • Member's Lounge
    • Developer Lounge
    • Premium Lounge
  • MMO Corner
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Host Listing
    • Server Listing
    • Server Recruitment
    • Server Reviews
    • The Underground
  • User Hub
    • Support
    • Report
    • Contact Staff
  • Merchant Corner
    • Marketplace
  • General Development Releases
  • Tutorials
  • Wasteland

Categories

  • Creative Corner
    • GFX Releases
    • VFX Releases
    • Resources
  • MMO and MMORPG
    • World of Warcraft
    • Lineage 2
    • Minecraft
  • Webmasters
    • Content Management Systems
    • Addons
    • Scripts
    • Designs
    • Proxies
    • HTML
  • Applications
  • Gaming
    • World of Warcraft
    • Lineage 2
    • Minecraft
    • Emulation
    • Nulled Distributions
  • Marketplace
    • Marsh Designs
    • iDarts

Product Groups

  • Membership
  • Advertise
  • Promote

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Interests


How Did You Find Us?


Contributor


Discord

Found 2 results

  1. Hello members of LordCraft, In this tutorial you will learn how to bake light maps for Lineage 2 client. Video: Download Video: Final Result: p.s. you can use this method for interior/exterior lighting. If you dont know how to setup v-ray, just use standart 3ds max scanline renderer. Credits: deMEV
  2. Epicblood

    Java Maps

    Good day class, Today I will be talking about the various maps in Java, and how/when to use them. Forgive me if I kinda ramble, just kinda making this up as I go. Before I get started, I recommend using an IDE such as IntelliJ IDEA Let's start with a Hashmap. These are the most common maps in java and imo the simplest/most versatile. you define a Hasmap like so: HashMap<Integer, String> myMap = new HashMap<Integer, String>(); So, what have we done here? We made an object, called it myMap, and told it the key is going to be an Integer, and the value is going to be a String. Now we can start using it like so: myMap.put(0, "Epicblood"); myMap.put(1, "iDeath"); myMap.put(2, "someOtherFag"); Cool, we added values.*Note: depending on how your key object (In this case String) implements hashcode() it may be possible to have duplicate keys We can do some cool things such as check to see if the map contains a certain key or value: myMap.containsKey(1); myMap.containsValue("Epicblood"); Both of these return the boolean `true`. We can iterate and loop through each key/value pair in the hashmap by doing this: for(Map.Entry pair : myMap.entrySet()){ System.out.println(pair.getValue() + " is awesome!"); } Remember that hashmaps are not ordered! They are sorted based on hashcode and are likely not even remotely in the order you place them in. Getting a Value stored at a Key is very simple; String myName = myMap.get(0); Note that 0 is not the index as it is with an array, it is the key! You can also get the size of a Hashmap by using the `size()` method. int mapSize = myMap.size(); If you want an ordered Hashmap (Hashmap that is in the order that you add ****), you will want to use a LinkedHashmap, it has all the same methods as a Hashmap, however is slightly slower. Now on to a TreeMap. A TreeMap is sorted by keys, and therefore whatever object you use as the key must implement the Comparable interface. Because of this, TreeMap cannot have duplicate Keys, and it is not ordered, however it's methods are the same as Hashmap and LinkedHashMap

About us

MMO-Society is the Forum former known as Lordcraft, MMO-Society offers various of Resources to help you evolve your knowledge within Emulation, In the process we make sure to form a strong community bond in-between each other and thus we are proud to can admit that MMO-Society is possibly the friendliest Community Forum to currently exist.

Useful Quick-Links

×
×
  • Create New...