GIT Cheat Sheet
Friday, May 25, 2012
Friday, May 11, 2012
Tech Review Software Engineering Java: Friday, May 11, 2012
sorting a arraylist in java
working with doubles in java
double const in java
Tech Review Software Engineering: Thursday, May 10, 2012
Java - TreeMap with Comparator
- OK example
- another example
- RepastEdge<T>
class EdgeCompare implements Comparator
{
public int compare(Object a, Object b)
{
double weightA = (RepastEdge)a.getWeight();
double weightB = (RepastEdge)b.getWeight();
int returnVal;
if (weightA < weightB)
{
returnVal = 1;
}
else if (weightA == weightB)
{
returnVal = 0;
}
else
{
returnVal = -1;
}
return returnVal;
}
}
TreeSet ts = new TreeSet(new EdgeCompare);
How to use Comparator and Comparable in Java? With example
http://javarevisited.blogspot.com/2011/06/comparator-and-comparable-in-java.html#ixzz1uV1pTbSG
http://javarevisited.blogspot.com/2011/06/comparator-and-comparable-in-java.html#ixzz1uV1pTbSG
- negative returned if a < b
- zero if a == b
- positive if a > b
List of Java Exceptions
Java - Arrays
Java - List Example
- interface definition
Java - Class WattsBetaSmallWorldGenerator
Java - Class RepastEdge<T>
Java - for each loop Example
- for (String city : cities)
Thursday, May 10, 2012
Tech Review Software Development: Wednesday, May 9, 2012
PDF to Text
prdtotext
Freeware Lists from Tech Support Alert
- https://www.techsupportalert.com/
- Mark uses this site for information on software packages.
- Gizmo's Freeware
How do I Reference another Project?
- Add it as a project under references.
Java - Sorting a Key value pair
- http://stackoverflow.com/questions/109383/how-to-sort-a-mapkey-value-on-the-values-in-java
- This is kind of weird in what it does
- You are actually look at the original map to sort elements in the created map
I would like some thing that show how to create a TreeMap with a Comparator.
Java - HashSet
Java - BidiMap (bidirectional lookup map)
Java - Indexer (returns a BidiMap with an index on each element)
Saturday, May 5, 2012
Tech Review Software Development: Friday, May 4, 2012
E.U. court rules programming languages not copyrightable
- Has no affect upon the
Affect Versus Effect
Pro Git
- Nice book and site
Windows 8's new look makes sense, if you can take the shock
- I need to play with Windows 8 so I know how it works HCI wise
Tech Review Software Development: Wednesday, May 2, 2012
I am having some trouble with GIT and need to understand really what is going on.
- pull is a fetch and commit
- simple but doesn't go into enough detail
- more detail
What a git reset --hard Does in Plain English
expe
Subscribe to:
Comments (Atom)
