link start!

This commit is contained in:
cherubin
2026-03-17 13:31:18 -07:00
commit 08abe87cfb
5910 changed files with 386288 additions and 0 deletions
@@ -0,0 +1,29 @@
package org.apache.commons.collections;
import java.util.Collection;
import java.util.Iterator;
import java.util.Set;
public interface Bag extends Collection {
boolean add(Object obj);
boolean add(Object obj, int i);
boolean containsAll(Collection collection);
int getCount(Object obj);
Iterator iterator();
boolean remove(Object obj);
boolean remove(Object obj, int i);
boolean removeAll(Collection collection);
boolean retainAll(Collection collection);
int size();
Set uniqueSet();
}
@@ -0,0 +1,13 @@
package org.apache.commons.collections;
public interface BidiMap extends IterableMap {
Object getKey(Object obj);
BidiMap inverseBidiMap();
MapIterator mapIterator();
Object put(Object obj, Object obj2);
Object removeValue(Object obj);
}
@@ -0,0 +1,9 @@
package org.apache.commons.collections;
import java.util.Collection;
public interface BoundedCollection extends Collection {
boolean isFull();
int maxSize();
}
@@ -0,0 +1,9 @@
package org.apache.commons.collections;
import java.util.Map;
public interface BoundedMap extends Map {
boolean isFull();
int maxSize();
}
@@ -0,0 +1,9 @@
package org.apache.commons.collections;
import java.util.Collection;
public interface Buffer extends Collection {
Object get();
Object remove();
}
@@ -0,0 +1,5 @@
package org.apache.commons.collections;
public interface Closure {
void execute(Object obj);
}
@@ -0,0 +1,5 @@
package org.apache.commons.collections;
public interface Factory {
Object create();
}
@@ -0,0 +1,7 @@
package org.apache.commons.collections;
import java.util.Map;
public interface IterableMap extends Map {
MapIterator mapIterator();
}
@@ -0,0 +1,7 @@
package org.apache.commons.collections;
public interface KeyValue {
Object getKey();
Object getValue();
}
@@ -0,0 +1,17 @@
package org.apache.commons.collections;
import java.util.Iterator;
public interface MapIterator extends Iterator {
Object getKey();
Object getValue();
boolean hasNext();
Object next();
void remove();
Object setValue(Object obj);
}
@@ -0,0 +1,20 @@
package org.apache.commons.collections;
import java.util.Collection;
import java.util.Map;
public interface MultiMap extends Map {
boolean containsValue(Object obj);
Object get(Object obj);
Object put(Object obj, Object obj2);
Object remove(Object obj);
Object remove(Object obj, Object obj2);
int size();
Collection values();
}
@@ -0,0 +1,7 @@
package org.apache.commons.collections;
public interface OrderedBidiMap extends BidiMap, OrderedMap {
BidiMap inverseBidiMap();
OrderedBidiMap inverseOrderedBidiMap();
}
@@ -0,0 +1,9 @@
package org.apache.commons.collections;
import java.util.Iterator;
public interface OrderedIterator extends Iterator {
boolean hasPrevious();
Object previous();
}
@@ -0,0 +1,13 @@
package org.apache.commons.collections;
public interface OrderedMap extends IterableMap {
Object firstKey();
Object lastKey();
Object nextKey(Object obj);
OrderedMapIterator orderedMapIterator();
Object previousKey(Object obj);
}
@@ -0,0 +1,7 @@
package org.apache.commons.collections;
public interface OrderedMapIterator extends MapIterator, OrderedIterator {
boolean hasPrevious();
Object previous();
}
@@ -0,0 +1,5 @@
package org.apache.commons.collections;
public interface Predicate {
boolean evaluate(Object obj);
}
@@ -0,0 +1,13 @@
package org.apache.commons.collections;
public interface PriorityQueue {
void clear();
void insert(Object obj);
boolean isEmpty();
Object peek();
Object pop();
}
@@ -0,0 +1,7 @@
package org.apache.commons.collections;
import java.util.Iterator;
public interface ResettableIterator extends Iterator {
void reset();
}
@@ -0,0 +1,7 @@
package org.apache.commons.collections;
import java.util.ListIterator;
public interface ResettableListIterator extends ListIterator, ResettableIterator {
void reset();
}
@@ -0,0 +1,11 @@
package org.apache.commons.collections;
import java.util.Comparator;
public interface SortedBag extends Bag {
Comparator comparator();
Object first();
Object last();
}
@@ -0,0 +1,9 @@
package org.apache.commons.collections;
import java.util.SortedMap;
public interface SortedBidiMap extends OrderedBidiMap, SortedMap {
BidiMap inverseBidiMap();
SortedBidiMap inverseSortedBidiMap();
}
@@ -0,0 +1,5 @@
package org.apache.commons.collections;
public interface Transformer {
Object transform(Object obj);
}
@@ -0,0 +1,4 @@
package org.apache.commons.collections;
public interface Unmodifiable {
}
@@ -0,0 +1,7 @@
package org.apache.commons.collections.functors;
import org.apache.commons.collections.Predicate;
public interface PredicateDecorator extends Predicate {
Predicate[] getPredicates();
}
@@ -0,0 +1,8 @@
package org.apache.commons.dbcp;
import java.sql.Connection;
import java.sql.SQLException;
public interface ConnectionFactory {
Connection createConnection() throws SQLException;
}
@@ -0,0 +1,30 @@
package org.apache.commons.lang.exception;
import java.io.PrintStream;
import java.io.PrintWriter;
public interface Nestable {
Throwable getCause();
String getMessage();
String getMessage(int i);
String[] getMessages();
Throwable getThrowable(int i);
int getThrowableCount();
Throwable[] getThrowables();
int indexOfThrowable(Class cls);
int indexOfThrowable(Class cls, int i);
void printPartialStackTrace(PrintWriter printWriter);
void printStackTrace(PrintStream printStream);
void printStackTrace(PrintWriter printWriter);
}
@@ -0,0 +1,7 @@
package org.apache.commons.lang.mutable;
public interface Mutable {
Object getValue();
void setValue(Object obj);
}
@@ -0,0 +1,8 @@
package org.apache.commons.lang.text;
import java.text.Format;
import java.util.Locale;
public interface FormatFactory {
Format getFormat(String str, String str2, Locale locale);
}
@@ -0,0 +1,27 @@
package org.apache.commons.pool;
public interface KeyedObjectPool {
void addObject(Object obj) throws Exception;
Object borrowObject(Object obj) throws Exception;
void clear() throws Exception, UnsupportedOperationException;
void clear(Object obj) throws Exception, UnsupportedOperationException;
void close() throws Exception;
int getNumActive() throws UnsupportedOperationException;
int getNumActive(Object obj) throws UnsupportedOperationException;
int getNumIdle() throws UnsupportedOperationException;
int getNumIdle(Object obj) throws UnsupportedOperationException;
void invalidateObject(Object obj, Object obj2) throws Exception;
void returnObject(Object obj, Object obj2) throws Exception;
void setFactory(KeyedPoolableObjectFactory keyedPoolableObjectFactory) throws IllegalStateException, UnsupportedOperationException;
}
@@ -0,0 +1,5 @@
package org.apache.commons.pool;
public interface KeyedObjectPoolFactory {
KeyedObjectPool createPool();
}
@@ -0,0 +1,13 @@
package org.apache.commons.pool;
public interface KeyedPoolableObjectFactory {
void activateObject(Object obj, Object obj2) throws Exception;
void destroyObject(Object obj, Object obj2) throws Exception;
Object makeObject(Object obj) throws Exception;
void passivateObject(Object obj, Object obj2) throws Exception;
boolean validateObject(Object obj, Object obj2);
}
@@ -0,0 +1,21 @@
package org.apache.commons.pool;
public interface ObjectPool {
void addObject() throws Exception;
Object borrowObject() throws Exception;
void clear() throws Exception, UnsupportedOperationException;
void close() throws Exception;
int getNumActive() throws UnsupportedOperationException;
int getNumIdle() throws UnsupportedOperationException;
void invalidateObject(Object obj) throws Exception;
void returnObject(Object obj) throws Exception;
void setFactory(PoolableObjectFactory poolableObjectFactory) throws IllegalStateException, UnsupportedOperationException;
}
@@ -0,0 +1,5 @@
package org.apache.commons.pool;
public interface ObjectPoolFactory {
ObjectPool createPool();
}
@@ -0,0 +1,13 @@
package org.apache.commons.pool;
public interface PoolableObjectFactory {
void activateObject(Object obj) throws Exception;
void destroyObject(Object obj) throws Exception;
Object makeObject() throws Exception;
void passivateObject(Object obj) throws Exception;
boolean validateObject(Object obj);
}