William S Fulton
e6035d625a
Java 9 deprecation warning fixes for test-suite and examples
2019-02-21 13:47:39 -08:00
William S Fulton
44cd658a53
Add in missing Java std::list listIterator index range checking
2017-06-29 19:32:34 +01:00
William S Fulton
90d2ba884c
Java std::list std::vector - test addAll and subList
2017-06-26 13:42:19 +01:00
William S Fulton
ecebbdd0df
Additional add/remove methods added to Java std::list wrappers
...
Add functions similar to java.util.LinkedList<E>:
addFirst
addLast
removeFirst
removeLast
2017-06-25 00:10:06 +01:00
William S Fulton
c686045f55
More efficient add implementation for Java std::list
...
The default implementation in AbstractSequentialList<E>
calls add(size(), e) and size() might be expensive.
2017-06-24 23:33:31 +01:00
William S Fulton
ea55c5bba0
Java std::vector std::list enhancements
...
- Add missing vector copy constructor
- Add constructor to initialize the containers. Note that Java's
equivalent constructor for ArrayList just sets the capacity, whereas
the wrappers behave like the C++ constructor and set the size. I've
done this mainly because there has been a vector(size_type) constructor
in the Java wrappers for many years, so best to keep this unchanged.
2017-06-24 14:30:03 +01:00
William S Fulton
2d99027935
Fix removing elements from std::list Java wrapper
...
Add missing remove method on Java side (without it elements aren't
removed).
2017-06-23 16:17:00 +01:00
William S Fulton
428b332e68
Improve Java std::list std::vector runtime tests and wrap std::list::clear
2017-06-23 15:42:59 +01:00
William S Fulton
990c597365
Wrap std::list::empty as isEmpty in Java
2017-06-23 15:26:53 +01:00
Alan Woodland
65483965ab
Base _runme.java for li_std_list off li_std_vector_runme.java
2016-05-31 14:49:01 +01:00