nq$d.java 2.26 KB
import com.google.common.base.Preconditions;
import com.google.common.collect.BoundType;
import com.google.common.collect.DiscreteDomain;
import com.google.common.collect.Range;

final class nq$d<C extends Comparable>
  extends nq<C>
{
  private static final long serialVersionUID = 0L;
  
  nq$d(C paramC)
  {
    super((Comparable)Preconditions.checkNotNull(paramC));
  }
  
  final BoundType a()
  {
    return BoundType.CLOSED;
  }
  
  final C a(DiscreteDomain<C> paramDiscreteDomain)
  {
    return this.a;
  }
  
  final nq<C> a(BoundType paramBoundType, DiscreteDomain<C> paramDiscreteDomain)
  {
    Object localObject = this;
    switch (nq.1.a[paramBoundType.ordinal()])
    {
    default: 
      throw new AssertionError();
    case 2: 
      paramBoundType = paramDiscreteDomain.previous(this.a);
      if (paramBoundType == null) {
        localObject = nq.c.f();
      }
      break;
    case 1: 
      return (nq<C>)localObject;
    }
    return new nq.b(paramBoundType);
  }
  
  final void a(StringBuilder paramStringBuilder)
  {
    paramStringBuilder.append('[').append(this.a);
  }
  
  final boolean a(C paramC)
  {
    return Range.a(this.a, paramC) <= 0;
  }
  
  final BoundType b()
  {
    return BoundType.OPEN;
  }
  
  final C b(DiscreteDomain<C> paramDiscreteDomain)
  {
    return paramDiscreteDomain.previous(this.a);
  }
  
  final nq<C> b(BoundType paramBoundType, DiscreteDomain<C> paramDiscreteDomain)
  {
    Object localObject = this;
    switch (nq.1.a[paramBoundType.ordinal()])
    {
    default: 
      throw new AssertionError();
    case 1: 
      paramBoundType = paramDiscreteDomain.previous(this.a);
      if (paramBoundType == null) {
        localObject = nq.a.f();
      }
      break;
    case 2: 
      return (nq<C>)localObject;
    }
    return new nq.b(paramBoundType);
  }
  
  final void b(StringBuilder paramStringBuilder)
  {
    paramStringBuilder.append(this.a).append(')');
  }
  
  public final int hashCode()
  {
    return this.a.hashCode();
  }
  
  public final String toString()
  {
    String str = String.valueOf(String.valueOf(this.a));
    return str.length() + 2 + "\\" + str + "/";
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/nq$d.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */