- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for last (0.14 sec)
-
src/test/java/org/codelibs/core/collection/ArrayMapTest.java
* . */ @Test public void testArrayIteratorRemoveException() { exception.expect(ClIllegalStateException.class); exception.expectMessage(is("last == -1")); ArrayMap<String, String> m = new ArrayMap<String, String>(); Iterator<Map.Entry<String, String>> i = m.entrySet().iterator(); i.remove(); } /** * */
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 10.7K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayMap.java
} } @Override public void remove() { assertState(last != -1, "last == -1"); ArrayMap.this.removeAt(last); if (last < current) { current--; } last = -1; } } /** * {@link ArrayMap}の{@link Map.Entry}です。 * * @param <K>
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 20.6K bytes - Viewed (1) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
* * @return 最後の要素 */ public E removeLast() { if (isEmpty()) { throw new NoSuchElementException(); } final E last = header.previous.element; header.previous.remove(); return last; } /** * 先頭に追加します。 * * @param element * 追加するオブジェクト */ public void addFirst(final E element) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11K bytes - Viewed (1) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
} } private boolean isExceptPrivateAccessible(Method method) { // to avoid warning of JDK-internal access at Java11 // Lasta Di does not need private access to the classes final String fqcn = method.getDeclaringClass().getName();
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/BeanDescImpl.java
final ArrayMap<String, List<MethodDesc>> methodDescListMap = new ArrayMap<>(); for (final Method method : beanClass.getMethods()) { if (method.isBridge() || method.isSynthetic()) { continue; } final String methodName = method.getName(); List<MethodDesc> list = methodDescListMap.get(methodName); if (list == null) {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 26.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/io/TraverserUtilTest.java
final List<String> list = new ArrayList<String>(); traverser.forEach((ResourceHandler) (path, is) -> list.add(path)); list.sort((s1, s2) -> s1.compareTo(s2)); assertThat(list.size(), is(2)); assertThat(list.get(0), is("junit/textui/ResultPrinter.class")); assertThat(list.get(1), is("junit/textui/TestRunner.class")); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/GenericsUtilTest.java
/** * */ public interface ListType { /** * @return List */ List<String> listOfString(); /** * @return List */ List<Class<?>> listOfClass(); /** * @return List */ List<?> listOfWildcard(); } /** * */ public interface SetType {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/TraversalUtil.java
final List<Traverser> list = newArrayList(); for (final Iterator<URL> it = ClassLoaderUtil.getResources(baseName); it.hasNext();) { final URL url = it.next(); final Traverser resourcesType = getTraverser(url, rootPackage, baseName); if (resourcesType != null) { list.add(resourcesType); } }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 19.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/GenericsUtil.java
} /** * パラメータ化された{@link List}の要素型を返します。 * <p> * <code>type</code>がパラメータ化された{@link List}でない場合は<code>null</code>を返します。 * </p> * * @param type * パラメータ化された{@link List} * @return パラメータ化された{@link List}の要素型 */ public static Type getElementTypeOfList(final Type type) { if (!isTypeOf(type, List.class)) { return null; }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 23.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/IndexedIteratorTest.java
import java.io.StringReader; import java.util.List; import org.junit.Test; /** * @author wyukawa * */ public class IndexedIteratorTest { /** * @throws Exception */ @Test public void test() throws Exception { final List<String> list = newArrayList(); list.add("aaa"); list.add("bbb"); list.add("ccc");
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.7K bytes - Viewed (0)