Skip to content

Commit 5feee9c

Browse files
committed
Add automatically-generated stubs
1 parent 7004c87 commit 5feee9c

26 files changed

+473
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Generated automatically from org.apache.commons.collections4.Factory for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
6+
public interface Factory<T>
7+
{
8+
T create();
9+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Generated automatically from org.apache.commons.collections4.Get for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import java.util.Collection;
6+
import java.util.Map;
7+
import java.util.Set;
8+
9+
public interface Get<K, V>
10+
{
11+
Collection<V> values();
12+
Set<K> keySet();
13+
Set<Map.Entry<K, V>> entrySet();
14+
V get(Object p0);
15+
V remove(Object p0);
16+
boolean containsKey(Object p0);
17+
boolean containsValue(Object p0);
18+
boolean isEmpty();
19+
int size();
20+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Generated automatically from org.apache.commons.collections4.IterableGet for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import org.apache.commons.collections4.Get;
6+
import org.apache.commons.collections4.MapIterator;
7+
8+
public interface IterableGet<K, V> extends Get<K, V>
9+
{
10+
MapIterator<K, V> mapIterator();
11+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Generated automatically from org.apache.commons.collections4.IterableMap for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import java.util.Map;
6+
import org.apache.commons.collections4.IterableGet;
7+
import org.apache.commons.collections4.Put;
8+
9+
public interface IterableMap<K, V> extends IterableGet<K, V>, Map<K, V>, Put<K, V>
10+
{
11+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Generated automatically from org.apache.commons.collections4.IterableSortedMap for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import java.util.SortedMap;
6+
import org.apache.commons.collections4.OrderedMap;
7+
8+
public interface IterableSortedMap<K, V> extends OrderedMap<K, V>, SortedMap<K, V>
9+
{
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Generated automatically from org.apache.commons.collections4.KeyValue for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
6+
public interface KeyValue<K, V>
7+
{
8+
K getKey();
9+
V getValue();
10+
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Generated automatically from org.apache.commons.collections4.MapIterator for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import java.util.Iterator;
6+
7+
public interface MapIterator<K, V> extends Iterator<K>
8+
{
9+
K getKey();
10+
K next();
11+
V getValue();
12+
V setValue(V p0);
13+
boolean hasNext();
14+
void remove();
15+
}
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
// Generated automatically from org.apache.commons.collections4.MapUtils for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import java.io.PrintStream;
6+
import java.util.Map;
7+
import java.util.Properties;
8+
import java.util.ResourceBundle;
9+
import java.util.SortedMap;
10+
import org.apache.commons.collections4.Factory;
11+
import org.apache.commons.collections4.IterableMap;
12+
import org.apache.commons.collections4.IterableSortedMap;
13+
import org.apache.commons.collections4.MultiMap;
14+
import org.apache.commons.collections4.OrderedMap;
15+
import org.apache.commons.collections4.Predicate;
16+
import org.apache.commons.collections4.Transformer;
17+
import org.apache.commons.collections4.map.MultiValueMap;
18+
19+
public class MapUtils
20+
{
21+
protected MapUtils() {}
22+
public static <K, V, C> MultiValueMap<K, V> multiValueMap(Map<K, C> p0, Class<C> p1){ return null; }
23+
public static <K, V, C> MultiValueMap<K, V> multiValueMap(Map<K, C> p0, Factory<C> p1){ return null; }
24+
public static <K, V, E> void populateMap(Map<K, V> p0, Iterable<? extends E> p1, Transformer<E, K> p2, Transformer<E, V> p3){}
25+
public static <K, V, E> void populateMap(MultiMap<K, V> p0, Iterable<? extends E> p1, Transformer<E, K> p2, Transformer<E, V> p3){}
26+
public static <K, V> IterableMap<K, V> fixedSizeMap(Map<K, V> p0){ return null; }
27+
public static <K, V> IterableMap<K, V> iterableMap(Map<K, V> p0){ return null; }
28+
public static <K, V> IterableMap<K, V> lazyMap(Map<K, V> p0, Factory<? extends V> p1){ return null; }
29+
public static <K, V> IterableMap<K, V> lazyMap(Map<K, V> p0, Transformer<? super K, ? extends V> p1){ return null; }
30+
public static <K, V> IterableMap<K, V> predicatedMap(Map<K, V> p0, Predicate<? super K> p1, Predicate<? super V> p2){ return null; }
31+
public static <K, V> IterableMap<K, V> transformedMap(Map<K, V> p0, Transformer<? super K, ? extends K> p1, Transformer<? super V, ? extends V> p2){ return null; }
32+
public static <K, V> IterableSortedMap<K, V> iterableSortedMap(SortedMap<K, V> p0){ return null; }
33+
public static <K, V> Map<K, V> emptyIfNull(Map<K, V> p0){ return null; }
34+
public static <K, V> Map<K, V> putAll(Map<K, V> p0, Object[] p1){ return null; }
35+
public static <K, V> Map<K, V> synchronizedMap(Map<K, V> p0){ return null; }
36+
public static <K, V> Map<K, V> unmodifiableMap(Map<? extends K, ? extends V> p0){ return null; }
37+
public static <K, V> Map<V, K> invertMap(Map<K, V> p0){ return null; }
38+
public static <K, V> MultiValueMap<K, V> multiValueMap(Map<K, ? super Collection<V>> p0){ return null; }
39+
public static <K, V> OrderedMap<K, V> orderedMap(Map<K, V> p0){ return null; }
40+
public static <K, V> Properties toProperties(Map<K, V> p0){ return null; }
41+
public static <K, V> SortedMap<K, V> fixedSizeSortedMap(SortedMap<K, V> p0){ return null; }
42+
public static <K, V> SortedMap<K, V> lazySortedMap(SortedMap<K, V> p0, Factory<? extends V> p1){ return null; }
43+
public static <K, V> SortedMap<K, V> lazySortedMap(SortedMap<K, V> p0, Transformer<? super K, ? extends V> p1){ return null; }
44+
public static <K, V> SortedMap<K, V> predicatedSortedMap(SortedMap<K, V> p0, Predicate<? super K> p1, Predicate<? super V> p2){ return null; }
45+
public static <K, V> SortedMap<K, V> synchronizedSortedMap(SortedMap<K, V> p0){ return null; }
46+
public static <K, V> SortedMap<K, V> transformedSortedMap(SortedMap<K, V> p0, Transformer<? super K, ? extends K> p1, Transformer<? super V, ? extends V> p2){ return null; }
47+
public static <K, V> SortedMap<K, V> unmodifiableSortedMap(SortedMap<K, ? extends V> p0){ return null; }
48+
public static <K, V> V getObject(Map<? super K, V> p0, K p1){ return null; }
49+
public static <K, V> V getObject(Map<K, V> p0, K p1, V p2){ return null; }
50+
public static <K, V> void populateMap(Map<K, V> p0, Iterable<? extends V> p1, Transformer<V, K> p2){}
51+
public static <K, V> void populateMap(MultiMap<K, V> p0, Iterable<? extends V> p1, Transformer<V, K> p2){}
52+
public static <K> Boolean getBoolean(Map<? super K, ?> p0, K p1){ return null; }
53+
public static <K> Boolean getBoolean(Map<? super K, ?> p0, K p1, Boolean p2){ return null; }
54+
public static <K> Byte getByte(Map<? super K, ?> p0, K p1){ return null; }
55+
public static <K> Byte getByte(Map<? super K, ?> p0, K p1, Byte p2){ return null; }
56+
public static <K> Double getDouble(Map<? super K, ?> p0, K p1){ return null; }
57+
public static <K> Double getDouble(Map<? super K, ?> p0, K p1, Double p2){ return null; }
58+
public static <K> Float getFloat(Map<? super K, ?> p0, K p1){ return null; }
59+
public static <K> Float getFloat(Map<? super K, ?> p0, K p1, Float p2){ return null; }
60+
public static <K> Integer getInteger(Map<? super K, ?> p0, K p1){ return null; }
61+
public static <K> Integer getInteger(Map<? super K, ?> p0, K p1, Integer p2){ return null; }
62+
public static <K> Long getLong(Map<? super K, ?> p0, K p1){ return null; }
63+
public static <K> Long getLong(Map<? super K, ?> p0, K p1, Long p2){ return null; }
64+
public static <K> Map<?, ?> getMap(Map<? super K, ?> p0, K p1){ return null; }
65+
public static <K> Map<?, ?> getMap(Map<? super K, ?> p0, K p1, Map<?, ?> p2){ return null; }
66+
public static <K> Number getNumber(Map<? super K, ?> p0, K p1){ return null; }
67+
public static <K> Number getNumber(Map<? super K, ?> p0, K p1, Number p2){ return null; }
68+
public static <K> Short getShort(Map<? super K, ?> p0, K p1){ return null; }
69+
public static <K> Short getShort(Map<? super K, ?> p0, K p1, Short p2){ return null; }
70+
public static <K> String getString(Map<? super K, ?> p0, K p1){ return null; }
71+
public static <K> String getString(Map<? super K, ?> p0, K p1, String p2){ return null; }
72+
public static <K> boolean getBooleanValue(Map<? super K, ?> p0, K p1){ return false; }
73+
public static <K> boolean getBooleanValue(Map<? super K, ?> p0, K p1, boolean p2){ return false; }
74+
public static <K> byte getByteValue(Map<? super K, ?> p0, K p1){ return 0; }
75+
public static <K> byte getByteValue(Map<? super K, ?> p0, K p1, byte p2){ return 0; }
76+
public static <K> double getDoubleValue(Map<? super K, ?> p0, K p1){ return 0; }
77+
public static <K> double getDoubleValue(Map<? super K, ?> p0, K p1, double p2){ return 0; }
78+
public static <K> float getFloatValue(Map<? super K, ?> p0, K p1){ return 0; }
79+
public static <K> float getFloatValue(Map<? super K, ?> p0, K p1, float p2){ return 0; }
80+
public static <K> int getIntValue(Map<? super K, ?> p0, K p1){ return 0; }
81+
public static <K> int getIntValue(Map<? super K, ?> p0, K p1, int p2){ return 0; }
82+
public static <K> long getLongValue(Map<? super K, ?> p0, K p1){ return 0; }
83+
public static <K> long getLongValue(Map<? super K, ?> p0, K p1, long p2){ return 0; }
84+
public static <K> short getShortValue(Map<? super K, ?> p0, K p1){ return 0; }
85+
public static <K> short getShortValue(Map<? super K, ?> p0, K p1, short p2){ return 0; }
86+
public static <K> void safeAddToMap(Map<? super K, Object> p0, K p1, Object p2){}
87+
public static Map<String, Object> toMap(ResourceBundle p0){ return null; }
88+
public static SortedMap EMPTY_SORTED_MAP = null;
89+
public static boolean isEmpty(Map<?, ?> p0){ return false; }
90+
public static boolean isNotEmpty(Map<?, ?> p0){ return false; }
91+
public static int size(Map<?, ?> p0){ return 0; }
92+
public static void debugPrint(PrintStream p0, Object p1, Map<?, ?> p2){}
93+
public static void verbosePrint(PrintStream p0, Object p1, Map<?, ?> p2){}
94+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Generated automatically from org.apache.commons.collections4.MultiMap for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import java.util.Collection;
6+
import org.apache.commons.collections4.IterableMap;
7+
8+
public interface MultiMap<K, V> extends IterableMap<K, Object>
9+
{
10+
Collection<Object> values();
11+
Object get(Object p0);
12+
Object put(K p0, Object p1);
13+
Object remove(Object p0);
14+
boolean containsValue(Object p0);
15+
boolean removeMapping(K p0, V p1);
16+
int size();
17+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Generated automatically from org.apache.commons.collections4.OrderedIterator for testing purposes
2+
3+
package org.apache.commons.collections4;
4+
5+
import java.util.Iterator;
6+
7+
public interface OrderedIterator<E> extends Iterator<E>
8+
{
9+
E previous();
10+
boolean hasPrevious();
11+
}

0 commit comments

Comments
 (0)