Какой рейтинг вас больше интересует?
|
Главная /
Каталог блоговCтраница блогера Yarixxx/Записи в блоге |
Apache Commons Predicate
2015-06-23 15:56:13 (читать в оригинале)In addition to Java Collections Predicates there are special Predicates from org.apache.commons.collections. In the same way as with plain Predicate we can define it as a anonymous class with implementation of evaluate method. It works in same way as a test method from plain Predicate. Predicate<Integer> isEven = new Predicate<Integer>() { @Override public boolean evaluate(Integer […]
CSS: transition & animation
2015-06-19 18:47:31 (читать в оригинале)There are two basic ways to animate elements in CSS: transition and animation. Here is a simple and functional demonstration of both ways using cogweels. animation In order to use animation property we have to define desired animation: @keyframes rotate { from { transform: rotate(0deg); transform-origin: 150px 150px; } to { transform: rotate(360deg); transform-origin: 150px […]
How to use AbstractSequentialList to implement List
2015-06-19 17:49:53 (читать в оригинале)In order to implement List with sequential access to elements we can inherit AbstractSequentialList as a template. There are two methods we still have to implement: size() and method to retrieve ListIterator: public class MyNiceList extends AbstractSequentialList { //... private int size; @Override public ListIterator listIterator(int index) { return new MyBoxIterator(index); } @Override public int […]
Тэги: abstractsequentiallist, java, list, listiterator, uncategorized
Комментарии | Постоянная ссылка
How to use AbstractList to implement List
2015-06-19 17:02:19 (читать в оригинале)If we wish to have our own implementation for List interface there is no need to write even a hundred lines of code. We can use AbstractList as a template and implement only mandatory methods. By default we have to implement only couple of methods: get and size. Lets create random access List implementation with […]
List interface in Java Collections
2015-06-18 18:43:28 (читать в оригинале)In Java Collections List interface defines most common methods to use over a sequence of Objects. One of the notable features is that we can use use duplicates, multiple null elements and so on. Also we can be sure on the order of elements and access them by index. There are three ways to add […]
Категория «Блогосфера»
Взлеты Топ 5
+1241 |
1261 |
Robin_Bad |
+1175 |
1263 |
Futurolog |
+1090 |
1094 |
MySQL Performance Blog |
+1028 |
1098 |
Ksanexx |
+1023 |
1097 |
Refinado |
Падения Топ 5
-2 |
511 |
партнерки |
-3 |
605 |
Блог о раскрутке и монетизации сайта. |
-3 |
86 |
Mandalaй.ru |
-4 |
17 |
Выводы простого человека |
-4 |
39 |
БЛОГика |
Популярные за сутки
Загрузка...
BlogRider.ru не имеет отношения к публикуемым в записях блогов материалам. Все записи
взяты из открытых общедоступных источников и являются собственностью их авторов.
взяты из открытых общедоступных источников и являются собственностью их авторов.