text
stringlengths
7
995k
package com.penglecode.awesome4j.java.lang.string; public class StringBuilderExample { public static void setLength() { StringBuilder sb = new StringBuilder(); System.out.println(">>> length = " + sb.length() + ", capacity = " + sb.capacity() + ", value = " + sb.toString()); sb.append("java.lang.String"); Sy...
package rs.fon.eklubmobile.listeners; import org.json.JSONObject; /** * Created by milos on 4/23/16. */ public interface EKlubEventListener<T> { void onTaskStarted(); void onDataReceived(T data); void onTaskFinished(); void onNotificationReceived(String message); }
/* * Copyright (C) 2019 The Android Open Source Project * * 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 app...
package com.msgkatz.ratesapp.presentation.ui.chart.base; import com.msgkatz.ratesapp.presentation.common.fragment.BaseGdxFragment; import com.msgkatz.ratesapp.presentation.ui.chart.ChartActivity; /** * Created by msgkatz on 15/09/2018. */ public abstract class BaseChartGdxFragment extends BaseGdxFragment { }
/* * Copyright 2020 Google LLC * * 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 applicable law or agreed to ...
package com.kevin.test.coolweather.db; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.sqlite.SQLiteDatabase; import com.kevin.test.coolweather.model.City; import com.kevin.test.coolweather.model.County; import com.kevin.test.coolweather.mo...
/** * Copyright 2015 IBM Corp. 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. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law ...
package com.peterjurkovic.travelagency.conversation.handlers; import com.peterjurkovic.travelagency.conversation.repository.WebSocketSessionsTable; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.web.socket.BinaryMessage; import org.springframework.web.socket.CloseStatus; import org...
package com.intkr.saas.valve.auth; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import com.intkr.saas.client.user.SessionClient; import com.intkr.saas.engine.auth.AuthorityEngine; import com.intkr.saas.engine.aut...
package com.test.demo.myapp.activity; import android.os.AsyncTask; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.View; import com.test.demo.myapp.R; import java.util.ArrayList; import java.util.List; public class MemoryTesterActivity extends AppCompatActivity { ...
package me.chanjar.weixin.mp.bean.message; import com.thoughtworks.xstream.annotations.XStreamAlias; import com.thoughtworks.xstream.annotations.XStreamConverter; import lombok.Data; import lombok.EqualsAndHashCode; import me.chanjar.weixin.common.api.WxConsts; import me.chanjar.weixin.common.util.xml.XStreamCDataConv...
/* PUC Minas - Ciencia da Computacao Nome: Exemplo0031 Autor: Axell Brendow Batista Moreira Matricula: 631822 Versao: 1.0 Data: 17/03/2018 */ import IO.*; public class Exemplo0031 { /** * @param args the command line arguments */ public static void main(Strin...
package control.commands; /** Autores: Alberto Pastor Moreno e Ivan Fernandez Mena - 2E - * * Funcion: Clase que controla el commando de ayuda de la aplicacion. */ import control.Controller; import logic.multigames.games.Game; import static util.CommandParser.commandHelp; public class HelpCommand extends NoParam...
package io.renren.common.utils; import cn.afterturn.easypoi.excel.ExcelExportUtil; import cn.afterturn.easypoi.excel.ExcelImportUtil; import cn.afterturn.easypoi.excel.entity.ExportParams; import cn.afterturn.easypoi.excel.entity.ImportParams; import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; import org.apache...
package com.sequenceiq.cloudbreak.api.model; public final class NetworkConfig { public static final String OPEN_NETWORK = "0.0.0.0/0"; public static final String SUBNET_8 = "10.0.0.0/8"; public static final String SUBNET_16 = "10.0.0.0/16"; private NetworkConfig() { throw new IllegalStateExc...
/** * 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 m...
package org.knowm.xchange.examples.gateio.trade; import java.io.IOException; import java.math.BigDecimal; import java.util.List; import org.knowm.xchange.Exchange; import org.knowm.xchange.currency.CurrencyPair; import org.knowm.xchange.dto.Order.OrderType; import org.knowm.xchange.dto.marketdata.Trades; import org.kn...
/* * Copyright 2017 TWO SIGMA OPEN SOURCE, LLC * * 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 appl...
package com.schibsted.spain.apidownchecker.demo; import retrofit.Callback; import retrofit.client.Response; import retrofit.http.GET; public interface MyAPI { @GET("/200") void get200(Callback<Response> callback); @GET("/503") void get503(Callback<Response> callback); }
package lab212.xiaoyin.order.service.feign; import lab212.xiaoyin.fmmall.beans.Orders; import lab212.xiaoyin.order.service.feign.fallback.OrderStatusUpdateClientFallback; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PutMapping; import org.springframework.web.bi...
/******************************************************************************* * Copyright 2015, 2017 Francesco Benincasa (info@abubusoft.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 Lic...
package uk.gov.hmcts.cmc.claimstore.jobs.cron; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; import org.quartz.JobExecutionException; import uk.gov.hmcts.cmc.clai...
/* * 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 ...
/* * Copyright 2017-2022 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...
/* * Copyright 2010 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 applica...
/******************************************************************************* * Copyright (c) 2013, Salesforce.com, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistr...
package com.example.proweather; 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 { @Test public void...
package deltix.containers.interfaces; /** * Format of output string. */ public enum UUIDPrintFormat { /** * Lower case with dashes. Example: '01234567-89ab-cdef-1011-121314151617'. */ LOWERCASE(1), /** * Upper case with dashes. This is the default output format. Example: '01234567-89AB-CD...
package org.json; /* Copyright (c) 2002 JSON.org 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, pub...
// Copyright © 2011-2021 Andy Goryachev <andy@goryachev.com> package goryachev.common.util; import java.io.BufferedInputStream; import java.io.BufferedWriter; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.util.Properties; public cl...
package com.leoc.threads.locks.reentrand; import java.util.Random; public class Client implements Runnable { private final Bar bar; private final String name; private final Random random = new Random(); public Client(String name, Bar bar) { this.name = name; this.bar = bar; } ...
/* * MIT License * * Copyright (c) 2021 MASES s.r.l. * * 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, cop...
/* * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 ...
package io.quarkus.qute; import io.quarkus.qute.TemplateNode.Origin; import java.util.List; import java.util.Objects; import java.util.Optional; public class HtmlEscaper implements ResultMapper { private final List<String> escapedContentTypes; public HtmlEscaper(List<String> escapedContentTypes) { t...
package com.roomstogo.klarna.service; import com.klarna.rest.Client; import com.klarna.rest.api.order_management.OrderManagementCapturesApi; import com.klarna.rest.api.order_management.model.OrderManagementCapture; import com.klarna.rest.api.order_management.model.OrderManagementCaptureObject; import com.klarna.rest....
package com.bazl.dna.lims.dao; import com.bazl.dna.lims.model.po.AmLearnRecord; import java.util.List; public interface AmLearnRecordMapper { int deleteByPrimaryKey(String id); int insert(AmLearnRecord record); AmLearnRecord selectByPrimaryKey(String id); List<AmLearnRecord> selectAll(); int u...
// Copyright (C) 2015 The Android Open Source Project // // 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 ...
/** * * 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"); ...
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.kpdus.com/jad.html // Decompiler options: packimports(3) annotate safe package com.facebook.stetho.inspector.elements.android; import android.app.Activity; import android.app.Application; import android.os.Bundle; import andr...
package webl.lang; import java.util.*; import java.io.*; import webl.lang.expr.*; import webl.util.*; /** WebL execution machine that sets up a default execution context, accepts WebL programs, and parses and executes them. */ public class Machine { /** Universe of predefined functions and variables. */ publi...
/* * 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 ...
/* * JBoss, Home of Professional Open Source * Copyright 2011-2013 Red Hat Inc. and/or its affiliates and other contributors * as indicated by the @author tags. All rights reserved. * See the copyright.txt in the distribution for a * full listing of individual contributors. * * This copyrighted material is made ...
package com.cennetelmasi.hurma.shared; /** * <p> * FieldVerifier validates that the name the user enters is valid. * </p> * <p> * This class is in the <code>shared</code> package because we use it in both * the client code and on the server. On the client, we verify that the name is * valid before sending an RP...
/* * The MIT License (MIT) * * Copyright (c) 2016 Nikolas Falco * * 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...
package io.lsdconsulting.interceptors.http; import lombok.Builder; import lombok.RequiredArgsConstructor; import lombok.SneakyThrows; import org.springframework.http.HttpHeaders; import org.springframework.http.HttpStatus; import org.springframework.http.client.ClientHttpResponse; import java.io.InputStream; @Builde...
package com.roro.mall.tiny.config; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling; /** * 定时任务配置 * Created by macro on 2019/4/8. */ @Configuration @EnableScheduling public class SpringTaskConfig { }
/* * Licensed to Elastic Search and Shay Banon under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. Elastic Search licenses this * file to you under the Apache License, Version 2.0 (the * "License"); you 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 com.speedment.example.webinar.db.sakila.sakila.payment; import com.speedment.example.webinar.db.sakila.sakila.payment.generated.GeneratedPayment; /** * The main interface for entities of the {@code payment}-table in the database. * <p> * This file is safe to edit. It will not be overwritten by the code gen...
package thut.bling.client; import net.minecraft.util.ResourceLocation; import thut.bling.ThutBling; import thut.core.client.render.animation.ModelHolder; import thut.core.client.render.model.IModel; import thut.core.client.render.model.ModelFactory; import thut.wearables.EnumWearable; public class BlingRender extends...
/* * Copyright (c) 2016, Upnext Technologies Sp. z o.o. * All rights reserved. * * This source code is licensed under the BSD 3-Clause License found in the * LICENSE.txt file in the root directory of this source tree. */ package io.upnext.beaconcontrol.app.s2s.utils; import android.content.Context; import andro...
public class Foo { public static void test() { new Foo(); } }
package textgen; import java.util.AbstractList; /** A class that implements a doubly linked list * * @author UC San Diego Intermediate Programming MOOC team * * @param <E> The type of the elements stored in the list */ public class MyLinkedList<E> extends AbstractList<E> { LLNode<E> head; LLNode<E> tail; in...
package self.liang.spring.example.lifecycle; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.stereotype.Component; @Component public class MyBeanPostProcessor implements BeanPostProcessor { // populateBean(beanName, mb...
package com.bastengao.usbserialport; import androidx.annotation.NonNull; import com.facebook.react.ReactPackage; import com.facebook.react.bridge.NativeModule; import com.facebook.react.bridge.ReactApplicationContext; import com.facebook.react.uimanager.ViewManager; import java.util.ArrayList; import java.util.Colle...
/* * This file is part of the DITA Open Toolkit project. * * Copyright 2020 Jarno Elovirta * * See the accompanying LICENSE file for applicable license. */ package org.dita.dost.chunk; import com.google.common.annotations.VisibleForTesting; import org.w3c.dom.Element; import java.net.URI; import java.util.Arra...
package com.nbs.iais.ms.security.common.messageing.reads; import com.nbs.iais.ms.common.dto.wrappers.DTOBoolean; import com.nbs.iais.ms.common.messaging.reads.abstracts.AbstractRead; public class IsAuthenticatedRead extends AbstractRead<DTOBoolean> { private static final long serialVersionUID = 200L; public...
package com.endava.cats.fuzzer.fields; import com.endava.cats.args.FilesArguments; import com.endava.cats.fuzzer.http.ResponseCodeFamily; import com.endava.cats.http.HttpMethod; import com.endava.cats.io.ServiceCaller; import com.endava.cats.io.TestCaseExporter; import com.endava.cats.model.CatsResponse; import com.en...
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you 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 ...
/* * Copyright 2018 Google, 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 to in...
package com.codepath.apps.twitterclient.fragments; import android.app.AlertDialog; import android.graphics.Color; import android.support.v4.app.DialogFragment; import android.os.Bundle; import android.text.Editable; import android.text.TextWatcher; import android.util.Log; import android.view.LayoutInflater; import an...
package seedu.knowitall.logic.commands; import static java.util.Objects.requireNonNull; import static seedu.knowitall.model.Model.PREDICATE_SHOW_ALL_CARDS; import seedu.knowitall.commons.core.Messages; import seedu.knowitall.logic.CommandHistory; import seedu.knowitall.logic.commands.exceptions.CommandException; impo...
package org.tron.core.db; import com.google.protobuf.ByteString; import java.io.File; import java.util.Random; import org.junit.AfterClass; import org.junit.Assert; import org.junit.BeforeClass; import org.junit.Test; import org.tron.common.application.Application; import org.tron.common.application.ApplicationFactory...
/* * 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 FarmCon.com.beans; /** * * @author Pratip */ public class Customer { private int customerID; private String name; ...
package javacard.security; public interface ECKey { void setFieldFP(byte[] buffer, short offset, short length) throws CryptoException; void setFieldF2M(short e) throws CryptoException; void setFieldF2M(short e1, short e2, short e3) throws CryptoException; void setA(byte[] buffer, short offset, short length) throws...
/* Copyright 1996-2008 Ariba, 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...
package org.strangeforest.tcb.stats.model.records.categories; import org.strangeforest.tcb.stats.model.records.*; import static org.strangeforest.tcb.stats.model.records.RecordDomain.*; public class MostEntriesCategory extends TournamentResultsCategory { public MostEntriesCategory() { super("Most Entries"); re...
/* * 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 2004-2009 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...
/* * Copyright 2016 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * * 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.apach...
package com.java110.front.components.menuGroup; import com.java110.core.context.IPageData; import com.java110.front.smo.menuGroup.IListMenuGroupsSMO; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Component; /** *...
/* * MIT License * * Copyright (c) 2020 Azercoco & Technici4n * * 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, ...
package me.zhengjie.modules.quartz.service; import me.zhengjie.modules.quartz.domain.QuartzJob; import me.zhengjie.modules.quartz.domain.QuartzLog; import me.zhengjie.modules.quartz.service.dto.JobQueryCriteria; import org.springframework.data.domain.Pageable; import javax.servlet.http.HttpServletResponse; import jav...
package io.antmedia.test.statistic; import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertTrue; import static org.junit.Assert.fail; import org.junit.Test; import org.red5.server.api.scheduling.ISchedulingService; import org.red5.server.scheduling.QuartzSchedulingService; import static or...
/* * Copyright 2020 The Android Open Source Project * * 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 applica...
/* * Copyright (c) 2009-2014 jMonkeyEngine * 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 list of ...
/* * SPDX-License-Identifier: Apache-2.0 * * Copyright 2008-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/license...
/** * This file is part of the Iritgo/Aktario Framework. * * Copyright (C) 2005-2011 Iritgo Technologies. * Copyright (C) 2003-2005 BueroByte GbR. * * Iritgo licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You ...
package gov.va.vinci.leo.tools; /* * #%L * Leo Core * %% * Copyright (C) 2010 - 2014 Department of Veterans Affairs * %% * 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 * * htt...
package com.atguigu.gmall.pms.dao; import com.atguigu.gmall.pms.entity.SpuInfoEntity; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import org.apache.ibatis.annotations.Mapper; /** * spu信息 * * @author wll * @email 912860998@qq.com * @date 2020-01-02 11:53:45 */ @Mapper public interface SpuInfoDao ext...
package fhw.gulimall.ware.service.impl; import org.springframework.stereotype.Service; import java.util.Map; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import fhw.gulimall.c...
package org.logevents.observers.batch; import org.logevents.LogEvent; import org.logevents.LogEventObserver; import org.slf4j.Marker; import org.slf4j.MarkerFactory; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.concurrent.ScheduledExecutorService; import java.util.function.C...
/** * Copyright (C) 2015 e-UCM Research Group (e-adventure-dev@e-ucm.es) * * 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 * * Un...
package org.xmlet.htmlapi; import org.xmlet.xsdasm.classes.infrastructure.EnumInterface; public enum EnumFormmethodInput implements EnumInterface<String> { GET(String.valueOf("get")), POST(String.valueOf("post")), PUT(String.valueOf("put")), DELETE(String.valueOf("delete")); private final String value...
package org.wso2.carbon.apimgt.api.model; import java.util.Map; import java.util.Objects; public class OperationPolicy { public enum PolicyType { SET_HEADER, REMOVE_HEADER, REWRITE_HTTP_METHOD, CALL_INTERCEPTOR_SERVICE, REWRITE_RESOURCE_PATH, ADD_QUERY_PARAM, ...
/* * Copyright 2021-2022 Michael Pozhidaev <msp@luwrain.org> * * 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 applic...
package Java2Util.Enum; import org.junit.Test; /***Created by moyongzhuo *On 2018/5/10 ***11:00. ******/ public class Human{ public void sing(HumanState state){ switch (state) { case HAPPY: singHappySong(); break; case SAD: ...
/* * Copyright (c) 2019, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. * * WSO2 Inc. licenses this file to you 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.o...
/* * Copyright The Stargate 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 agreed to ...
package android.support.coreui; import com.biz.health.cooey_app.C0644R; public final class C0084R { public static final class attr { public static final int font = 2130968958; public static final int fontProviderAuthority = 2130968960; public static final int fontProviderCerts = 213096896...
/* * Copyright 2000-2014 JetBrains s.r.o. * * 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 com.tngtech.jgiven.integration.spring; import com.tngtech.jgiven.impl.Scenario; import com.tngtech.jgiven.junit.JGivenClassRule; import com.tngtech.jgiven.junit.JGivenMethodRule; import org.junit.ClassRule; import org.junit.Rule; /** * A variant of {@link SpringRuleScenarioTest} works with two * stage type ...
/* * 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...
package seedu.address.model.person; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.junit.Test; import seedu.address.testutil.PersonBuilder; //@@author tanhengyeow public class MajorConta...
package org.ovirt.engine.core.common.config; import java.util.Date; import java.util.HashSet; import java.util.List; import java.util.Map; import org.ovirt.engine.core.common.EngineWorkingMode; import org.ovirt.engine.core.common.businessentities.SerialNumberPolicy; import org.ovirt.engine.core.compat.Version; publi...
// Generated from ./src/main/java/sparksoniq/jsoniq/compiler/parser/Jsoniq.g4 by ANTLR 4.7 // Java header package sparksoniq.jsoniq.compiler.parser; import org.antlr.v4.runtime.atn.*; import org.antlr.v4.runtime.dfa.DFA; import org.antlr.v4.runtime.*; import org.antlr.v4.runtime.misc.*; import org.antlr.v4.runtime.tr...
package com.whoiszxl.model.ddd; import org.springframework.core.annotation.AliasFor; import org.springframework.stereotype.Component; import java.lang.annotation.*; @Target({ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) @Documented @Inherited @Component public @interface DomainAbility { @AliasFor(annot...
/** * 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 m...
package com.jmtad.jftt.module.login.presenter; import android.text.TextUtils; import com.jmtad.jftt.base.BasePresenter; import com.jmtad.jftt.http.HttpApi; import com.jmtad.jftt.http.RxCallBack; import com.jmtad.jftt.http.bean.response.BaseResponse; import com.jmtad.jftt.module.login.contract.LoginContract; import co...
/******************************************************************************* * Copyright (c) 2019-01-20 @author <a href="mailto:iffiff1@gmail.com">Tyler Chen</a>. * All rights reserved. * * Contributors: * <a href="mailto:iffiff1@gmail.com">Tyler Chen</a> - initial API and implementation. * Auto Generate ...