All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xapi.collect.proxy.SetOf Maven / Gradle / Ivy

Go to download

Everything needed to run a comprehensive dev environment. Just type X_ and pick a service from autocomplete; new dev modules will be added as they are built. The only dev service not included in the uber jar is xapi-dev-maven, as it includes all runtime dependencies of maven, adding ~4 seconds to build time, and 6 megabytes to the final output jar size (without xapi-dev-maven, it's ~1MB).

The newest version!
package xapi.collect.proxy;

import java.util.Collection;
import java.util.Comparator;
import java.util.Iterator;
import java.util.Set;

import xapi.collect.X_Collect;
import xapi.collect.api.CollectionOptions;

public class SetOf  implements Set{

  private final Comparator cmp;


  public SetOf() {
    this(X_Collect.MUTABLE_SET);
  }
  public SetOf(Comparator cmp) {
    this.cmp = cmp;
  }
  public SetOf(CollectionOptions opts) {
    this(X_Collect.getComparator(opts));
  }

  @Override
  public int size() {
    return 0;
  }

  @Override
  public boolean isEmpty() {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean contains(Object o) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public Iterator iterator() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public Object[] toArray() {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public  T[] toArray(T[] a) {
    // TODO Auto-generated method stub
    return null;
  }

  @Override
  public boolean add(V e) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean remove(Object o) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean containsAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean addAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean retainAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public boolean removeAll(Collection c) {
    // TODO Auto-generated method stub
    return false;
  }

  @Override
  public void clear() {
    // TODO Auto-generated method stub

  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy