- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Loos (0.4 sec)
-
guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
} } public void testLinkedGetAdd() { LinkedListMultimap<String, Integer> map = create(); map.put("bar", 1); Collection<Integer> foos = map.get("foo"); foos.add(2); foos.add(3); map.put("bar", 4); map.put("foo", 5); assertEquals("{bar=[1, 4], foo=[2, 3, 5]}", map.toString());
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 17.5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
try { final ByteArrayOutputStream baos = new ByteArrayOutputStream(BYTE_ARRAY_SIZE); final ObjectOutputStream oos = new ObjectOutputStream(baos); try { oos.writeObject(obj); } finally { oos.close(); } return baos.toByteArray(); } catch (final IOException ex) { throw new IORuntimeException(ex);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
@SuppressWarnings("unchecked") <T> T serialClone(T o) { try { ByteArrayOutputStream bos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(bos); oos.writeObject(o); oos.flush(); oos.close(); ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray())); T clone = (T) ois.readObject();
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
@ElementTypesAreNonnullByDefault public final class Throwables { private Throwables() {} /** * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage: * * <pre> * for (Foo foo : foos) { * try { * foo.bar(); * } catch (BarException | RuntimeException | Error t) { * failure = t; * } * } * if (failure != null) {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Throwables.java
@ElementTypesAreNonnullByDefault public final class Throwables { private Throwables() {} /** * Throws {@code throwable} if it is an instance of {@code declaredType}. Example usage: * * <pre> * for (Foo foo : foos) { * try { * foo.bar(); * } catch (BarException | RuntimeException | Error t) { * failure = t; * } * } * if (failure != null) {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableMapTest.java
ByteArrayOutputStream bytes = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(bytes); oos.writeObject(map); oos.flush(); int mapSize = bytes.size(); oos.writeObject(keySet); oos.writeObject(values); oos.close(); int finalSize = bytes.size(); assertThat(finalSize - mapSize).isLessThan(100); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Feb 27 13:27:08 GMT 2024 - 41.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java
@SuppressWarnings("unchecked") <T> T serialClone(T o) { try { ByteArrayOutputStream bos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(bos); oos.writeObject(o); oos.flush(); oos.close(); ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(bos.toByteArray())); T clone = (T) ois.readObject();
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 37.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
} } public void testLinkedGetAdd() { LinkedListMultimap<String, Integer> map = create(); map.put("bar", 1); Collection<Integer> foos = map.get("foo"); foos.add(2); foos.add(3); map.put("bar", 4); map.put("foo", 5); assertEquals("{bar=[1, 4], foo=[2, 3, 5]}", map.toString());
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Feb 21 10:16:44 GMT 2024 - 18K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
ByteArrayOutputStream bytes = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(bytes); oos.writeObject(map); oos.flush(); int mapSize = bytes.size(); oos.writeObject(keySet); oos.writeObject(values); oos.close(); int finalSize = bytes.size(); assertThat(finalSize - mapSize).isLessThan(100); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Tue Apr 30 14:39:16 GMT 2024 - 37.3K bytes - Viewed (0)