text stringlengths 7 1.01M |
|---|
package com.sangupta.reread.utils;
import java.io.StringReader;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Set;
import org.apache.commons.io.IOUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.sangupta.jerry.util.AssertUtils;
import com.sangu... |
/*
* Copyright (C) 2009-2017 Lightbend Inc. <https://www.lightbend.com>
*/
package play.libs.concurrent;
import akka.actor.ActorSystem;
import scala.concurrent.ExecutionContext;
import scala.concurrent.ExecutionContextExecutor;
/**
* Provides a custom execution context from an Akka dispatcher.
*
* Subclass this ... |
package com.appleframework.jms.kafka;
import org.apache.log4j.Logger;
import com.appleframework.jms.kafka.consumer.BytesMessageConsumer;
public class KafkaMessageConsumer extends BytesMessageConsumer {
private static Logger logger = Logger.getLogger(KafkaMessageConsumer.class.getName());
@Override
public void p... |
/*
* Copyright (c) 2019 Im2be <https://github.com/Im2be>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.rayo.storage.riak;
import java.util.Collection;
import org.codehaus.jackson.annotate.JsonCreator;
import org.codehaus.jackson.annotate.JsonIgnore;
import org.codehaus.jackson.annotate.JsonProperty;
import com.basho.riak.client.RiakLink;
import com.basho.riak.client.convert.RiakKey;
import com.basho.riak.... |
package com.stylefeng.guns.generator;
import com.baomidou.mybatisplus.generator.AutoGenerator;
import com.baomidou.mybatisplus.generator.InjectionConfig;
import com.baomidou.mybatisplus.generator.config.DataSourceConfig;
import com.baomidou.mybatisplus.generator.config.GlobalConfig;
import com.baomidou.mybatisplus.gen... |
/*
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by ap... |
package org.firstinspires.ftc.teamcode.subsystems;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
import com.qualcomm.robotcore.util.Range;
public class FlyWheels {
DcMotor flyWheelLeft;
DcMotor flyWheelRight;
public FlyWheels(DcMotor flyWheelLeft, D... |
/*
* Copyright 2009-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... |
package com.gmail.ianlim224.slotmachine.holder;
import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.InventoryHolder;
public class SelectionHolder implements InventoryHolder{
@Override
public Inventory getInventory() {
return null;
}
}
|
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License;
* you may not use this file except in compliance with the Elastic License.
*/
package org.elasticsearch.xpack.rollup;
import org.elasticsearch.action.suppo... |
package com.vladmihalcea.hibernate.type.range;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.*;
import java.time.format.DateTimeFormatter;
import java.time.format.DateTimeFormatterBuilder;
import java.time.format.DateTimeParseException;
import java.time.temporal.ChronoField;
import java.ut... |
package com.manage.common.core.core.controller.impl;
import com.github.pagehelper.PageHelper;
import com.github.pagehelper.PageInfo;
import com.manage.common.core.annotation.Log;
import com.manage.common.core.constant.HttpStatus;
import com.manage.common.core.core.controller.AbstractController;
import com.manage.commo... |
package com.denizenscript.denizen.nms.v1_15.impl.network.packets;
import com.denizenscript.denizen.nms.interfaces.packets.PacketOutSpawnEntity;
import com.denizenscript.denizencore.utilities.ReflectionHelper;
import net.minecraft.server.v1_15_R1.*;
import java.util.UUID;
public class PacketOutSpawnEntityImpl... |
public void enviaEmail(String smtpHost, String from, String to, String assunto, String conteudo, AnexoTO[] arquivos, String assinatura) throws Exception {
Properties props = System.getProperties();
props.put("mail.smtp.host", smtpHost);
props.put("mail.smtp.port", "25");
props.put("m... |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package ru.stqa.pft.addressbook.appmanager;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import ru.stqa.pft.addressbook.model.GroupData;
import ru.stqa.pft.addressbook.model.Groups;
import java.util.ArrayList;
import java.util.List;
public class GroupHelp... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.cobi.kgg.business.simu;
import java.util.ArrayList;
import java.util.List;
import org.openide.util.Exceptions;
import org.... |
/*
*
* Copyright (c) 2021 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requir... |
public class ModelDuck extends Duck {
public ModelDuck () {
flyBehavior = new FlyNoWay ();
quackBehavior = new Quack ();
}
public void display () {
System.out.println ( "I'm a model duck");
}
}
|
package com.slack.api.app_backend.dialogs.response;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Option {
private String label;
private String value;
}
|
package com.udbac.versionpublish.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Pageable;
import org.springframework.data.web.PageableDefault;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMa... |
package com.megvii.zhimasdk.b.a.h;
public class a
{
static
{
if (!a.class.desiredAssertionStatus()) {}
for (boolean bool = true;; bool = false)
{
a = bool;
return;
}
}
public static byte[] a(byte[] paramArrayOfByte, int paramInt)
{
return a(paramArrayOfByte, 0, paramArrayOf... |
package com.tom.cpm.shared.definition;
import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import com.tom.cpm.shared.io.IOHelper;
public class Link {
protected String loader;
protected String path;
public Link(IOHelper in) throws IOException {
int pathLen = in.read();
... |
/**
* Copyright 2015-2017 Red Hat, Inc, and individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless require... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
/*
* Copyright 2021 ALE International
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this
* software and associated documentation files (the "Software"), to deal in the Software
* without restriction, including without limitation the rights to use, copy, modify, merge,
* publish,... |
package com.salesmanager.shop.store.controller.system;
import com.salesmanager.core.business.exception.ServiceException;
import com.salesmanager.core.business.services.system.MerchantConfigurationService;
import com.salesmanager.core.model.merchant.MerchantStore;
import com.salesmanager.core.model.reference.language.L... |
/*
* Copyright (C) 2011 University of Washington
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2018.11.... |
package doublyEndedQueue;
public class MyDeque<E> {
Node<E> head, tail;
public void addToHead(E data) {
Node<E> toAdd = new Node<>(data);
if(head == null) {
head = tail = toAdd;
return;
}
head.next = toAdd;
toAdd.prev = head;
head = toAdd;
}
public E removeLast() {
if(head == null) {
r... |
package org.opensha.commons.mapping.gmt;
import static org.junit.Assert.*;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.ArrayList;
import javax.imageio.ImageIO;
import org.junit.Before... |
package lang.compiler.ast.lvalues;
import lang.compiler.visitors.AstVisitor;
public class Identifier extends AbstractLvalue {
private String name;
public Identifier(int line, int column, String name) {
super(line, column);
this.name = name;
}
public String getName() {
return name;
}
public ... |
/*******************************************************************************
* ============LICENSE_START=======================================================
* pcims
* ================================================================================
* Copyright (C) 2018 Wipro Limited.
* ===================... |
package com.github.slamdev.morrigna.toolset.integration;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javax.enterprise.context.Dependent;
import java.io.IOException;
import java.net.URL;
import static java.lang.Character.toLowerCase;
@Dependent
public class FXMLTypedLoader {
public <T exte... |
package com.codework.game.util;
public enum GameState {
start,
have_up,
have_down,
have_stay,
hit_stay,
hit,
end
}
|
package ltd.fyeco.soms.domain.constant;
/**
* 分页默认参数
*
* @author tianxin
*
*/
public class CPage {
/**
* 当前页码
*/
public static final Integer PAGE_1 = 1;
/**
* 总页数
*/
public static final Integer PAGES_1 = 1;
/**
* 每页记录条数
*/
public static final Integer PERPAGE_10 = 10;
... |
package com.atguigu.gulimall.coupon.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 商品满减信息
*
* @author blank
* @email wangzhiyun@gmail.com
... |
/*
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); ... |
package com.atguigu.netty.buf;
import io.netty.buffer.ByteBuf;
import io.netty.buffer.Unpooled;
import java.nio.charset.Charset;
public class NettyByteBuf02 {
public static void main(String[] args) {
//创建ByteBuf
ByteBuf byteBuf = Unpooled.copiedBuffer("hello,world!", Charset.forName("utf-8"));
... |
/*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed u... |
/*
*
* Copyright (c) 2013 - 2020 Lijun Liao
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
package com.company.customeridentificationsystem.security;
import com.company.customeridentificationsystem.model.dao.User;
import com.company.customeridentificationsystem.model.dao.UserPrincipal;
import com.company.customeridentificationsystem.repository.UserRepository;
import lombok.RequiredArgsConstructor;
import or... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.iotcentral.implementation;
import com.azure.core.annotation.ExpectedResponses;
import com.azure.core.annotation.Get;
import com.... |
package com.kuropatin.zenbooking.repository;
import com.kuropatin.zenbooking.exception.ApplicationException;
import com.kuropatin.zenbooking.model.Property;
import com.kuropatin.zenbooking.model.PropertyType;
import com.kuropatin.zenbooking.model.request.PropertySearchCriteria;
import com.kuropatin.zenbooking.reposito... |
/*
* Copyright 2019-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
package org.gentar.biology.targ_rep.allele;
import static org.springframework.restdocs.payload.PayloadDocumentation.fieldWithPath;
import java.util.ArrayList;
import java.util.List;
import org.springframework.restdocs.payload.FieldDescriptor;
public class AlleleFieldsDescriptors {
public static List<FieldDescri... |
package com.yiqiniu.easytrans.queue.consumer;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
impor... |
package pr01_Database.models;
public class Ivan extends PeopleImpl {
public Ivan(String userName, Long id) {
super(userName, id);
}
}
|
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.analytics.synapse.artifacts.models;
import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.u... |
/*
* Copyright © 2020 Cask Data, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... |
package com.cursos.dsmovie.configs;
import java.util.Arrays;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.env.Environment;
import org.springframework.secur... |
package helios.samples.validator;
import static org.junit.Assert.assertEquals;
import java.util.function.BiPredicate;
import java.util.List;
import org.junit.Test;
import helios.Helios;
import helios.Validator;
import helios.ValidatorError;
import helios.ValidatorsUtil;
public class ValidatorsUtilTest {
@Test... |
package com.example.chenwa.helloworld;
import org.junit.Test;
import static org.junit.Assert.*;
/**
* Example local unit test, which will execute on the development machine (host).
*
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
*/
public class ExampleUnitTest {
@T... |
package org.vaadin.addons.grid_accessibility_extension.client;
import com.vaadin.shared.ui.grid.AbstractGridExtensionState;
public class GridAccessibilityExtensionState
extends AbstractGridExtensionState {
private static final long serialVersionUID = 1L;
public String[] headerIds;
} |
/*
* Copyright 2015-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "licen... |
package com.android.launcher3.allapps;
import android.animation.Animator;
import android.animation.AnimatorInflater;
import android.animation.AnimatorListenerAdapter;
import android.animation.AnimatorSet;
import android.animation.ArgbEvaluator;
import android.animation.ObjectAnimator;
import android.annotation.Suppres... |
/* Copyright (C) 2013-2022 TU Dortmund
* This file is part of LearnLib, http://www.learnlib.de/.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/... |
package com.mauriciotogneri.stewie.specs;
import com.mauriciotogneri.jsonschema.Definitions;
import com.mauriciotogneri.stewie.annotations.EndPoint;
import com.mauriciotogneri.stewie.annotations.Parameters;
import com.mauriciotogneri.stewie.annotations.Responses;
import com.mauriciotogneri.stewie.model.SwaggerEndPoint... |
package com.example.gulimall.member.dao;
import com.example.gulimall.member.entity.MemberCollectSpuEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
/**
* 会员收藏的商品
*
* @author slx
* @email 905096784@qq.com
* @date 2020-10-29 13:42:48
*/
@Mapper
public i... |
package com.w3engineers.core.libmeshx.wifid;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.net.NetworkInfo;
import android.net.wifi.p2p.WifiP2pManager;
import timber.log.Timber;
import static android.net.wifi.p2p.WifiP2pManager.WIFI_P2P_CONNEC... |
package com.vip.saturn.job.console.utils;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
public class ConsoleThreadFactory implements ThreadFactory {
private AtomicInteger threadNumber = new AtomicInteger(1);
private boolean isMultiple = true;
privat... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package server;
import communications.Message;
import communications.MessageType;
import hippodrome.RacingTrack;
import hippodrome.actions.Race;
import java.io.ByteArrayOutputStream;
import java.io.ObjectOutputStream;
/**
* Racing Track endpoint representation on the server side.
*
* @author Hugo Fragata
* @auth... |
/*
* Copyright 2019 HERMENEUT Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable la... |
package ca.intelliware.ihtsdo.mlds.web.rest;
import static org.junit.Assert.assertEquals;
import java.net.URI;
import java.net.URISyntaxException;
import org.junit.Test;
import ca.intelliware.ihtsdo.mlds.web.RouteLinkBuilder;
public class RouteLinkBuilderTest {
RouteLinkBuilder routeLinkBuilder = new RouteLinkBui... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.micromanager.remote;
import java.util.HashMap;
import java.util.Set;
import java.util.concurrent.*;
import java.util.funct... |
package com.cnpc.framework.filter;
import java.io.IOException;
import java.util.Set;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import org.apache.shiro.subject.Subject;
import org.apache.shiro.util.CollectionUtils;
import org.apache.shiro.web.filter.authz.AuthorizationFilter;
/*
<b... |
package com.other.solid.OpenClosePrinciple;
public interface Car {
void worlInTaxi();
}
|
/*
* Copyright 2017-2018 original authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... |
package org.springframework.samples.jpetstore.domain.logic;
import java.lang.reflect.Method;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.aop.AfterReturningAdvice;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.... |
/*******************************************************************************
* Copyright 2016 Johannes Boczek
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.city.phonemall.cart.exception;
/**
* @author liuZhongKun
* @Description:
* @email 1071607950@qq.com
* @date 2021-05-30 08:47:33
**/
public class CartExceptionHandler extends RuntimeException {
}
|
package rl.java.course.addressbook.tests;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import rl.java.course.addressbook.model.GroupData;
import rl.java.course.addressbook.model.Groups;
import static org.hamcrest.CoreMatchers.equalTo;
import static org.hamcrest.MatcherAssert.assertT... |
package quickcore.core.utils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.method.Handler... |
/*
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by a... |
import java.awt.Color;
import java.io.Serializable;
public class BarreV3 extends Piece implements Serializable{
/**
*
*/
private static final long serialVersionUID = 7071286017054867712L;
/**
*
*/
private byte[][] disposition = { {1,0,0,0,0},{1,0,0,0,0},{1,0,0,0,0},{0,0,0,0,0},{0,0,0,0,0}, };
private ... |
/*
* Copyright (c) 2008 Kasper Nielsen.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or ag... |
package org.openalto.alto.client.wrapper;
import javax.ws.rs.core.Response;
import org.openalto.alto.client.ALTOResponse;
import org.openalto.alto.client.ALTOResponseParser;
import org.openalto.alto.common.ALTOMediaType;
public class ErrorParser extends ALTOResponseParser {
@Override
public ALTOResponse pa... |
/**
* Copyright (c) 2016, Anthony Anderson(Illyohs)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* * Redistributions of source code must retain the above copyright notice, this
* ... |
package crc64c5a61f37761d5630;
public class MvxJavaContainer
extends java.lang.Object
implements
mono.android.IGCUserPeer
{
/** @hide */
public static final String __md_methods;
static {
__md_methods =
"";
mono.android.Runtime.register ("MvvmCross.Platform.Droid.MvxJavaContainer, MvvmCross.Platform.Droi... |
package edu.stanford.math.plex4.io;
import java.awt.image.BufferedImage;
import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileReader;
import java.io.FileWrite... |
/*
* Copyright 2017
* Ubiquitous Knowledge Processing (UKP) Lab
* Technische Universität Darmstadt
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses... |
/*
* Copyright © 2021-present Arcade Data Ltd (info@arcadedata.com)
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless requ... |
package com.clsnull.gulimall.product.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.clsnull.common.utils.PageUtils;
import com.clsnull.gulimall.product.entity.SpuInfoDescEntity;
import java.util.Map;
/**
* spu信息介绍
*
* @author luozhifa
* @email 1334084021@qq.com
* @date 2021-11-1... |
package weed3rdb.features;
import org.junit.Test;
import org.noear.weed.cache.ICacheServiceEx;
import org.noear.weed.cache.LocalCache;
/**
* @author noear 2021/4/2 created
*/
public class CacheTest2 {
ICacheServiceEx cache = new LocalCache();
@Test
public void test() throws Exception{
long time... |
public class Teacher extends Profession {
void teach(String name) {
}
} |
package net.minecraft.item;
import java.util.List;
import javax.annotation.Nullable;
import net.minecraft.block.DispenserBlock;
import net.minecraft.client.util.ITooltipFlag;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.tags.ItemTags;
import net.minecraft.util.ActionResult;
import net.minecraf... |
package com.hbird.common.chating.highlight;
import com.hbird.common.chating.data.BarData;
import com.hbird.common.chating.data.BarLineScatterCandleBubbleData;
import com.hbird.common.chating.data.ChartData;
import com.hbird.common.chating.data.DataSet;
import com.hbird.common.chating.interfaces.dataprovider.BarDataPro... |
/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you... |
package lintcode;
import util.adt.TreeNode;
import static util.TreeUtil.createNode;
public class BaseBinaryTrase {
public static TreeNode create() {
TreeNode node1 = createNode(1);
TreeNode node2 = createNode(2);
TreeNode node3 = createNode(3);
node1.right = node2;
node2... |
package br.copy;
import java.util.Scanner;
import br.Music;
import br.Text;
import br.Window;
public class Stage3 {
private Music BGM;
private Music TRANS;
private Text LOGO;
private Window FRAME;
private Story STORY;
Scanner stdIn = new Scanner(System.in);
public Stage3(){
this.BGM = new Music("tes... |
package com.example.mximc.smoney.util.lock;
import android.content.Context;
import android.view.WindowManager;
public class ScreenUtils {
@SuppressWarnings("deprecation")
public static int[] getScreenDispaly(Context context){
WindowManager wm=(WindowManager)context.getSystemService(Context.WINDOW_SER... |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
package com.kevin.nexus;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.ClientResponse;
import com.sun.jersey.api.client.WebResource;
import com.sun.jersey.api.client.config.ClientConfig;
import com.sun.jersey.api.client.config.DefaultClientConfig;
import com.sun.jersey.api.client.filter.HTT... |
package org.herebdragons.graphics.enums;
public enum RendererType {
JAVA_2D,
JAVA_FX,
OPEN_GL
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.