text
stringlengths
7
995k
package net.thevpc.nuts.runtime.standalone.io.printstream; import net.thevpc.nuts.*; import net.thevpc.nuts.runtime.standalone.text.parser.DefaultNutsTextPlain; import net.thevpc.nuts.runtime.standalone.text.parser.DefaultNutsTextStyled; import net.thevpc.nuts.runtime.standalone.workspace.NutsWorkspaceExt; import net....
package com.kcs.bubbles; import java.util.Random; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent.TimeUnit; import android.app.Activity; import android.content.Context; import android.graphics.Bitmap;...
package nl.tudelft.aidm.optimalgroups.dataset; import nl.tudelft.aidm.optimalgroups.model.GroupSizeConstraint; import nl.tudelft.aidm.optimalgroups.model.agent.Agent; import nl.tudelft.aidm.optimalgroups.model.agent.Agents; import nl.tudelft.aidm.optimalgroups.model.agent.SimpleAgent; import nl.tudelft.aidm.optimalgro...
package com.project.schoolsystem.data; import com.google.gson.Gson; import com.project.schoolsystem.data.models.PreferenceModel; import io.reactivex.Observable; import io.reactivex.subjects.BehaviorSubject; import javax.annotation.Nonnull; import java.io.File; import java.io.FileReader; import java.io.FileWriter; im...
/** * The MIT License * Copyright (c) 2014-2016 Ilkka Seppälä * <p> * 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 us...
// Created by plusminus on 00:37:01 - 19.12.2008 package org.osmdroid.mtp.adt; public class OSMTileInfo { // =========================================================== // Constants // =========================================================== private static final int POSITION_IN_PARENT_LEFT = 1; private static...
/* * The MIT License * * Copyright 2020 buddhika. * * 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...
package module1459_public.a; import java.util.logging.*; import java.util.zip.*; import javax.annotation.processing.*; /** * Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut * labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo ...
/* * 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 org.xrpl.xrpl4j.model.client.accounts; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import org.immutables.value.Value; import org.xrpl.xrpl4j.model.client.XrplResult; impor...
public class Preference { public String professor; public String roomChoice1; public String roomChoice2; public String timeSlotChoice1; public String timeSlotChoice2; public Preference(String professor, String roomChoice1, String roomChoice2, String timeSlotChoice1, String timeSlotChoice2) { ...
/* * Copyright 2018 Aleksander Jagiełł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 ag...
package au.com.retriever.playpen.ws.client.generated; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for im...
/* * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Softwa...
package com.codepath.apps.restclienttemplate.models; import android.text.format.DateUtils; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Locale; public class ParseRelativeData { public String getRelativeTimeAgo(String rawJsonDate) { String twitterFormat = "EEE MMM ...
/* * DBeaver - Universal Database Manager * Copyright (C) 2010-2019 Serge Rider (serge@jkiss.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/license...
/* * Vortex OpenSplice * * This software and documentation are Copyright 2006 to TO_YEAR ADLINK * Technology Limited, its affiliated companies and licensors. All rights * reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file e...
/* * Copyright 2015 Jett Marks * * 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 wr...
/* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ package org.elasticsearch.xpack.ml.integration; import org.apache....
/******************************************************************************* * Copyright (c) 1998, 2015 Oracle and/or its affiliates. All rights reserved. * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 and Eclipse Distribution License v. 1.0 ...
package com.vikas.nitkkr; import android.widget.*; import java.io.*; public class Notes implements Serializable { public String notes_title; public String notes_time; public String notes_description; public int notes_color; public Notes(String notes_title, String notes_time, String notes_description, int not...
package com.dozenx.game.math; /** * @Author: dozen.zhang * @Description: * @Date: Created in 16:40 2019/10/11 * @Modified By: */ /* * Copyright (c) 2009-2018 jMonkeyEngine * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that...
// automatically generated by the FlatBuffers compiler, do not modify package edu.vanderbilt.chuilian.types; import com.google.flatbuffers.FlatBufferBuilder; import com.google.flatbuffers.Table; import java.nio.ByteBuffer; import java.nio.ByteOrder; @SuppressWarnings("unused") public final class TypesChannelReport ...
/* * Copyright (c) 2015, Imperial College London * Copyright (c) 2015, The University of Edinburgh * 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 mus...
package mage.cards.l; import java.util.UUID; import mage.MageObject; import mage.abilities.Ability; import mage.abilities.common.SimpleStaticAbility; import mage.abilities.effects.PreventionEffectImpl; import mage.cards.Card; import mage.cards.CardImpl; import mage.cards.CardSetInfo; import mage.constants.CardType; im...
/* * Copyright (C) 2018 Zhejiang xiaominfo Technology CO.,LTD. * All rights reserved. * Official Web Site: http://www.xiaominfo.com. * Developer Web Site: http://open.xiaominfo.com. */ package com.github.xiaoymin.knife4j.spring.plugin; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import co...
package banks.frontend.telegram; import org.junit.Test; import static org.junit.Assert.*; import java.io.FileNotFoundException; import com.pengrad.telegrambot.TelegramBot; /** * Unit test for BanksUpdatesListener */ public class ConfigurationTest { @Test public void shouldLoadConfiguration() { try { ...
package io.choerodon.base.app.service; import java.util.Date; import java.util.List; import java.util.Map; import java.util.Set; import com.github.pagehelper.PageInfo; import io.choerodon.base.api.vo.BarLabelRotationVO; import org.springframework.data.domain.Pageable; import io.choerodon.base.infra.dto.ProjectDTO; ...
package com.uzm.common.controllers; import lombok.Getter; import lombok.Setter; /** * A complete and upgradable plugin for <strong>any</strong> use for any project.. * * @author JotaMPê (UzmStudio) * @version 2.0.6 */ @Getter @Setter public class LagController implements Runnable { private int tick; pr...
/** * This work is protected under copyrights held by the members of the * TOOP Project Consortium as indicated at * http://wiki.ds.unipi.gr/display/TOOP/Contributors * (c) 2018-2021. All rights reserved. * * This work is dual licensed under Apache License, Version 2.0 * and the EUPL 1.2. * * = = = = = = = = ...
package tools.descartes.teastore.kieker.probes.records; import kieker.common.record.IMonitoringRecord; /** * Interface in order to realize parameter logging with Kieker. * * @author Johannes Grohmann, Reiner Jung * * */ public interface IPayloadCharacterization extends IMonitoringRecord { /** * Getter...
/* * Encog(tm) Core v3.3 - Java Version * http://www.heatonresearch.com/encog/ * https://github.com/encog/encog-java-core * Copyright 2008-2014 Heaton Research, 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...
package pers.lonestar.pixelcanvas.adapter; import android.content.ClipData; import android.content.ClipboardManager; import android.content.DialogInterface; import android.content.Intent; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; impor...
package it.com.idalko.plugins.jira.customfields; import org.junit.Test; import org.junit.runner.RunWith; import static org.junit.Assert.*; import com.atlassian.jira.tests.TestBase; import com.atlassian.plugins.osgi.test.AtlassianPluginsTestRunner; @RunWith(AtlassianPluginsTestRunner.class) public class ParenthesesC...
// Copyright 2017-2019, Schlumberger // // 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 agree...
copyright comp osent composent rights reserved program accompanying materials terms eclipse license accompanies distribution http eclipse org legal epl html contributors comp osent composent initial api implementation org eclipse ecf internal provider file transfer filetransfer scp org eclipse osgi util nls messages nl...
/* * Copyright (c) Facebook, Inc. and its affiliates. * * 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 org.batfish.representation.juniper; public class JunosApplicationSetReference extends ApplicationSetMemberReference { /** */ private static final long serialVersionUID = 1L; private JunosApplicationSet _junosApplicationSet; public JunosApplicationSetReference(JunosApplicationSet junosApplicationSet)...
package com.roclas.mojo.unix.maven.plugin; /* * The MIT License * * Copyright 2009 The Codehaus. * * 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 witho...
package kafka_operators; import entity.CommentTuple; import entity.CommentTupleByUser; import org.apache.kafka.streams.kstream.Aggregator; import org.apache.kafka.streams.kstream.Windowed; import utils.SerializerAny; public class Query3Depth1And3MergeAggregator implements Aggregator<Long, byte[], byte[]> { @Override...
package io.vpv.saml.metadata.model; import lombok.Builder; import lombok.Getter; import lombok.Setter; import lombok.ToString; @Getter @Setter @ToString @Builder public class ApplicationServiceEndpoint { public EndpointReference endpointReference; }
package com.cn.receiver; import com.cn.sava.MusicNum; import com.example.musiclist.MusicService; import android.app.Service; import android.content.Intent; import android.os.IBinder; public class WidgetNextService extends Service { @Override public IBinder onBind(Intent arg0) { return null; } @Override publi...
/* * Kubernetes * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1.15.6 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do no...
/* * Copyright (C) 2012 DataStax 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 applicab...
package gigadot.chom.chem.info.alias; import gigadot.chom.chem.structure.Structure; import gigadot.chom.chem.info.ThermoInfo; import gigadot.chom.chem.info.VibrationInfo; import gigadot.chom.compchem.info.ComputedInfo; import gigadot.chom.compchem.info.MolecularInfo; /** * should be moved if possible but doesn't see...
/* * Apache License * Version 2.0, January 2004 * http://www.apache.org/licenses/ * * Copyright 2013 Aurelian Tutuianu * Copyright 2014 Aurelian Tutuianu * Copyright 2015 Aurelian Tutuianu * Copyright 2016 Aurelian Tutuianu * Copyright 2017 Aurelian Tutuianu * Copyright 2018 Aurelian Tutuian...
package io.github.infobip_community.client.channels.email.model.response; public final class Message { private Integer messageCount; private String messageId; private SendStatus status; private String to; public Message() {} public Integer getMessageCount() { return messageCount; ...
/* * Copyright (C) 2017 AlexMofer * * 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 ...
/* * Copyright 2002-2017 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...
/** * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved. */ package com.thinkgem.jeesite.modules.personnel.dao; import com.thinkgem.jeesite.common.persistence.CrudDao; import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao; import com.thinkgem.jees...
/** * 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.spun.util.servlets; public interface SynchronizedServlet extends Runnable { /***********************************************************************/ /** * This should run the servlet. when it is completed, it should make a call * back to ServletSynchronizer.servletFinished(key, result) * @se...
/** * Copyright 2018 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...
/** * Created by vswamy on 4/22/16. * Class to handle all bit operations! */ package net.vswamy.hlib; public enum BitHandler { INSTANCE; public int countBits(int n) { int count = 0; while(n > 0) { count += n % 2; n = n / 2; } return coun...
/* * Copyright 2012 The Bitcoin Developers * Copyright 2012 Matt Corallo * Copyright 2015 Andreas Schildbach * * 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....
/* * Copyright (c) 2022, Peter Abeles. All Rights Reserved. * * This file is part of BoofCV (http://boofcv.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.apac...
// Copyright 2018 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. package org.chromium.jni_generator; import com.google.auto.service.AutoService; import com.google.common.base.Charsets; import com.google.common.collect....
/** * Copyright (C) FuseSource, Inc. * http://fusesource.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 required by...
package com.cyl.musiclake.player; import android.app.Notification; import android.app.NotificationChannel; import android.app.NotificationManager; import android.app.PendingIntent; import android.app.Service; import android.bluetooth.BluetoothAdapter; import android.bluetooth.BluetoothHeadset; import android.bluetooth...
package com.codepath.apps.finch.util; import android.support.v7.widget.RecyclerView; import android.view.View; import com.codepath.apps.finch.R; /** * Created by nathansass on 8/5/16. */ /* Source: http://www.littlerobots.nl/blog/Handle-Android-RecyclerView-Clicks/ USAGE: ItemClickSupport.addTo(mRecyclerVi...
package annotations; import java.util.*; @ValuesAnnotation( byteValue = 1, charValue = 'A', booleanValue = true, intValue = 1, shortValue = 1, longValue = 1L, floatValue = 1.0f, doubleValue = 1.0d, stringValue = "A", enumValue = ValuesEnum.ONE, annotationValue = @ValueAttrAnnotation( "annotatio...
package cn.wearbbs.music.ui; import android.view.MotionEvent; import android.view.VelocityTracker; import androidx.appcompat.app.AppCompatActivity; /** * 支持滑动返回 * 继承该Activity则支持滑动返回 */ public class SlideBackActivity extends AppCompatActivity { //手指上下滑动时的最小速度 private static final int YSPEED_MIN = 1000; ...
package com.github.jaychenfe.pojo.vo; import java.util.Date; /** * 用于展示商品评价的VO * @author jaychenfe */ public class ItemCommentVO { private Integer commentLevel; private String content; private String specName; private Date createdTime; private String userFace; private String nickname; ...
/** * 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 * distrib...
/* * 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 under t...
package com.study.chapter5.abstractClasses; public abstract class Person { public abstract String getDescription(); private String name; public Person(String name){ this.name = name; } public String getName(){ return name; } }
/* * * 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...
/* * 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.google.devrel.training.conference.domain; /** * A simple wrapper for announcement message. */ public class Announcement { private String message; public Announcement() {} public Announcement(String message) { this.message = message; } public String getMessage() { r...
/* * Copyright (c) 2019 Evolveum and contributors * * This work is dual-licensed under the Apache License 2.0 * and European Union Public License. See LICENSE file for details. */ package com.evolveum.midpoint.test.asserter; import com.evolveum.midpoint.prism.PrismObject; import com.evolveum.midpoint.prism.query....
/* * 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 ...
/* * eGov SmartCity eGovernance suite aims to improve the internal efficiency,transparency, * accountability and the service delivery of the government organizations. * * Copyright (C) 2017 eGovernments Foundation * * The updated version of eGov suite of products as by eGovernments Foundation * ...
/* * Copyright 2016 Netflix, 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...
package io.github.tuannh982.spring.boot.arch.router.rest.response; import lombok.AllArgsConstructor; import lombok.Getter; @Getter @AllArgsConstructor public enum BaseResponseStatusCode implements ResponseStatusCode { SUCCESS("00", 200); // --------------------------------------------------------------------...
package org.testar.statemodel.persistence.orientdb.hydrator; import com.orientechnologies.orient.core.metadata.schema.OType; import org.testar.statemodel.exceptions.HydrationException; import org.testar.statemodel.persistence.orientdb.entity.Property; import org.testar.statemodel.persistence.orientdb.entity.PropertyVa...
/* * Copyright (c) 2021 SAP SE or an SAP affiliate company and XSK contributors * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Apache License, v2.0 * which accompanies this distribution, and is available at * http://www.apache.org/licenses/LICENSE-...
package cn.ken.android.wanandroid.core.bean.main.banner; /** * @author kent * @date 2018/3/2 */ public class BannerData { private int id; private String url; private String imagePath; private String title; private String desc; private int isVisible; private int order; private int t...
package com.example.opencvpractice; import android.Manifest; import android.content.Context; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Bitmap; import android.net.Uri; import android.os.Build; import android.provider.ContactsContract; import android.support.annotat...
// This file has been automatically generated, DO NOT EDIT package org.apache.lucene.util.packed; /* * 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. * ...
/* * Copyright 2021 EPAM Systems, Inc * * See the NOTICE file distributed with this work for additional information * regarding copyright ownership. 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 Li...
package com.nextBook.controller;import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import javax.servlet.RequestDispatcher; @WebS...
/* * 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 panelsalmple.triangle; /** * * @author giuliobosco */ public class TriangleFrame extends javax.swing.JFrame { /** ...
package com.secuxtech.paymentdevicekit; //import androidx.annotation.IntDef; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; /* enum ConnDevStatus : Int{ case BLEOff = 0 case ConnFailed case FindServiceFailed case FindCharacteristicsFailed case ConnDone c...
package org.ovirt.engine.core.common.action; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; import org.ovirt.engine.core.compat.Guid; @XmlAccessorType(XmlAccessType.NONE) @XmlType...
package com.siondream.superjumper.desktop; import com.badlogic.gdx.backends.lwjgl.LwjglApplication; import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration; import com.siondream.superjumper.SuperJumper; public class DesktopLauncher { public static void main (String[] arg) { LwjglApplicationConfigurati...
package com.kiba.bottomnavigation.entity; import android.content.Context; import android.util.AttributeSet; import android.widget.TextView; /** * Created by KiBa-PC on 2016/8/9. */ public class BadgeView extends TextView { public BadgeView(Context context) { super(context); } public BadgeView(...
package com.example.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.web.builders.H...
package org.ocpsoft.prettytime.i18n; import java.lang.reflect.Array; import java.util.ListResourceBundle; import org.ocpsoft.prettytime.Duration; import org.ocpsoft.prettytime.TimeFormat; import org.ocpsoft.prettytime.TimeUnit; import org.ocpsoft.prettytime.impl.TimeFormatProvider; import org.ocpsoft.prettytime.units....
package niu.study.thread.JUC.threadlocal; import niu.study.thread.Stream.User; /** * ThreadLocal用法2:每个线程内需要保存全局变量(例如在拦截器中获取用户信息),可以让不用方法直接使用,避免参数传递的麻烦。 * @author NIU * @createTime 2020/7/31 14:36 */ public class ThreadLocalNormalUsage2 { public static void main(String[] args) { new Service1().process(...
package br.com.u2d.nfe.schema_4.consStatServ; import javax.xml.bind.JAXBElement; import javax.xml.bind.annotation.XmlElementDecl; import javax.xml.bind.annotation.XmlRegistry; import javax.xml.namespace.QName; /** * This object contains factory methods for each * Java content interface and Java element interface ...
package com.segway.robot.algo.algo_app; import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; import android.content.IntentFilter; /** * Created by ark338 on 2016/11/17. * Receive top touch event */ public class EventReceiver extends BroadcastReceiver { // TOD...
package io.tenmax.cqlkit; import com.datastax.driver.core.*; import org.apache.commons.cli.CommandLine; import org.apache.commons.configuration.HierarchicalINIConfiguration; import org.apache.commons.configuration.SubnodeConfiguration; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.util.Optional...
package com.feiqu.system.model; import java.util.Date; public class JobTalk { private Integer id; private Integer userId; private String title; private Date createTime; private Integer delFlag; private Integer commentCount; private String content; public Integer getId() { ...
package assimp.importer.blender; /** The only purpose of this structure is to feed a virtual dtor into its * descendents. It serves as base class for all data structure fields. */ class ElemBase { /** Type name of the element. The type <p> * string points is the `c_str` of the `name` attribute of the * corres...
package com.example.beerlovers.view.activities; import android.content.Intent; import android.graphics.drawable.ColorDrawable; import android.support.test.rule.ActivityTestRule; import android.support.test.runner.AndroidJUnit4; import android.view.View; import com.example.beerlovers.R; import com.example.beerlovers....
/** * Created by MomoLuaNative. * Copyright (c) 2020, Momo Group. All rights reserved. * * This source code is licensed under the MIT. * For the full copyright and license information,please view the LICENSE file in the root directory of this source tree. */ package com.immomo.mls.fun.ui; import android.view.Vie...
package com.github.poad.examples.java.webapps.domain; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class Message { @XmlElement private String id; @XmlElement private String message; public String getId() { return id; ...
package asxm3b2_eac6p2_martorell_a; import java.io.IOException; /** * * @author jmartorell */ public class EAC6 { /** * Variables globals corresponents als missatges que es mostren per pantalla */ static final String MISSATGE_TRII_OPCIO = "Triï una opció"; static final String MISSATGE_ERROR_O...
package it.vige.labs.gc.bean.votingpapers; import org.bson.Document; public class Identifier extends Document { public String getName() { return this.getString("name"); } public void setName(String name) { this.put("name", name); } }
package com.redislabs; import java.io.ByteArrayInputStream; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.net.URLStreamHandler; import java.nio.charset.StandardC...